Welcome, Guest. Please Login or Register.
November 23, 2024, 04:16:19 PM
Home Help Search Log in Register
News: If you are still using YaBB SE, please consider upgrading to SMF as soon as possible.

YaBB SE Community  |  English User Help  |  FAQ  |  How do I check the version of PHP my server is running? « previous next »
Pages: [1] Reply Ignore Print
Author Topic: How do I check the version of PHP my server is running?  (Read 78114 times)
alexrolko
Guest
How do I check the version of PHP my server is running?
« on: December 27, 2001, 05:50:57 AM »
Reply with quote

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.
Logged
Rhaz
Noobie
*
Posts: 7


I love YaBB SE!

Re:How do I check the version of PHP my server is running?
« Reply #1 on: December 31, 2001, 01:29:12 AM »
Reply with quote

Does it have problems with php 4.0.6?
« Last Edit: December 31, 2001, 01:31:25 AM by Rhaz » Logged
alexrolko
Guest
Re:How do I check the version of PHP my server is running?
« Reply #2 on: December 31, 2001, 03:17:46 AM »
Reply with quote

Quote from: Rhaz on December 31, 2001, 01:29:12 AMDoes 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.
Logged
americanboy83078
Noobie
*
Posts: 7


I'm a llama!

Re:How do I check the version of PHP my server is running?
« Reply #3 on: June 08, 2002, 05:51:05 AM »
Reply with quote

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?
Logged
Jeff Lewis
Global Moderator
YaBB God
*****
Posts: 10149


I'm a llama!

WWW
Re:How do I check the version of PHP my server is running?
« Reply #4 on: June 08, 2002, 11:30:36 AM »
Reply with quote

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.
Logged

Pages: [1] Reply Ignore Print 
YaBB SE Community  |  English User Help  |  FAQ  |  How do I check the version of PHP my server is running? « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.021 seconds with 21 queries.