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!

php problem

Discussion in 'General Discussion' started by sniperscope, May 19, 2011.

  1. sniperscope

    sniperscope Well-Known Member

    Joined:
    Apr 5, 2011
    Messages:
    118
    Likes Received:
    0
    Trophy Points:
    66
    Location:
    osaka/ japan
    cPanel Access Level:
    Website Owner
    recently i added one(more) client into my server but somehow when i visit his page i can see entire php source code even mysql username and password... etc.
    Why server works at it should be with other clients but forcing download php files instead of display output?
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,521
    Likes Received:
    1,964
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello :)

    Do you notice anything out of the ordinary in the .htaccess file within the account's public_html directory?

    Also, do you get the same result when uploading a PHPINFO file? You can test this by creating a PHP file with the following contents:

    Code:
    <?php phpinfo(); ?>
    If you are able to open a support ticket for this, we can investigate further to determine the exact cause:

    Submit A Ticket

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

    sniperscope Well-Known Member

    Joined:
    Apr 5, 2011
    Messages:
    118
    Likes Received:
    0
    Trophy Points:
    66
    Location:
    osaka/ japan
    cPanel Access Level:
    Website Owner
    Dear Michael

    Thanks for assistance. Problem solved. As you said problem was with .htaccess file so i removed it and works like charm...

    Thanks again.
     
Loading...

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