Apache suphp not worcking php_value and php_flag

MR-GEORGIA

Active Member
Feb 3, 2013
42
0
6
cPanel Access Level
Root Administrator
Welcome. If you can help. I want to work properly. Htaccess lead. But if apache runs as "suphp", it does not work php_value. Please Help me. How to Enable ? ? ?
 

MR-GEORGIA

Active Member
Feb 3, 2013
42
0
6
cPanel Access Level
Root Administrator
I want my server to work as a "suphp". But here is the problem. It does not work "php_value and php_flag". How can I do so that it will work? I do not want to "dso"
 

Infopro

Well-Known Member
May 20, 2003
17,113
507
613
Pennsylvania
cPanel Access Level
Root Administrator
Twitter
I want my server to work as a "suphp". But here is the problem. It does not work "php_value and php_flag". How can I do so that it will work? I do not want to "dso"

You didn't read the post at all, did you? Let me quote one piece of it to help a bit more:

....

Any custom PHP configuration directives in a .htaccess file need to be placed in a custom php.ini file when suPHP is used. To do this, copy /usr/local/lib/php.ini to the directory that needs the custom options, and edit that local php.ini file. Also note that the custom php.ini file only applies to the directory in which it is located. Custom php.ini files do not apply to subdirectories of the directory that contains the php.ini file, unless the subdirectories also contain their own custom php.ini files.
...

HTH!