GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   php version on server (https://gfy.com/showthread.php?t=155383)

eiht_98 07-22-2003 04:56 AM

php version on server
 
How do I test which php version is running on my server?

AcidMax 07-22-2003 04:57 AM

Create a php page and put this code in it.

<?php
echo phpinfo();
?>

Then view the page via a web browser.

Gasper 07-22-2003 04:58 AM

Or if you have cpanel installed, check the bottom left corner on the main page.

eiht_98 07-22-2003 05:00 AM

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

justsexxx 07-22-2003 05:00 AM

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

eiht_98 07-22-2003 05:02 AM

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?

Voodoo 07-22-2003 05:03 AM

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.

justsexxx 07-22-2003 05:04 AM

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

AcidMax 07-22-2003 05:12 AM

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.

justsexxx 07-22-2003 05:13 AM

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


All times are GMT -7. The time now is 11:17 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123