Questions about new feautre httpd.conf tempates dynamic based on httpd.conf contents

pkilam

Verified User
Joined
Oct 27, 2004
Messages
116
I have been using suphp on my server for a period of time. However, after I upgraded to directadmin version 1.31, there are problem with newly created account.

According to http://www.directadmin.com/features.php?id=820

I can set SUPHP=1 by adding "suPHP_Engine on" to /etc/httpd/conf/extra/httpd-suphp.conf

and set CLI=1 by adding "AddHandler application/x-httpd-php" to
/etc/httpd/conf/extra/httpd-php-handlers.conf

I have tried to add an empty "/etc/httpd/conf/extra/httpd-php-handlers.conf", but the section :

**************************************
php_admin_flag engine |PHP|
<IfModule !mod_php6.c>
php_admin_flag safe_mode |SAFE_MODE|
</IfModule>
php_admin_value sendmail_path '/usr/sbin/sendmail -t -i -f |USER|@|DOMAIN|'
***********************************************

is always added to the user httpd.conf file no matter whether the /etc/httpd/conf/extra/httpd-php-handlers.conf is empty or doesn't exist...

How can I force CLI=0 so that those php cli config will not be added to the user httpd cofig. file?

thanks
 
Back
Top