On Wed, Oct 28, 2015 at 6:35 PM, Ceylan BOZOĞULLARINDAN <[email protected]> wrote: > Hello, > > I am working for three days on add pdo_mysql and mysqli extensions on > pfsense 2.2.4 php. But i didn't. I need to connect database with using > mysqli or pdo instead of mysql. Let me explain to you what i have tried; > > When you run "pkg search mysqli" command, you see this result; > > php5-mysqli-5.4.45 The mysqli shared extension for php > php55-mysqli-5.5.30 The mysqli shared extension for php > php56-mysqli-5.6.14 The mysqli shared extension for php > > After that, if you attend to install one of these packets, you will > encourage some requirements; > > > New packages to be INSTALLED: > php5-mysqli: 5.4.45 > php5: 5.4.45 > > But if i install these requirements, i will see the error like this; > > > Warning: Illegal string offset 'alias' in /etc/inc/util.inc on line 1401 > > > The problem is clear; how can i install or enable pdo_mysql or mysqli > extensions of php on pfsense 2.2.4 or others (it doesn't matter) ?
You can't pkg install anything PHP-related. https://doc.pfsense.org/index.php/How_do_I_get_PHP_support_for_mysql,_sqlite,_sockets,_etc _______________________________________________ pfSense mailing list https://lists.pfsense.org/mailman/listinfo/list Support the project with Gold! https://pfsense.org/gold
