Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 07-22-2003, 04:56 AM   #1
eiht_98
Confirmed User
 
Join Date: Jan 2001
Location: EU
Posts: 6,103
php version on server

How do I test which php version is running on my server?
eiht_98 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-22-2003, 04:57 AM   #2
AcidMax
Confirmed User
 
Join Date: May 2002
Location: MI
Posts: 1,827
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
AcidMax is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-22-2003, 04:58 AM   #3
Gasper
Guest
 
Posts: n/a
Or if you have cpanel installed, check the bottom left corner on the main page.
  Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-22-2003, 05:00 AM   #4
eiht_98
Confirmed User
 
Join Date: Jan 2001
Location: EU
Posts: 6,103
Quote:
Originally posted by AcidMax
Create a php page and put this code in it.

<?php
echo phpinfo();
?>

Then view the page via a web browser.
if I do what you said I get the same text on the page
eiht_98 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-22-2003, 05:00 AM   #5
justsexxx
Too lazy to set a custom title
 
Join Date: Aug 2001
Location: The Netherlands
Posts: 13,723
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

Andre
__________________
Questions?

ICQ: 125184542
justsexxx is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-22-2003, 05:02 AM   #6
eiht_98
Confirmed User
 
Join Date: Jan 2001
Location: EU
Posts: 6,103
Quote:
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

Andre
if I get a blank page that means that there is no php?
eiht_98 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-22-2003, 05:03 AM   #7
Voodoo
♥ ♦ ♣ ♠
 
Voodoo's Avatar
 
Industry Role:
Join Date: Sep 2002
Posts: 10,592
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."
Voodoo is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-22-2003, 05:04 AM   #8
justsexxx
Too lazy to set a custom title
 
Join Date: Aug 2001
Location: The Netherlands
Posts: 13,723
Quote:
Originally posted by eiht_98

if I get a blank page that means that there is no php?
What is your url? BTW easiest way is to ask your host And when there is NO php you get is as txt(at least that is what I thought)

Andre
__________________
Questions?

ICQ: 125184542
justsexxx is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-22-2003, 05:12 AM   #9
AcidMax
Confirmed User
 
Join Date: May 2002
Location: MI
Posts: 1,827
Quote:
Originally 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.
All the ways given will work, even mine, the board parsed the first tag

It should be
PHP Code:
<?php
echo phpinfo(); 
?>
You can also leave out the echo it works either way.
__________________
Latest MMA news. http://www.mmawrapup.com
AcidMax is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-22-2003, 05:13 AM   #10
justsexxx
Too lazy to set a custom title
 
Join Date: Aug 2001
Location: The Netherlands
Posts: 13,723
Quote:
Originally 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.
always worked for me
__________________
Questions?

ICQ: 125184542
justsexxx is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.