Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Strange problem with a account handling php files on folders

Discussion in 'General Discussion' started by tui, Nov 14, 2014.

  1. tui

    tui Well-Known Member

    Jun 15, 2007
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    Hello all,

    Today a client contacted me because he has a strange problem in his account, he has a website with php files, everything works fine if he calls his files or just point to his website directly like, or however if he create a folder and place php files on it is impossible to navigate to the php files, instead of displaying the websites the php file start download immediately but its only in subdirs/folders like

    I check his .htaccess file and is fine, however i deleted it and the problem persist, there is no .htaccess inside the folders, i already restart apache and the same occurs; i checked with other accounts on the server and the others accounts work fine, the only problematic account is this.

    Do any of you have had a similar problem?

  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Apr 11, 2011
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    Hello :)

    Do you notice any error messages in /usr/local/apache/logs/error_log when this happens? Are there any custom php.ini files within these directories? Also, check to ensure no additional .htaccess files are located in the account's home directory.

    Thank you.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice