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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
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