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

[Solved] How to install php extensions

Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
2 Posts 1 Posters 1.9k 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.
  • A
    antho49
    last edited by Apr 5, 2011, 12:53 PM Apr 5, 2011, 10:37 AM

    Hello all,

    Sorry for my english…
    I wan't install php5-dom extension (dom.so) but I can't load module. I manually install dom.so by coping it in /usr/local/lib/php/20060613/ and add the module line in /usr/local/etc/php.ini but after reboot my line are deleted. I edit /etc/rc.php_ini_setup for add manually PHPMODULE = "$PHPMODULES dom" but i can load it.

    I have this error version:
    PHP Warning: PHP Startup: dom: Unable to initialize module
    Module compiled with module API=20090626, debug=0, thread-safety=0
    PHP compiled with module API=20060613, debug=0, thread-safety=0

    Thanks in advance !

    1 Reply Last reply Reply Quote 0
    • A
      antho49
      last edited by Apr 5, 2011, 12:56 PM

      I download and copying the dom.so from php52-dom-xxx package. Do not use other package like php5-dom-xxx

      Bye  :D

      1 Reply Last reply Reply Quote 0
      2 out of 2
      • First post
        2/2
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
        This community forum collects and processes your personal information.
        consent.not_received