How do I test which php version is running on my server?
php version on server
Collapse
X
-
Create a php page and put this code in it.
<?php
echo phpinfo();
?>
Then view the page via a web browser.Latest MMA news. http://www.mmawrapup.com -
Hi,
goto http://www.justsexxx.net/test.txt and copy that txt, save it as test.php and upload it to your server
then request yourdomain.com/test.php and voila...
Make sure it's .php and not .php.txt
AndreQuestions?
ICQ: 125184542Comment
-
if I get a blank page that means that there is no php?Originally posted by justsexxx
Hi,
goto http://www.justsexxx.net/test.txt and copy that txt, save it as test.php and upload it to your server
then request yourdomain.com/test.php and voila...
Make sure it's .php and not .php.txt
AndreComment
-
Bzzt. Wrong.
Create a page.
Put the following:
[?php
phpinfo();
php?]
Replace the brackets.
No "echo". It's just a call to a function phpinfo().
Name the file info.php or whatever.

"I'm selflessly supporting the common good, but only coincidentally looking out for No.1."
Comment
-
What is your url? BTW easiest way is to ask your hostOriginally posted by eiht_98
if I get a blank page that means that there is no php?
And when there is NO php you get is as txt(at least that is what I thought)
AndreQuestions?
ICQ: 125184542Comment
-
All the ways given will work, even mine, the board parsed the first tagOriginally posted by Voodoo
Bzzt. Wrong.
Create a page.
Put the following:
[?php
phpinfo();
php?]
Replace the brackets.
No "echo". It's just a call to a function phpinfo().
Name the file info.php or whatever.
It should be
You can also leave out the echo it works either way.PHP Code:<?php echo phpinfo(); ?>Latest MMA news. http://www.mmawrapup.comComment
-
always worked for meOriginally posted by Voodoo
Bzzt. Wrong.
Create a page.
Put the following:
[?php
phpinfo();
php?]
Replace the brackets.
No "echo". It's just a call to a function phpinfo().
Name the file info.php or whatever.Questions?
ICQ: 125184542Comment

Comment