Newbie Help Please...

buc99

Don't Tread on Me!
I'm running OSX 10.1.2 on my TiBook. I have mysql compiled and running. First question:
Does OSX come with Appache and PHP installed already? I have seen an apache directory and PHP 4.0 directory. I can serve webpages when I turn the webserver on.
Second Question:
If question 1 is correct, why can't I get phpMyadmin to run? I set up the basic info for localhost, username, password, and path to phpMyadmin directory. Yet I can't get the index.php3 file to load in IE5. I've visited php pages and they load correctly in IE5. Am I missing something?

Any help would be greatly appreciated. Be gentle, I'm just now delving into the world of Mysql and PHP.

Thanks in Advance,
SA
:)
 
What's the problem, it doesn't parse them as PHP files and shows them as plain text, or PHP doesn't run at all? I just looked at /private/etc/httpd/httpd.conf (default location) and all the MIME types for PHP files are commented out, as well as loading the PHP module. Look in there and uncomment the libphp4.so module and also the MIME types, and if you want to use .php3 instead of .php, also add that extension. Restart Apache, and you should be all set. This is just speculation, as I haven't messed with Apache under OS X, but it makes sense.

Good luck.
 
Back
Top