I have Eclipse editor, and i need to run my php web application. So which is the better way to run, either Run As---> PHP Script or Run As---> PHP web page. Presently for both I am getting the notification error. Please help me in this....
4 Answers
That is not true at all. You can run php scripts from the command line using "php scriptname.php "
1 Comment
Mh don't think that you can just run it... try it with xampp and put the project folder in the htdocs folder of xampp for example
4 Comments
You can't really run your PHP scripts as programs, you need to setup a [local] server with PHP. After doing so, all you will have to do to run the code would be to open the corresponding URL in the browser. If you install XAMPP which is the most common choice for local development, you will be able to access your files through the localhost URL.