I am just getting set with PHP and am trying to run a simple 'Hello World', however it wont let me save. I am getting this error:"Unable to save /private/etc/apache2/extra/
What gives? Hey is my file's measly two lines of code, let me know if you need anything else. Frustrating!!!
<?php
echo 'Hello World';
Edit... I am wondering if my error is in here
<VirtualHost *:80>
DocumentRoot "/Library/WebServer/Documents"
</VirtualHost>
<VirtualHost *:80>
DocumentRoot "/Users/micahsherman/Documents/workspace/dev"
ServerName micahsherman.local
ErrorLog "/private/var/log/apache2/micahsherman.local-error_log"
CustomLog "/private/var/log/apache2/micahsherman.local-access_log" common
<Directory "Users/micahsherman/Documents/workspace/dev">
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
If they somehow got made read-only, you probably need to reset that through a batch script or the Properties dialog. In Windows, Just Right click on the file -> Properties-> Untick Read-Only -> Apply and Ok.