954,568 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

How ti detect whether PHP is installed or not?

Hi,

Can anyone tell, how to detect whether PHP is installed or not? I want to find out this with the help of Registry in Windows? Is it possible?

Regards,
K.VenkataRamana

VenkataRamana.K
Newbie Poster
2 posts since Aug 2004
Reputation Points: 10
Solved Threads: 0
 

?? its not somthing you would search the registry for, you must have a running server, and then download and set up PHP, i say setup because PHP is not somthing that installed persay.

to see if it is installed. create a PHP file like this

[PHP]<?php
phpinfo(); //will display all of the phpinfo if php is installed else will print out as seen by the server
?>[/PHP]

save it is. info.php

open up your web server and go to

http://www.localhost/info.php

if it works and you see info then your lucky and have correctly installed PHP if not, you have to install it.

Killer_Typo
Master Poster
781 posts since Apr 2004
Reputation Points: 152
Solved Threads: 39
 

No www mr killer typp

htt://localhost ;)

Zachery
The Geek Father
Team Colleague
894 posts since Nov 2003
Reputation Points: 96
Solved Threads: 21
 

But how can i check this with the help of registry? wicthout using phpinfo()!

VenkataRamana.K
Newbie Poster
2 posts since Aug 2004
Reputation Points: 10
Solved Threads: 0
 

there is nothing in the registry about PHP i believe, because it installs nothing, and is just a matter of moving files around. and thx zachery

Killer_Typo
Master Poster
781 posts since Apr 2004
Reputation Points: 152
Solved Threads: 39
 

IIRC Killer is right :)

php is just an extention of a webserver

Zachery
The Geek Father
Team Colleague
894 posts since Nov 2003
Reputation Points: 96
Solved Threads: 21
 

You spelled to wrong.

edith_is_sex
Newbie Poster
1 post since Jun 2012
Reputation Points: 0
Solved Threads: 0
 

Post: Markdown Syntax: Formatting Help
You