Adsense
Popular Posts
- MySQL workbench -"Could not decrypt password cache"
- Install APXS in Redhat Linux
- react-pdf, display pdf in react.js
- Transfer modules between sites
- JavaScript, remove trailing insignificant zeros after toFixed function
- Set Windows path command line
- datatable order by nunmeric
- MySQL date created and date modified
- React: connect(mapStateToProps, mapDispatchToProps)
- DataTable table order by numeric, not by text
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