[Solved] How to install php extensions
-
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=0Thanks in advance !
-
I download and copying the dom.so from php52-dom-xxx package. Do not use other package like php5-dom-xxx
Bye :D
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.