The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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:
    16
    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 Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    653
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
  3. sniperscope

    sniperscope Well-Known Member

    Joined:
    Apr 5, 2011
    Messages:
    118
    Likes Received:
    0
    Trophy Points:
    16
    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