Hello there people!
I have just bought myself a brand spanking new iMac. It comes with Apache and PHP installed by default.
I have enabled PHP4 in Apache's httpd.conf file and it works well. If I load up a page with phpinfo(); it displays everything i need to know.
My problem is if I try and laod up any of my previous indeex pages it shows the following error:
Warning: Unknown(/Library/WebServer/Documents/index.php): failed to open stream: Permission denied in Unknown on line 0
Warning: (null)(): Failed opening '/Library/WebServer/Documents/index.php' for inclusion (include_path='.:/usr/lib/php') in Unknown on line 0
I've never come across an error like this. does anyone have any idea what this emans and how Ic an prevent it?
I've heard that Mac formats line breaks in a different way from Windows - could this be something to do with it? Files I've created on the Mac seem to work fine.
I appreciate any help and thank you in advance.
PS: on a side, far less simportant note, ehenever I try and access a url with just a folder (i.e: not putting index.php at the end) it gives me a foridden error... if anyone could help me out with this I'd appreciate it also!