Beginning PHPBeginning-level PHP discussions. More advanced coders should post to the Pro PHP forum.
Welcome to the p2p.wrox.com Forums.
You are currently viewing the Beginning PHP section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
There is no way to find MySql version
My code provided you only sqlite version
and phpinfo provide you whole information
$agent = getenv("http_user_agent");
$result = "you are using $agent";
// prints e.g. 'Current PHP version:XXX'
echo '<br>Current PHP version: ' . phpversion();
//print sqlite version only
//Print whole information about php