+ 1
How to write web languages on MAMP?
I was recently told that to mix PHP and HTML to make a website, that I would have to download MAMP (Mac Apache Mysql PHP). Ive downloaded MAMP but now I am not sure how to write web languages on it. Help is needed.
3 Respuestas
+ 1
Have you gone to http://localhost in your browser?
If MAMP is configured correctly, and Apache (the web server) is running, then that should work, if not you may need to do further configurations.
+ 1
You need to work out where web root is. It should be /Applications/MAMP/htdocs. You can create a folder in that directory for each web project. Start putting an index.php in the new directory, with some text in it.
Then visit localhost/YOUR_DIRECTORY in a web browser.
The contents of your index.php should show up in the browser.
There may be some other configuration issues, like permissions of the folder and index.php.
0
Xan, I have been directed to local host, but I dont know how to get a platform to write my web languages on.