I'm holding it right in front of the screen but it still says it can't find it!
Early ,'Objects In Space'
Buffistechnology 3: "Press Some Buttons, See What Happens."
Got a question about technology? Ask it here. Discussion of hardware, software, TiVos, multi-region DVDs, Windows, Macs, LINUX, hand-helds, iPods, anything tech related. Better than any helpdesk!
You need to hold it in front of the webcam.
I've got MAMP (Mac - Apache - MySQL - PHP) installed on my iBook just fine, and I can run PHPadmin app with queries against MySQL tables just fine. But how do I 'run' a PHP program? Loading the .PHP file into my Firefox browser doesn't seem to work, and of course the stupid instruction book I have (MySQL Weekend Crash Course) doesn't say how you actually i start the model PHP files they supply running.
I can wait until tomorrow and buy a better instruction book, but geez, I feel pretty useless when I don't even have a clue as to how to proceed.
Where are you storing the files? If you're using the version of Apache that comes with the Mac, php is automatically enabled, but you'll need to be sure to store your files in the Sites folder inside your home folder. (It's possible to tweak Apache to use something else, of course, but for now, easiest to go with the default.)
edit: and after that, what Kevin said (which I should've made more clear). But trying to open files that are on the desktop or wherever is the most common mistake I see with this.
When I followed Kevin's link, I got an error:
Unable to connect
Firefox can't establish a connection to the server at 127.0.0.1.
MAMP actually does run right on the Mac, and stores the database files under the Applications folder. I can run queries against them just fine, but when I try to open the .PHP file, it gives a screen with obvious errors in it that makes it clear that the boxes are not being filled by the MySQL queries that the PHP is supposed to be running.
And damn, I just realized I'm late to meet a friend. Back to this problem later. SIGH
Theodosia, when you go into PHPMyAdmin, what does the address bar look like? I don't know how MAMP works, but it might be running on a different port. In which case it's [link] (if 6000 was the port). amych's advice is also very correct.
It sounds like apache isn't running, if it can't find localhost. But I need to get out of this thread too!
Did you turn on personal web sharing in System Preferences?