Chmod 1777 tmp and checked php.ini and tested small file 2kb
but I have error : Error Upload FIle
and abour web mail and squirrelmail I can not Login to this mail clients
for webmail recive This error:
ERROR (512): Smarty error: problem writing './tmp/_cached_templates/clean/login.htm.php.' (/var/www/html/webmail/smarty/Smarty.class.php:589)
and squirrelmail:
Preference file, /var/www/html/squirrelmail/data/[email protected], could not be copied from temporary file, /var/www/html/squirrelmail/data/[email protected]. Contact your system administrator to resolve this issue.
cd /usr/local/directadmin/custombuild
./build roundcube
./build squirrelmail
if that doesn't work, check your php.ini. There is an option called "disable_functions". If it has any values, try clearing them out so disable_functions is blank. Restart apache and try again. If that works, then it might have been 'overly' secure.. Doing "./build secure_php" should give you a good balance for that function.
Understand my problem is just for Disable_functions how can I enable php functions just at /var/www/html/squirrelmail
"./build secure_php" is'nt secure at my case
pleas Say me how can I enable php functions just for /var/www/html/squirrelmail folder
I think /etc/httpd/conf/httpd.conf can help Us
pleas Help me
From what I recall, disable_functions is not a per-virtualhost option. It's a one-time global option, so if you're running CLI php (default), you must decide what you need in the /usr/local/lib/php.ini
However, if you're running suPhp, then you can use per-user php.ini files and specify whatever you want.