Re: [pfSense] Please support, pdo and mysqli extensions of php on pfsense new release

2015-10-29 Thread Chris Buechler
On Wed, Oct 28, 2015 at 6:35 PM, Ceylan BOZOĞULLARINDAN
 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.30The mysqli shared extension for php
> php56-mysqli-5.6.14The 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

Re: [pfSense] Please support, pdo and mysqli extensions of php on pfsense new release

2015-10-29 Thread Ceylan BOZOĞULLARINDAN
Thank you for your response,

If a module is needed that is not included nor activated, a copy of the
module may be obtained from an equivalent version FreeBSD system using a
matching PHP version. Drop it into the correct lib directory, and activate
it with dynamodules. This is a lot riskier, and may be prone to break in
various ways, thus is it not supported nor recommended.

I understood the case but could you please help me? I am using pfsense
2.2.4 and i need mysqli or pdo_mysql extensions. This is important for me.

Thanks a lot..

2015-10-29 18:32 GMT+02:00 Chris Buechler :

> On Wed, Oct 28, 2015 at 6:35 PM, Ceylan BOZOĞULLARINDAN
>  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.30The mysqli shared extension for php
> > php56-mysqli-5.6.14The 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
___
pfSense mailing list
https://lists.pfsense.org/mailman/listinfo/list
Support the project with Gold! https://pfsense.org/gold

[pfSense] Please support, pdo and mysqli extensions of php on pfsense new release

2015-10-28 Thread Ceylan BOZOĞULLARINDAN
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.30The mysqli shared extension for php
php56-mysqli-5.6.14The 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