I am interested in coding in PHP and possibly MySQL. But for right now I would like to inquire about PHP functionality in MacOS 10.1.
I downloaded, ./configured, and made PHP 4.0.6, and uncommented the 3 lines in /etc/httpd/httpd.conf regarding PHP functionality in Apache. I believe the lines were something about AddModule and LoadModule...
I save changes to the file, then sudo apachectl restart... Then I fire up pico, construct a simple php test page:
<?php
phpinfo();
?>
save it as phpinfo.php, then load up a browser and load the page. I get plain text, rather than the phpinfo page, which is supposed to come up.
I've tried to compile PHP by myself, download via fink, and use packaged installers from macosx.forked.net... all to no avail.
I don't know what I'm misconfiguring, doing wrong, or simply not doing.
Thank you.