Forum Moderators: open

Message Too Old, No Replies

intel iMac/mysql/php

can't seem to make them meet on the new machine

         

Josefu

10:52 pm on Apr 3, 2006 (gmt 0)

10+ Year Member



I know that the intel mysql install is slightly different (the socket file location) so it is not this the cause of the following problem - phpMyAdmin is working fine now.

The thing is, I can't make any of my database queries from my local testing server webpages go through - am I missing yet something else? I keep on getting this error when 'running' (through the browser) a simple php file that tries only to make a connection to the database with user name/password:

Warning: Unknown(/Users/***/Sites/connect.php): failed to open stream: Permission denied in Unknown on line 0

... a permissions error? Trust me, all the server privleges (root, user, etc) are set up but I can't seem to get through. Does anyone have any idea what this could be? Thanks in advance for helping a newbie.

physics

4:10 pm on Apr 4, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



As a test, try putting connect.php in /Library/Webserver/Documents/

Josefu

4:05 pm on Apr 5, 2006 (gmt 0)

10+ Year Member



Thanks for your reply. I did as you said and still the same error.

By what I've read, there's a few differences between the intel Mac OS and the G5... the heirarchy is different, so instead of installing into an existing heirarchy I may have to make my own... the problem lies there I think. I'll let you know, and thanks for your help.