OPNsense Forum

Archive => 22.1 Legacy Series => Topic started by: patrickavila4 on March 21, 2022, 03:28:23 PM

Title: pdo_mysql OPNsense
Post by: patrickavila4 on March 21, 2022, 03:28:23 PM
Hello, we were testing some of our scripts within opnsense, but they need pdo_mysql for the connection to be successful.

Does anyone know if it is possible to use it? Looking in packages with pkg, it is not available.
Title: Re: pdo_mysql OPNsense
Post by: fabian on March 21, 2022, 11:30:28 PM
Maybe it is part of the PHP package. You can also have a look at the nginx plugin. It runs with a different PHP instance than the lighttpd you get with the web interface.

I don't know if I included PDO there.
Title: Re: pdo_mysql OPNsense
Post by: patrickavila4 on March 22, 2022, 02:41:19 PM
understand, on the machine php is installed and pdo is also installed, but the specific module pdo_mysql is not located. Last week I was implementing the script in pfsense and there I managed to install it via pkg.