Hello,
Old config:
Custombuild 1.2
Apache 2.2 + mod_ruid2
PHP 5.4
New config:
Custombuild 2.0
Apache 2.4
PHP 5.4 FPM
I did
./build update && ./build apache && ./build php n && ./build rewrite_confs and echo "action=rewrite&value=httpd" >> /usr/local/directadmin/data/task.queue
Everything was OK but Apache cannot start because:
"Invalid command 'php_admin_flag', perhaps misspelled or defined by a module not included in the server configuration"
I see old entries in file /usr/local/directadmin/data/users/$user/httpd.conf which include "if module ruid.." and php_admin_value and _flag.. It look like that Directadmin don't rewrite this file..
When I comment entries with # Apache start but PHP don't work.
echo "action=rewrite&value=httpd" >> /usr/local/directadmin/data/task.queue command not change entries in file.
Directadmin is newest.
How I can force rewrite user httpd.conf to work with PHP-FPM?
Old config:
Custombuild 1.2
Apache 2.2 + mod_ruid2
PHP 5.4
New config:
Custombuild 2.0
Apache 2.4
PHP 5.4 FPM
I did
./build update && ./build apache && ./build php n && ./build rewrite_confs and echo "action=rewrite&value=httpd" >> /usr/local/directadmin/data/task.queue
Everything was OK but Apache cannot start because:
"Invalid command 'php_admin_flag', perhaps misspelled or defined by a module not included in the server configuration"
I see old entries in file /usr/local/directadmin/data/users/$user/httpd.conf which include "if module ruid.." and php_admin_value and _flag.. It look like that Directadmin don't rewrite this file..
When I comment entries with # Apache start but PHP don't work.
echo "action=rewrite&value=httpd" >> /usr/local/directadmin/data/task.queue command not change entries in file.
Directadmin is newest.
How I can force rewrite user httpd.conf to work with PHP-FPM?