Squirrelmail problem after PHP update

webaltern

Verified User
Joined
Feb 10, 2008
Messages
175
Location
Québec, Canada
Hello,

yesterday I have passed PHP from suphp to fastcgi.. Since this upgrade I got the following error with squirrelmail:

Error opening /var/www/html/squirrelmail/data/default_pref
Could not create initial preference file!
/var/www/html/squirrelmail/data/ should be writable by user XXXXXXXX
Please contact your system administrator and report this error.

since /var/www/html/squirrelmail/data/ is owned by webapps and not by the user, I don't know how to solve this problem...
 
fastcgi should still be executing everything as the user.

Try:

Code:
cd /usr/local/directadmin/custombuild
./build update
./build clean
./build rewrite_confs
 
Hello,

I finaly solved my problem by modifying our custombuild options.conf file to:

use_hostname_for_alias=yes

and after

./build rewrite_confs

this way the request for squirrelmail is not excuted by the user anymore and squirrelmail works again...

Hope this will help someone :)
 
Back
Top