After php safe mode turn on webmail's not working.

evolver

Verified User
Joined
Mar 11, 2006
Messages
44
Hello ,

I was turn on php safe mode in php.ini but now Webmail's not working.

When I was try login to webmail on http://www.domain.com/webmail I got this error ;

--------------------------------------------------------------------------------
ERROR (512): Smarty error: problem creating directory "tmp/_cached_templates" (/var/www/html/webmail/smarty/Smarty.class.php:589)
--------------------------------------------------------------------------------

Note: Squirrelmail is not working too.

Please inform me How can I solve this problem ?

Thank you.
 
You need edit the httpd.conf and in the vhost of /var/www/html set the safe mode to off.
 
Hi
I have same problem exactly,But teher is no httpd.conf on: /var/www/html
My php version:PHP Version 4.4.4
Kernel:2.6.9-42.0.2.EL
register_globals= Off
safe_mode: Local Value=off Master Value=On

Web mail is on http://x.x.x.x/webmail
Error: ERROR (512): Smarty error: problem creating directory "tmp/_cached_templates" (/webmail/smarty/Smarty.class.php:589)

Please help.
 
look for httpd.conf in:
Code:
/etc/httpd/conf
if you are on a CentOS / Redhat box. You can also do type:
Code:
locate httpd.conf
from command line to find out where it is located on your server.
 
Back
Top