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

    Do I need /usr/local/etc/php/extensions.ini

    Scheduled Pinned Locked Moved General pfSense Questions
    2 Posts 2 Posters 643 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.
    • R
      rainmakers99
      last edited by

      I've had PFSense for a while, and through the upgrades I started getting messages on ssh and the console about # being deprecated in /usr/local/etc/php/extensions.ini .

      While troubleshooting a default gateway issue, I installed a new copy of PFSense on a VM.  On the new VM I noticed the file didn't exist. This was after I installed the same packages I had on my PFSense box I currently use.

      When I noticed that the file wasn't needed on a vanilla install with the same packages installed, I did a quick test of renaming the file.  After a reboot the issue I had with messages showing in SSH and the console disappeared.

      Off hand I can only think the contents of the file were for some old version of PFSense or package I no longer have installed.  But, I am unsure.  Below is the contents of the extensions file.  Can anyone shed some light on this file, and an idea if there are any negative consequences?

      Thanks in advance

      #define WARNLIB_IS_WHATEVER(object)        (G_TYPE_CHECK_INSTANCE_TYPE ((object), WARNLIB_TYPE_WHATEVER))
      #define WARNLIB_TYPE_WHATEVER              (warnlib_whatever_get_type ())
      #define WARNLIB_UNPAIRED_ERROR (warnlib_unpaired_error_quark ())
      #define WARNLIB_WHATEVER(object)           (G_TYPE_CHECK_INSTANCE_CAST ((object), WARNLIB_TYPE_WHATEVER, WarnLibWhatever))
      #define WARNLIB_WHATEVER_GET_IFACE(obj)    (G_TYPE_INSTANCE_GET_INTERFACE ((obj), WARNLIB_TYPE_WHATEVER, Wa
      #define __WARNLIB_H__
      #ifndef __WARNLIB_H__
      #include "gitestmacros.h"
      #include <gio gio.h="">/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
      /* interface */
      GQuark warnlib_unpaired_error_quark (void);
      _GI_TEST_EXTERN
      gboolean warnlib_throw_unpaired (GError **error);</gio> 
      
      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        That isn't content that should have ever been in extensions.ini. Not sure where that came form, looks like source from some other program.

        You can rm /usr/local/etc/php/extensions.ini and then from the console menu use option 16. If anything is needed for PHP to run, that will fix it up.

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

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