Hello, i am running Apache/2.4.12 with PHP Version 5.3.29 as FPM/FastCGI.
From Directadmin Admin Panel -> Custom HTTPD Configurations
I added this line to Custom HTTPD Configurations section for one account.
checked /usr/local/directadmin/data/users/useraccount/httpd.conf and it does contain the line.
From Custom HTTPD Configurations, Clicked on link (php-fpm 5.3) next to user account and added this line in custom1 section
Checked /usr/local/directadmin/data/users/useraccount/php/php-fpm53.conf.custom1
and it does contain the above line.
Restarted apache, and its not parsing the user php.ini file at all.
This is from phpinfo()
Anything that i am missing to enable scanning of user ini files.
Thanks
From Directadmin Admin Panel -> Custom HTTPD Configurations
I added this line to Custom HTTPD Configurations section for one account.
Code:
SetEnv PHP_INI_SCAN_DIR /usr/local/directadmin/data/users/|USER|/php/
checked /usr/local/directadmin/data/users/useraccount/httpd.conf and it does contain the line.
Code:
<VirtualHost xxx.xxx.xx.xxx:80 >
SetEnv PHP_INI_SCAN_DIR /usr/local/directadmin/data/users/useraccount/php/
From Custom HTTPD Configurations, Clicked on link (php-fpm 5.3) next to user account and added this line in custom1 section
Code:
php_value[short_open_tag] = On
Checked /usr/local/directadmin/data/users/useraccount/php/php-fpm53.conf.custom1
and it does contain the above line.
Restarted apache, and its not parsing the user php.ini file at all.
This is from phpinfo()
Configuration File (php.ini) Path /usr/local/php53/lib
Loaded Configuration File /usr/local/php53/lib/php.ini
Scan this dir for additional .ini files /usr/local/php53/lib/php.conf.d
Additional .ini files parsed /usr/local/php53/lib/php.conf.d/10-directadmin.ini, /usr/local/php53/lib/php.conf.d/50-webapps.ini
Anything that i am missing to enable scanning of user ini files.
Thanks