i want to force all handler to use same php.ini in easyapache4 and prevent suPHP_ConfigPath in htaccess
so i uncomment the following line in /etc/suphp.conf:
application/x-httpd-ea-php56=/opt/cpanel/ea-php56/root/etc
but still able to use suPHP_ConfigPath in htaccess to override php.ini
then i try to change it to :
application/x-httpd-ea-php56=/opt/cpanel/ea-php56/root/etc/php.d/local.ini
it can work but error:
PHP Fatal error: Call to undefined function mysql_connect()
so how to prevent use override default php.ini by using suPHP_ConfigPath in htaccess?
so i uncomment the following line in /etc/suphp.conf:
application/x-httpd-ea-php56=/opt/cpanel/ea-php56/root/etc
but still able to use suPHP_ConfigPath in htaccess to override php.ini
then i try to change it to :
application/x-httpd-ea-php56=/opt/cpanel/ea-php56/root/etc/php.d/local.ini
it can work but error:
PHP Fatal error: Call to undefined function mysql_connect()
so how to prevent use override default php.ini by using suPHP_ConfigPath in htaccess?