aman_batra Posted June 2, 2008 Share Posted June 2, 2008 i want to work on PHP but my apache is not working as it is not being listed in windows services..IIS is also disabled. i have used XAMPP as well. and later used apache 2.x and PHP 5.6 . please solve the problem. i m not getting hold of it. Quote Link to comment Share on other sites More sharing options...
trq Posted June 2, 2008 Share Posted June 2, 2008 Where going to need allot more information than that, have you checked your error logs at all? Quote Link to comment Share on other sites More sharing options...
aman_batra Posted June 2, 2008 Author Share Posted June 2, 2008 actually apache s running with xampp control panel but it s not listed in the services of windows. that is causing problems to me. therefore the test.php document of mine is not found. error is that it is not found. Quote Link to comment Share on other sites More sharing options...
wildteen88 Posted June 2, 2008 Share Posted June 2, 2008 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. Quote Link to comment Share on other sites More sharing options...
aman_batra Posted June 3, 2008 Author Share Posted June 3, 2008 fine..!! i have done that. but when i run localhost/test.php then nothing flashes.. ihave written hello world prog in that..is there any other way to run the test.php which i have placed in htdocs?? Quote Link to comment Share on other sites More sharing options...
wildteen88 Posted June 3, 2008 Share Posted June 3, 2008 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). Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.