This is a discussion on Class 'PDO' not found in .... PHP 5.2.5 within the PHP General forums, part of the PHP Programming Forums category; I am with a new host and just tried to upload new files that use PHP and the class PDO ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
I am with a new host and just tried to upload new files that use PHP and
the class PDO for database access. I get the error in the subject. I thought PDO was in the base code of PHP 5* My host is on 5.2.5 according to PHP info I have created a ticket I fear that this is one of those "not supported" things. So I am asking for any advise. Thanks Stephen |
|
|||
|
PDO is distributed with PHP 5.1 and higher by default, but it can still be excluded during the compile stage. This may be the case for your installation. Run php_info() to find out, and if PDO is not listed, ask your host to install it. http://ca3.php.net/manual/en/pdo.installation.php ~Ted On 17-Jul-08, at 8:07 PM, Stephen wrote: > I am with a new host and just tried to upload new files that use PHP > and the class PDO for database access. > > I get the error in the subject. > > I thought PDO was in the base code of PHP 5* > > My host is on 5.2.5 according to PHP info > > I have created a ticket > > I fear that this is one of those "not supported" things. > > So I am asking for any advise. > > Thanks > Stephen > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > |
![]() |
| Thread Tools | |
| Display Modes | |
|
|