Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Support for php-MySQLi?

    Scheduled Pinned Locked Moved General pfSense Questions
    6 Posts 3 Posters 1.8k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • perikoP Offline
      periko
      last edited by

      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.

      Necesitan Soporte de Pfsense en México?/Need Pfsense Support in Mexico?
      www.bajaopensolutions.com
      https://www.facebook.com/BajaOpenSolutions
      Quieres aprender PfSense, visita mi canal de youtube:
      https://www.youtube.com/c/PedroMorenoBOS

      1 Reply Last reply Reply Quote 0
      • GertjanG Offline
        Gertjan
        last edited by

        I guess they would have replied / posted here https://forum.pfsense.org/index.php?topic=92884.msg515445#msg515445 ;)

        No "help me" PM's please. Use the forum, the community will thank you.
        Edit : and where are the logs ??

        1 Reply Last reply Reply Quote 0
        • perikoP Offline
          periko
          last edited by

          I still cannot make pfsense recognize php-mysqli.
          I open this new thread because the other was like lost.

          Necesitan Soporte de Pfsense en México?/Need Pfsense Support in Mexico?
          www.bajaopensolutions.com
          https://www.facebook.com/BajaOpenSolutions
          Quieres aprender PfSense, visita mi canal de youtube:
          https://www.youtube.com/c/PedroMorenoBOS

          1 Reply Last reply Reply Quote 0
          • D Offline
            doktornotor Banned
            last edited by

            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.

            1 Reply Last reply Reply Quote 0
            • GertjanG Offline
              Gertjan
              last edited by

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

              No "help me" PM's please. Use the forum, the community will thank you.
              Edit : and where are the logs ??

              1 Reply Last reply Reply Quote 0
              • perikoP Offline
                periko
                last edited by

                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.

                Necesitan Soporte de Pfsense en México?/Need Pfsense Support in Mexico?
                www.bajaopensolutions.com
                https://www.facebook.com/BajaOpenSolutions
                Quieres aprender PfSense, visita mi canal de youtube:
                https://www.youtube.com/c/PedroMorenoBOS

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post
                Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.