Skip to main content
The 2026 Annual Developer Survey is live— take the Survey today!.

Questions tagged [pdo]

PHP Data Objects (PDO) defines a lightweight and consistent interface for accessing databases.

Score of 0
1 answer
593 views

PDO stopped working after apt update to PHP 8.5 and back to 8.4. PDO was working with 8.4, why would this update and disable PDO? How do I get PDO to work again? I attempted to modify php.ini for both ...
Score of 1
1 answer
565 views

My VM running Ubuntu 24.04 is giving an error that it cannot find the driver for SQLServer (aka MSSQL-Server aka sqlsrv). Sure enough, a page with phpinfo(); shows no sqlsrv or pdo_sqlsrv. Here were ...
Score of 1
1 answer
586 views

Summarize the problem My PDO (MySQL) connection is disconnected during execution of the code. The connection is created successfully, but around 0.05% of the time the Error log reports a disconnection....
Score of 2
1 answer
2960 views

I have a problem with a couple of queries running in PDO on PHP connecting to MSSQL server 2019. I have checked the time in SSMS and its fast. I have also added some timers into my code so I can see ...
Score of 0
1 answer
101 views

sorry for my English. My knowledge about the database is very simple. I have to come this code from a Forum. My problem, when anyone writes a comment, it shows on all Website, when I to wish that ...
Score of 0
1 answer
506 views

I will try to be as detailed as possible. Up until now I was only using Stack Overflow and other sites like this but never posting. I was always able to find the answer to my question. But not this ...
Score of 0
1 answer
5492 views

I've been working for the last two nights to set up my own LEMP server on Amazon ec2. I'm not a server expert so it's been slow going, and the latest error "could not find driver" is given when ...
Score of 1
0 answers
523 views

I have a web application written in php. In this app, I have a script(CLI) which is really heavy. After this script finishes its job, I get "mysql has gone away" error in my normal http request for a ...
Score of 1
1 answer
3046 views

I have an application that is constantly inserting to a stats table. The average number of open connections is usually about 20 to 22. There is also a processing script in PHP run by a cron that runs ...
Score of 1
1 answer
13341 views

I have installed PHP 7.2 on a Debian 9 server (a docker container actually) and installed some php modules. But when I get to gd and pdo/mysql apt is unable to find any packages: $apt install php-...
Score of 1
2 answers
3092 views

I am trying to connect cloud sql with google cloud app engine flexible. My code is as bellow: $dsn = getenv('MYSQL_DSN'); $user = getenv('MYSQL_USER'); $password = getenv('MYSQL_PASSWORD'); try { ...
Score of 5
3 answers
15247 views

I'm testing a new LEMP webserver built with Ubuntu Server 18.04 LTS, NGINX 1.14, PHP 7.2.8, and MySQL 8.0.12. It is an AWS EC2 instance using the official Canonical AMI. Web and PHP work as intended ...
Score of 4
3 answers
11073 views

When i add the extenstion extension=pdo_sqlsrv.so in php.ini file in linux server with PHP v7.0 it's giving following error undefined symbol: php_pdo_register_driver in Unknown on line 0 Please Help ...
Score of 0
0 answers
651 views

php -v responds with : PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64 /php/modules/pdo_sqlite.so' - /usr/lib64/php/modules/pdo_sqlite.so: undefined symbol: ...
Score of 0
1 answer
1501 views

After going through our most recent deployment, pdo_oci stopped loading up with the rest of the php PDO extensions... None of the apache (except for hostname) and php configurations were changed in ...

15 30 50 per page
1
2 3 4 5 6