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.

Hello php.ini does not work with accounts in the directory public_html. can solve the

Discussion in 'General Discussion' started by sandi123, May 25, 2009.

  1. sandi123

    sandi123 Member

    Joined:
    Mar 17, 2009
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Hello php.ini does not work with accounts in the directory public_html. can solve the problem
     
  2. JPC-Shaun

    JPC-Shaun Well-Known Member

    Joined:
    Oct 29, 2008
    Messages:
    49
    Likes Received:
    0
    Trophy Points:
    6
    Hi;

    Make sure you are NOT running PHP as an APACHE module , if its DSO then php.ini won't work (customized) and php parameters need to be changed in .htaccess file.
     
  3. thewebhosting

    thewebhosting Well-Known Member

    Joined:
    May 9, 2008
    Messages:
    1,201
    Likes Received:
    1
    Trophy Points:
    38
    Could you please be more specific about your issue? are you not able to run php files or not able to override the php.ini values through .htaccess?
     
  4. sandi123

    sandi123 Member

    Joined:
    Mar 17, 2009
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    I use fastcgi
     
  5. thewebhosting

    thewebhosting Well-Known Member

    Joined:
    May 9, 2008
    Messages:
    1,201
    Likes Received:
    1
    Trophy Points:
    38
    Do you want to ovveride some values php.ini file in your .htaccess file? if yes then I would advise to use mod_suphp module. It works fine.
     
Loading...

Share This Page