Support for php-MySQLi?
-
Hi, I need support for MySQLi, but pfsense stock have only mysql, I build php-mysqli under a freebsd box 10.x.
But pfsense refuse to use my extension, this is not a external package is built in,
Them, how can I add this extension to pfsense, what can I do?
Running pfsense 2.2.2 x86, any tip will be appreciated, thanks.
-
I guess they would have replied / posted here https://forum.pfsense.org/index.php?topic=92884.msg515445#msg515445 ;)
-
I still cannot make pfsense recognize php-mysqli.
I open this new thread because the other was like lost. -
Not really sure how was it lost or how you assume to get more/better answers when you start a duplicate thread every couple of days. Stop abusing pfSense firewall as a generic webserver.
-
If MySQK isn't a solution, go for a tool on the MySQL sqerver side that extracts every x secondes your info to a (CVS) file - and then use a basic PHP "include-file-from" && parse function on pfSense to get your info.
@doktornotor I'm already using pfSEnse to Wake(OnLAN)up our coffee machine every morning at 06h00 AM. I guess it can't get worse ;)
-
We are thinking how to accomplish this that is a good tip thanks Gertjan.
Not really sure how was it lost or how you assume to get more/better answers when you start a duplicate thread every couple of days. Stop abusing pfSense firewall as a generic webserver.
Sir, u don't even know what we are doing but u already again stop trying people to build a more rich firewall, we are not using pfsense as web server don't know where u get this info, we just want to connect to a external mysql server using php, we are building a app that is related to captiveportal, php-mysql is a old driver, the new one php-mysqli is the new and has better new functions that we use.
The firewall is very well check and rules to let just pass what we need no more.
The other thread was related to install php-mysqli, this is related to how to add php-mysqli to the base system.
But well thanks doktornotor for your advised.