php - Following a tutorial resulted in broken MAMP installation -
hooked mamp on macbook (osx) month ago , fine. followed bogus tutorial on how debug php in eclipse (didn't work), , php files open with:
file:///applications/mamp/htdocs/
instead of:
which displays code now. php files can viewed on server if append filename localhost url in browser, can tell me how configure php/mamp properly? i'm new @ stuff , tried fix on own, no dice =/
most of work reconfiguring /etc/apache2/httdp.conf. configuring apache vast topic, might better off using google find tutorial. @ least, you'll need handler eg.:
# php file handlers. <ifmodule php5_module> addtype application/x-httpd-php .php addtype application/x-httpd-php-source .phps <ifmodule dir_module> directoryindex index.html index.php </ifmodule> </ifmodule>
Comments
Post a Comment