Thank you very much for the tip stating that I should change the owner of the squirrelmail directory and related directories like /var/spool/squirrelmail , now I have a working suphp with 600+ hosts using it. Just the writable directory check is worth its weight in gold.
In a PLESK environment, I failed to discover which ini file, if any, is read by the /usr/bin/php-cgi. "Regular" php uses /etc/php.ini, but not the php-cgi. It is definitely not the /etc/php.ini, nor apparently any other file on the system. I did a workaround for this: I created a /usr/bin/php-tk , which consists of: #!/bin/bash /usr/bin/php-cgi -c /etc/ $1 $2 $3 $4 $5 ....so it's a two liner just to specify the path of the php.d and php.ini files. To get suphp to use this code, I put this into /etc/suphp.conf: [handlers] ;Handler for php-scripts x-httpd-php=php\:/usr/bin/php-tk application/x-httpd-php=php\:/usr/bin/php-tk One remaining goal is to speed up the php scripts.. I tried to use Zend+SuPHP+Eaccelerator at the same time. Currently it gives me a "zend is not compatible with eaccelerator" error, apparently even if I move the [Zend] block and the eaccelerator stuff in the php.ini.. If anyone has experience with eaccelerator+Zend+suphp, I'd love to hear it. Regards, -turgut _______________________________________________ suPHP mailing list [email protected] https://lists.marsching.com/mailman/listinfo/suphp
