also test shared builds

This commit is contained in:
Andrey Hristov 2005-05-09 16:23:22 +00:00
parent 4b87d8360e
commit 02d0f72596
2 changed files with 9 additions and 2 deletions

View File

@ -2,6 +2,9 @@
/* default values are localhost, root and empty password
Change the values if you use another configuration */
if (!extension_loaded('mysqli')) {
@dl('mysqli.so');
}
$driver = new mysqli_driver;

View File

@ -1,4 +1,8 @@
<?php
if (!extension_loaded('mysqli'))
die('skip mysqli extension not available');
if (!extension_loaded('mysqli')){
@dl('mysqli.so');
if (!extension_loaded('mysqli')) {
die('skip mysqli extension not available');
}
}
?>