Jump to content

i want to work on PHP but my apache not working


aman_batra

Recommended Posts

Apache is controlled by XAMPP. So there is more than likely a central service called XAMPP. You should be saving your .php files in C:\xampp\htdocs

 

You then ensure XAMPP is running. Then open your browser and go to http://localhost/ to run your script.

What code have you used in test.php? What do you mean by "nothing flashes"

 

PHP runs server side so you must invoke the webserver (Apache) in order for your php scripts to be parsed. There is no alternative way of executing a PHP script (unless you want to use the command line which will return the raw text).

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.