Now I set the permissions for the apache2 folder, but still get this message when I try to save today.php:
"There was an error attempting to save today.php. Permission denied".
I went over the installation:
- Allowed web sharing.
- Allowed permissions to read and write in the apache2 folder and the httpd.conf file.
- Edited the httpf.conf with Komodo
LoadModule php5_module libexec.apache2.libphp5.so (deleted the # to enable the line).
- Restarted Apache in the Terminal:
Machine:∼ user$ sudo /usr/sbin/apachectl restart
Machine:∼ user$ cd/ private/etc
Machine:etc user$ sudo cp php.ini.default php.ini
Password: (type password)
- Edited the php.ini folder by changing:
mysql.default_socket = /tmp/mysql.sock
mysqli.default_socket = tmp/mysql.sock
sudo/ usr/sbin/ apachectl restart
This is all following the book. What else should I check?