You are here:  » PHP and MySQL Version Checker


PHP and MySQL Version Checker

Run the PHP script below on your server to find out what version of PHP and MySQL you are running, replacing username and password in the mysql_connect call with your database username and password (please note that you will also need to know these details in order to install the script).

Price Tapestry requires PHP version 4.0.1 or later and MySQL version 3.23.23 or later.

<?php
  $link 
mysql_connect("localhost","username","password");
  print 
"<p>PHP Version ".phpversion()."</p>";
  print 
"<p>MySQL Version ".mysql_get_server_info($link)."</p>";
?>