Help me in configuring the PHP .How to run a PHP program
-
Hi Friends, I am new to PHP and I want to know how to run a PHP program .Would like to know how to configure it and kindly help in suggesting what kind of software to be used to run it.I tried with WAMP Server but i was not able to run it. :( .Thanks in Advance.
-
Hi Friends, I am new to PHP and I want to know how to run a PHP program .Would like to know how to configure it and kindly help in suggesting what kind of software to be used to run it.I tried with WAMP Server but i was not able to run it. :( .Thanks in Advance.
Upon successful installation of WAMP, open a text editor and type
<head><title>My First PHP Website</title></head>
<body>
</body>
</html>make sure that you save it in the www of your php installation folder: eg: C:\wamp\www then laugth your web browser and typing http://localhost/filename.php or http://localhost:8080/filename.php as the case may be. it should work this way. welcome to the php world happy programming
-
Upon successful installation of WAMP, open a text editor and type
<head><title>My First PHP Website</title></head>
<body>
</body>
</html>make sure that you save it in the www of your php installation folder: eg: C:\wamp\www then laugth your web browser and typing http://localhost/filename.php or http://localhost:8080/filename.php as the case may be. it should work this way. welcome to the php world happy programming
Thanks friend.I installed the wamp server and placed the following code in www folder .And started the server in the web browser typed the url http://localhost/filename.php[] But i m getting this error message. Not Found The requested URL /filename.php was not found on this server. Apache/1.3.12 Server at changeme.local.lan Port 80 :( I really want to learn php .Kindly help me
-
Thanks friend.I installed the wamp server and placed the following code in www folder .And started the server in the web browser typed the url http://localhost/filename.php[] But i m getting this error message. Not Found The requested URL /filename.php was not found on this server. Apache/1.3.12 Server at changeme.local.lan Port 80 :( I really want to learn php .Kindly help me
the file name I mean is the name you gave the file when you saved it. eg: index.php (the file name is index).
-
the file name I mean is the name you gave the file when you saved it. eg: index.php (the file name is index).
I saved with the same filename .Got to know the problem now but dont have the solution for the same. The issue is that port 80 is being used by another process hence apachi is not installed i guess in wamp server :( :( .I dont know how to configure it to another port no .
-
I saved with the same filename .Got to know the problem now but dont have the solution for the same. The issue is that port 80 is being used by another process hence apachi is not installed i guess in wamp server :( :( .I dont know how to configure it to another port no .
You can verify if Apache was installed from windows services (scroll down and look for wampapache). If not, you can uninstall the wamp server and reinstall again, then ensure that WAMP installs Apache for you. Hope this helps?
-
I saved with the same filename .Got to know the problem now but dont have the solution for the same. The issue is that port 80 is being used by another process hence apachi is not installed i guess in wamp server :( :( .I dont know how to configure it to another port no .
Even if port 80 is in use that should not stop the installation of WAMP. You won't be able to startup WAMP until you close the other program using port 80. Usually this is skype, as this reserves port 80 and 8080 for outgoing and incoming traffic. You can try and locate the process by running
netstat -ob
.
-
Even if port 80 is in use that should not stop the installation of WAMP. You won't be able to startup WAMP until you close the other program using port 80. Usually this is skype, as this reserves port 80 and 8080 for outgoing and incoming traffic. You can try and locate the process by running
netstat -ob
.
Thanks for all .Successfully executed my first php program. :) .I formatted my system and installed it and i m able to run the program now . :)