January 5, 201016 yr comment_8020 I edit php.ini file: extension=php_openssl.dllextension=php_pdo.dllextension=php_pdo_firebird.dllextension=php_pdo_mssql.dllextension=php_pdo_mysql.dllextension=php_pdo_oci.dllextension=php_pdo_oci8.dllextension=php_pdo_odbc.dllextension=php_pdo_pgsql.dllextension=php_pdo_sqlite.dll And then copy that files into folder UniServer\usr\local\php\extensions , restart Apache, but can not run PDO script because "could not find driver"... and this code <?phptry { $dbh = new PDO('mysql:host=localhost;dbname=blog', 'root', 'root'); foreach ($dbh->query('SELECT * from sad_cat') as $row) { print_r($row); } $dbh = null;} catch (PDOException $e) { print "Error!: " . $e->getMessage() . "<br/>"; die();}?> Report
January 6, 201016 yr comment_8024 Hello,You mentioned you copied those files into PHP's extension directory. From where did these files come from? If they were from a PHP source download from www.php.net, did you download the same PHP version you have? Kalpz ATOMIC Web Hosting 2007 - 2011 Shared Hosting - Reseller Hosting - Dedicated Servers - Virtual Private Servers (Request Dedicated/VPS Servers via E-mail) E-mail: sales@atomicwebhosting.com Website: http://www.atomicwebhosting.com/ Report
March 23, 201015 yr comment_8209 Hi, I was installing a Magento with Uniserver 5.5 and got this warning about need to load pdo_mysqlSaw you post here... Found the PHP.INI file... Edit in notepad to load php_pdo_mysqlsaved and restarted the Uniserver.... Bingo :-) (Next step in Magento was more tricky... but I found that the port that uniserver default is installed to is localhost:80 <<< Port 80) (I can not have Outlook or Skype running while using Uniserver ... they properly uses the same port !??) Report
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.