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) ?

Thanks,
Ceylan.
_______________________________________________
pfSense mailing list
https://lists.pfsense.org/mailman/listinfo/list
Support the project with Gold! https://pfsense.org/gold

Reply via email to