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:

http://localhost:8888/

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

Popular posts from this blog

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -