colap Posted May 11, 2011 Share Posted May 11, 2011 How can i check whether php is installed or not on windows? I didn't installed wamp or xamp. But i have installed Zend Apache. And i can do http://localhost/ from browser. Quote Link to comment Share on other sites More sharing options...
requinix Posted May 11, 2011 Share Posted May 11, 2011 Create a .php file with some code, stick it in the Apache's htdocs folder, and browse to it. Or just search for anything mentioning PHP: maybe Program Files, maybe near the Apache folder... Quote Link to comment Share on other sites More sharing options...
colap Posted May 11, 2011 Author Share Posted May 11, 2011 Create a .php file with some code, stick it in the Apache's htdocs folder, and browse to it. Or just search for anything mentioning PHP: maybe Program Files, maybe near the Apache folder... I can browse it putting it in htdocs folder. Quote Link to comment Share on other sites More sharing options...
xyph Posted May 11, 2011 Share Posted May 11, 2011 <?php echo 'hello world'; ?> Save it as file.php in your htdocs directory. Try to access localhost/file.php If it outputs 'hello world' you have PHP installed. 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.