Hi
I'm trying to get custom php.ini to work using .htaccess and read various threads in the form but couldnt get it to work
I use EA4/Apache 2.4/PHP56
in .htaccess I added:
------------
<IfModule mod_suphp.c>
suPHP_ConfigPath /home/user/public_html
</IfModule>
<Files php.ini>
order allow,deny
deny from all
</Files>
SetEnv PHPRC /home/user/php.ini
--------------
result of /usr/local/cpanel/bin/rebuild_phpconf --current:
DEFAULT PHP: ea-php56
ea-php56 SAPI: suphp
Thanks.
I'm trying to get custom php.ini to work using .htaccess and read various threads in the form but couldnt get it to work
I use EA4/Apache 2.4/PHP56
in .htaccess I added:
------------
<IfModule mod_suphp.c>
suPHP_ConfigPath /home/user/public_html
</IfModule>
<Files php.ini>
order allow,deny
deny from all
</Files>
SetEnv PHPRC /home/user/php.ini
--------------
result of /usr/local/cpanel/bin/rebuild_phpconf --current:
DEFAULT PHP: ea-php56
ea-php56 SAPI: suphp
Thanks.