Running php project from a mamp server | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

Running php project from a mamp server

How do I run a php project from a mamp server? what address will help me run my php project using the server? I write them in notepad++ but I don't know what address to use to run them e.g.HTML is www.working.html but what of php?

13th Feb 2018, 10:32 AM
Tsadidey Fortune Selassie
Tsadidey Fortune Selassie - avatar
2 Answers
+ 3
It should be: localhost/folder or localhost:8888/folder Also, make sure the folder containing the php file is in the directory htdocs: MAMP > htdocs > folder > index.php
25th May 2018, 6:14 AM
Pao
Pao - avatar
0
You should be able to run your index.php file in your browser with http://localhost
13th Feb 2018, 11:24 AM
Toni Isotalo
Toni Isotalo - avatar