YaBB SE Community

English User Help => FAQ => Topic started by: alexrolko on December 27, 2001, 12:50:57 AM

Title: How do I check the version of PHP my server is running?
Post by: alexrolko on December 27, 2001, 12:50:57 AM
First off create a file called "phpinfo.php", edit the file with good ol' notepad (if your under windows) or any simple text editor. Copy and paste this into the file...
Quote

<?php
   phpinfo();
?>


Then upload it to your server, and call the file in your browser. "http://www.myserver.com/phpinfo.php"


If the file runs and you get a long page of information, you have a PHP enabled server for one and right at the top it tells the version.

If your browser popups up a "Download this File" dialog box or it just shows you the code above, then you do not have a PHP enable server. or you dont have access.
Title: Re:How do I check the version of PHP my server is running?
Post by: Rhaz on December 30, 2001, 08:29:12 PM
Does it have problems with php 4.0.6?
Title: Re:How do I check the version of PHP my server is running?
Post by: alexrolko on December 30, 2001, 10:17:46 PM

Does it have problems with php 4.0.6?



Does YaBB SE have problems? not that im aware of on *nix servers, but it does with Windows versions due to it not supporting the crypt() function.
Title: Re:How do I check the version of PHP my server is running?
Post by: americanboy83078 on June 08, 2002, 12:51:05 AM
How do I create the phpinfo.php file to upload to my browser? I am using activewebhosting.com and my site is neotalk.com. I am trying to figure out how I create the file to put that code in to load to my site. I know it is PHP enabled, it says so on the front. What do I do afterwards?
Title: Re:How do I check the version of PHP my server is running?
Post by: Jeff Lewis on June 08, 2002, 06:30:36 AM
Open up Notepade or a text editor, add this text to that file:

<?

phpinfo();

?>

save the file as phpinfo.php, upload it to your website, then call it up in your browser.