Req #55025 [NEW]: PDO Base Class not supplied with archive
| From: | wjaspers at nuaire dot com | Date: | Fri, 10 Jun 2011 13:09:33 +0000 |
| Subject: | Req #55025 [NEW]: PDO Base Class not supplied with archive | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-161278@lists.php.net to get a copy of this message | ||
From:
Operating system: Win32
PHP version: 5.3.6
Package: PDO related
Bug Type: Feature/Change Request
Bug description:PDO Base Class not supplied with archive
Description:
------------
---
From manual page: http://www.php.net/class.pdo
---
When installing PHP5.3, there is no php_pdo.dll included with the PHP
package.
It's therefore impossible to use any of the PDO database drivers.
Plus, using the php_pdo.dll from the latest PHP5.2 archive doesn't work
because
new constants aren't available to it.
Test script:
---------------
<?php
$pdo = new PDO(
'mysql:host=hostname;dbname=defaultDbName',
'username',
'password',
array(PDO::MYSQL_ATTR_INIT_COMMAND => "SET NAMES utf8")
);
Expected result:
----------------
$pdo should be a connection to a database
Actual result:
--------------
Fatal error: Class 'PDO' not found ...
--
Edit bug report at http://bugs.php.net/bug.php?id=55025&edit=1
--
Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=55025&r=trysnapshot52
Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=55025&r=trysnapshot53
Try a snapshot (trunk): http://bugs.php.net/fix.php?id=55025&r=trysnapshottrunk
Fixed in SVN: http://bugs.php.net/fix.php?id=55025&r=fixed
Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=55025&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=55025&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=55025&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=55025&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=55025&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=55025&r=support
Expected behavior: http://bugs.php.net/fix.php?id=55025&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=55025&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=55025&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=55025&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=55025&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=55025&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=55025&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=55025&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=55025&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=55025&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=55025&r=mysqlcfg