I'm building out a web server on Rocky Linux 9 with Apache and PHP 8.3. I need the pdo_dblib extension. From the command line via "php -m" and "php-fpm -m", I see that the pdo_dblib extension exists in both. However, when I dump phpinfo() in a browser, the pdo_dblib extension is not loaded.
Phpinfo shows that it's running PHP-FPM. I've noted the loaded configuration file at /etc/opt/remi/php83/php.ini, and the extensions directory at /etc/opt/remi/php83/php.d.
Here were my troubleshooting steps:
- Checked the /etc/opt/remi/php83/php.d for the pdo_dblib extension. It wasn't there, so I added it.
- Ran
sudo systemctl restart php-fpm
- Ran
sudo systemctl restart httpd
- Refreshed the web page with phpinfo(). Still not loaded.
Any ideas on why this is happening, and how to fix it?