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.

Can regular cpanel users access php.ini?

Discussion in 'General Discussion' started by ejoa, Aug 9, 2003.

  1. ejoa

    ejoa Member

    Joined:
    Sep 1, 2002
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Can a regular user edit php.ini from cpanel? Thanks

    cPanel.net Support Ticket Number:
     
  2. mmkassem

    mmkassem Well-Known Member

    Joined:
    Oct 21, 2002
    Messages:
    390
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Egypt
    No but they might be able to read it.
    If you have phpsuexec enabled then each user can create his own php.ini

    cPanel.net Support Ticket Number:
     
  3. ejoa

    ejoa Member

    Joined:
    Sep 1, 2002
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    thanks for the quick reply.

    Are there any dangers if I enable phpsuexec?

    cPanel.net Support Ticket Number:
     
  4. mmkassem

    mmkassem Well-Known Member

    Joined:
    Oct 21, 2002
    Messages:
    390
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Egypt
    No, phpsuexec is used to run php as CGI and run the php files by the user instead of nobody which makes the server more secure.

    But there are different permissions (chmod) you need to know about before using it. Search this forum for more information.

    cPanel.net Support Ticket Number:
     
Loading...

Share This Page