Quote:
Originally Posted by till
After you changed this line, you must modify a avlue in one of your websites to let ISPConfig rewrite your configuration files.
My answer is still the same and yes, I know that is is fixed and working
This has already been fixed many releases ago. You will just have to change the line from:
$go_info["server"]["apache2_php"] = 'both'; // one string of one or more comma seperated options: 'filter' = set PHP filters, 'addtype' = Set PHP addtype, 'both' = Set Filter + Addtype, 'engine' = Use "php_admin_flag engine on/off", suphp = SuPHP wrapper enabled, 'addhandler' = Set PHP AddHandler (nescessary for SuSE 10.2)
to:
$go_info["server"]["apache2_php"] = 'addtype'; // one string of one or more comma seperated options: 'filter' = set PHP filters, 'addtype' = Set PHP addtype, 'both' = Set Filter + Addtype, 'engine' = Use "php_admin_flag engine on/off", suphp = SuPHP wrapper enabled, 'addhandler' = Set PHP AddHandler (nescessary for SuSE 10.2)
in the file /home/admispconfig/ispconfig/lib/config.inc.php
|
Well, got this in my apache2.log:
Code:
[Wed Jul 30 20:27:46 2008] [error] an unknown filter was not added: PHP
[Wed Jul 30 20:27:46 2008] [error] an unknown filter was not added: PHP
So I thought might be a good idea to give it a try and change the value from both to addtype (Apache2 with PHP5 from the PerfectDebian Etch Setup with ISPConfig 2.2.24). then I changed a web-value and ISPConfig did a graceful restart. After this my log shows:
Code:
[Wed Jul 30 21:44:33 2008] [notice] Graceful restart requested, doing restart
[Wed Jul 30 21:44:34 2008] [notice] Apache/2.2.3 (Debian) PHP/5.2.0-8+etch11 mod_ruby/1.2.6 Ruby/1.8.5(2006-08-25) mod_ssl/2.2.3 OpenSSL/0.9.8c configured -- resuming normal operations
[Wed Jul 30 21:44:34 2008] [warn] long lost child came home! (pid 3078)
[Wed Jul 30 21:44:34 2008] [error] (9)Bad file descriptor: apr_socket_accept: (client socket)
As I found in another post this belongs to the graceful restart thats not working 100% in apache2 ? Or might I have to look somewhere else because this might be an serious error?