Search the Community
Showing results for tags 'pdo'.
-
I am getting a "Fatal error: Class 'PDO' not found" where I was not previously. I had recently moved some code around, but after restoring it I'm still getting this error. Is there some trick to pointing to the extension properly. The line causing the fault is: $dbh = new PDO('sqlite:'.$db_name); The php.ini in my root folder has extension = sqlite3.soextension = pdo_sqlite.so phpinfo has PDO drivers mysql, pgsql, sqlite
-
I cant connect to postgresql remotely, It shows: no pg_hba.conf entry for host necesarily only root can give that permission ? How can i fix that without the help's root. thanks.
- 2 replies
-
- postgresql
- connection
-
(and 1 more)
Tagged with:
-
Hi, I'm new on this server and I have some problem. I want to use postgresDB in PHP and I use PDO to achieve it. On my localhost that was simply, but here i have some problems. $db = new PDO('pgsql:host=localhost port=5432 dbname=NAME_OF_DB user=USER_NAME password=PASSWORD'); This statement work correct, but i get error "could not find driver". How can I add drivers to my account to solve the problem?
-
Hi, i'm already registered on johnny server a few days ago, already setting for my web application, but some error about the PDO postgresql driver..it says "failed to open the DB connection: could not find driver". I hope PDO postgresql can be activated, so i can start using my web application. thx in advance.
- 7 replies
-
- PDO Postgresql
- PDO
-
(and 1 more)
Tagged with: