I am a new user in Php world. I had no computer background. Well I wanted to learn PHP and SQL to gain some skills and for that reason I installed MAMP on my mac. The ports i have changed to 80 for Apache and 3306 for mysql, but it did not work so i just changed it back to default which 8888 and 8889 something like that. I do not have web server directory in my macbook, i m using OSX 10.8 mountain lion and there is no web sharing option. I have also got the text editer where I type the php commands and code. I saved the file with .php extension. Since I do not have the "Sites" directory in my mac, so I have saved this file under MAMP folder > htdocs > firstphp > index.php "firstphp" is the folder name i created under htdocs where i save all my php files. now the problem is whenever i type
I have recieved errors like that
The requested URL /MAMP/htdocs/firstphp/index.php was not found on this server."
I tried all these ways to check whether my php code works but unfortunately it didn't worked. everything is running properly, such as php, apache and mysql. Now, can anyone please help me out with this...and please explain in easier way as i dont have any computer background, otherwise i keep ask u questions. Your help will be much appreciate it. Thanks in advance !!!