In falcosThe perfect-server howto it is told to install not the apache2-mpm-worker but the standard apache2-mpm-prefork modul. I'm not shure but the apache2-mpm-worker mode should give the best performace using fcgi. So if the ISPconfig admin is only handling with fcgi for php he should install apache2-mpm-worker. Right?
Hm, I just tried it but after installing the apache worker modul the php_admin_value, used by ISPConfig to configure the vhost, does'nt work anymore :-( Any work arounds for that php_admin_value to hold the vhost config of ISPConfig?
/var/www/php-fcgi-scripts/webXX/.php-fcgi-starter is where you can control the php settings of your virutal host I have not tested myself what vars you can change but I would assume that there are no limits in here PHPRC="/etc/php5/cgi/" would make it possible to point to a different php.ini by the way, ispconfig set this that i would comment out # PHP_FCGI_CHILDREN=4 # export PHP_FCGI_CHILDREN this was perhaps good with mod_fastcgi but is realy bad with mod_fcgid that can not make any useful use of this and that actualy leaves you with some php zombies that pile up with time consider changing the lines in ispconfig default for future vhosts ISPconfig > System > Edit Server find the line fastcgi_children and set it to 1 fastcgi_children=1 Hope this can help you
@cantoute. You seem to use a old ispconfig version, the current ISPConfig versions do not set PHP_FCGI_CHILDREN anymore. I recommend thyt you update your server.
If I install the apache worker module mod_php will be deinstalled from the server. Everything seems to be ok but the ISPConfig webinterface leading to squirrelmail show an internal server error without mod_php. I don't unterstand why. ?
Looks as if you tried to access webmail and not ispconfig. The error occurs because the squirrelmail install is not within the apache docroot. When you use fcgi with suexec, you can not use the squirrelmail package from the linux distribution anymore as it is in the wrong location. I recommend that you create a new website in ispconfig e.g. webmail.yourdomain.com and then install a webmail application of your choice within this website.
The reason is the same then with webmail and you can use the same solution that I proposed for webmail for phpmyadmin too. I have no idea why the linux distributions compile a different web root into the apache package then tehy use for their webbased applications, does not make much sense, but we cant change it so we have to live with it and work around it by installing the nescessary applications within the apache docroot (a subfolder of /var/www) where ispconfig also stores its website for exact this reason.
Thats realy not nice with the diffrent web roots... What do you think of putting that to mod_fcgid as shown here
Do you have an install instruction to install webmail in an sussex and fastcgi environment? I tried cp /usr/share/squirrelmail/ to the webroot with www-data ore user as owner but there is no access.
Copying the files from the debian install will not work as the debian setup uses also files in other directories (like /etc) which are not in the docroot too. I installed it on my server with these steps: 1) Create a nwe website. 2) Go to the website directory with ssh, then download the squirrelmail tar.gz file with wget. 3) Unpack the tar.gz file and chown the files to the website user and group. 4) Then follow the installation instructions from the squirrelmail project to configure squirrelmail.