First off - I am on an 800MHz G4 iMac. I've got Apache working, installed a new PHP module, and even installed MySQL.
(Thanks Marc -
http://www.entropy.ch/software/macosx/)
So my question is, can I only use this when I am connected to the Internet. My first reaction would be yes, of course. You are sitting on a webserver, why couldn't you use it. I have a dial-up connection, and whenever I want to see any of my site files -- they only will pull up when I am connected. I usually put in 127.0.0.1/~drew/test.php (or whatever other folder I want to access) and it works great. The above file shows the data for my php installation, I can get into phpmyadmin and browse/edit/create databases for MySQL. I've even installed a module (thanks again Marc) that starts MySQL on start-up automatically for me. This is perfect for when I'm developing and testing my websites at home. My httpd.conf file is up-to-date with the php extensions and everything.
Then came the bad news. I disconnected from the internet (damn I need a cable modem... anyway...). And went back to IE to play in phpmyadmin and MySQL again. it told me that the pages or site couldn't be found. I thought 127.0.0.1 was a local address? I've tried using localhost/~drew... nothing.
Again - my whole set-up works perfectly, but only when I'm connected to the Internet. NOT when I am sitting "locally" at my machine.
How - please tell me - can I use my machine with PHP, and MySQL without being on the internet? Or can't I? Do I have to be on some way or another?
What (if anything) did I do wrong - or didn't yet do??
thanks for any help from you guys(and girls) out there..
** first time poster **
- drewb2b