Adsense
Popular Posts
- Code update from PHP 7.4 to PHP 8.1 - PhpSpreadsheet
- MySQL workbench -"Could not decrypt password cache"
- Code update from PHP 7.4 to PHP 8.1 - Worksheet/Iterator.php
- Rendering HTML tags inside textarea
- axios handle blob type data
- Unix Utils and wget in Windows
- increase mysql query speed
- Setup vi syntax for PHP
- EXCEL return to the next line in the same cell
- Get WAMP running on EC2
Thursday, June 12, 2014
PHP mail.log directory permission
Redhat
In php.ini, set
mail.log = /var/log/mail/mail.log
create directory /var/log/mail/
sudo mkdir /var/log/mail/
touch /var/log/mail/mail.log
change mail folder owner to apache
sudo chown -R apache /var/log/mail
sudo chmod 755 /var/log/mail/mail.log
httpd log
sudo vi /var/log/httpd/error_log
sudo vi /var/log/httpd/access_log
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment