Home   Help Login Register  
Welcome, Guest. Please login or register.

Login with username, password and session length

Search
Pages: [1]
Print
Topic: How to know php version running on VPS?  (Read 845 times)
0 Members and 1 Guest are viewing this topic.
« on: July 26, 2009, 10:02:01 PM »
Scott
Jr. Member

View Profile Email
**
Posts: 51



There are many ways to check PHP version running on your Linux VPS server.

1. From SSH:

You can run following command via SSH

# php -v

2. phpinfo() function.

You can simply create one phpinfo.php file and place below code:

<?
phpinfo();
?>

By browsing http://www.yourdomain.com/phpinfo.php will give you version of PHP and also detailed list of PHP modules installed on your server.

Thanks!
Logged
« Reply #1 on: August 09, 2009, 04:31:11 AM »
Sarpras
Newbie

View Profile WWW Email
*
Posts: 6



mydomain.com/phpinfo.php not work on my blog. My hosting - DREAMHOST.
Logged

« Reply #2 on: August 09, 2009, 09:11:32 PM »
Kailash
Administrator
Newbie

View Profile WWW
*****
Posts: 6

kailash@webhostingdiscussion.net

mydomain.com/phpinfo.php not work on my blog. My hosting - DREAMHOST.
Are you getting any error or message while accessing phpinfo paeg?

Kailash
Logged

Pages: [1]
Print
Jump to:  

� 2006 VPS forum, VPS hosting forums, VPS discussions, VPS web hosting solutions, issues, providers, virtual web hosting questions, VPS hosting
Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC | Forum style designed by PixelSlot
| Sitemap - XML Sitemap