Good day! I am currently having this problem with PHP's on my macbook. I can't seem to run it. The Apache server is operational. I tried some instructions on the net about uncommenting the PHP codes of Apache thru terminal but to no progress. Even the tech support at Apple doesn't know. (Worst part, its their first time hearing about PHP. ) And I've installed MySQL, too, but when I input commands thru Terminal, it says that MySQL isn't found. I am having such a hard time with these two, this because I am learning DB administration thru Mac. (The price of having PC users as blockmates, profs and supervisors. ) I hope anyone can help me. Thanks in advance!
Try using MAMP instead. www.mamp.info But if you really want to manually install PHP and MySQL, your problems will be isolated within php.ini and httpd.conf. Now about MySQL, it might be a problem with the path. Try looking for the directory it is installed and invoke the program from there. Treat your Mac like a Linux box. When you go to the Terminal, it's not much different from one. Your PC friends might be able to help you then.
It took only 1 minute of my time when I download MAMP! It's quite basic in it's capabilities compared to http://www.ozerov.de/bigdump.php.I hope http://hivelogic.com/articles/installing-mysql-on-mac-os-x/ will guide you to solving your problem.
http://www.onlamp.com/pub/ct/49 is also a good tutorial on making Apache, PHP, and MySQL work on your Mac.
thanks for all the info's. These will be great for my internship problem. I'll try to look them up today. Before that, if I use MAMP, won't that overwrite anything in the Apache terminal file? (The ones with all them httd.conf and phps.ini?) Should I re-comment them before I execute MAMP?