To check if php is installed on or not on your web server, you have to create one file and upload it to server.
Code of the file should be like -
<?php
phpinfo();
?>
Name this file as getphp.php and try to access it from browser.
if php is installed on the server you will get to see the php information and php.ini settings. You will also find the php version on the top of the page.
System | Windows NT FORTITUD-A69E19 5.1 build 2600 |
Build Date | May 2 2008 18:01:20 |
Configure Command | cscript /nologo configure.js "--enable-snapshot-build" "--with-gd=shared" "--with-extra-includes=C:\Program Files (x86)\Microsoft SDK\Include;C:\PROGRA~2\MICROS~2\VC98\ATL\INCLUDE;C:\PROGRA~2\MICROS~2\VC98\INCLUDE;C:\PROGRA~2\MICROS~2\VC98\MFC\INCLUDE" "--with-extra-libs=C:\Program Files (x86)\Microsoft SDK\Lib;C:\PROGRA~2\MICROS~2\VC98\LIB;C:\PROGRA~2\MICROS~2\VC98\MFC\LIB" |
Server API | Apache 2.0 Handler |
Virtual Directory Support | enabled |
Configuration File (php.ini) Path | C:\WINDOWS |
Loaded Configuration File | C:\wamp\bin\apache\apache2.2.8\bin\php.ini |
No comments:
Post a Comment