Adsense
Popular Posts
- jQuery autocomplete scroll bar for dropdown menu
- JavaScript Arrays and Associate Arrays
- mod_auth_cas.so error: undefined symbol: SSL_connect
- Design date and signature box in Latex
- Install APXS in Redhat Linux
- JavaScript, remove trailing insignificant zeros after toFixed function
- jQuery, toggle the display
- Difference between state and props in React
- Set Windows path command line
- super(props) in React
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