Negativ
02-04-2007, 16:45
OC FreeBSD 6.2
Установил php5-5.2.1_3
Ставлю extensions:
php5-dom-5.1.6_3 The dom shared extension for php
php5-extensions-1.0 A "meta-port" to install PHP extensions
php5-ftp-5.1.6_3 The ftp shared extension for php
php5-gd-5.2.1_3 The gd shared extension for php
php5-iconv-5.1.6_3 The iconv shared extension for php
php5-imap-5.2.1_3 The imap shared extension for php
php5-xml-5.1.6_3 The xml shared extension for php
php5-xmlreader-5.1.6_3 The xmlreader shared extension for php
php5-xmlrpc-5.1.6_3 The xmlrpc shared extension for php
php5-xmlwriter-5.1.6_3 The xmlwriter shared extension for php
php5-xsl-5.1.6_3 The xsl shared extension for php
запускаю apache. /var/log/httpd-error.log:
PHP Warning: Module 'xml' already loaded in Unknown on line 0
PHP Warning: PHP Startup: gd: Unable to initialize module
Module compiled with module API=20060613, debug=0, thread-safety=0
PHP compiled with module API=20050922, debug=0, thread-safety=0
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: iconv: Unable to initialize module
Module compiled with module API=20060613, debug=0, thread-safety=0
PHP compiled with module API=20050922, debug=0, thread-safety=0
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: dom: Unable to initialize module
Module compiled with module API=20060613, debug=0, thread-safety=0
PHP compiled with module API=20050922, debug=0, thread-safety=0
These options need to match
in Unknown on line 0
PHP Warning: Module 'xml' already loaded in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20
050922/xsl.so' - /usr/local/lib/php/20050922/xsl.so: Undefined symbol "dom_
node_class_entry" in Unknown on line 0
Я так понимаю что PHP скомпилирован с API=20050922, а модуль с API=20060613. Они должны друг другу соответствовать.
Ваши советы?
Проблема решена. Поставил из портов php-5.1.6 и из портов же поставил к нему все нужные мне extension. Проблем не возникло.
Установил php5-5.2.1_3
Ставлю extensions:
php5-dom-5.1.6_3 The dom shared extension for php
php5-extensions-1.0 A "meta-port" to install PHP extensions
php5-ftp-5.1.6_3 The ftp shared extension for php
php5-gd-5.2.1_3 The gd shared extension for php
php5-iconv-5.1.6_3 The iconv shared extension for php
php5-imap-5.2.1_3 The imap shared extension for php
php5-xml-5.1.6_3 The xml shared extension for php
php5-xmlreader-5.1.6_3 The xmlreader shared extension for php
php5-xmlrpc-5.1.6_3 The xmlrpc shared extension for php
php5-xmlwriter-5.1.6_3 The xmlwriter shared extension for php
php5-xsl-5.1.6_3 The xsl shared extension for php
запускаю apache. /var/log/httpd-error.log:
PHP Warning: Module 'xml' already loaded in Unknown on line 0
PHP Warning: PHP Startup: gd: Unable to initialize module
Module compiled with module API=20060613, debug=0, thread-safety=0
PHP compiled with module API=20050922, debug=0, thread-safety=0
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: iconv: Unable to initialize module
Module compiled with module API=20060613, debug=0, thread-safety=0
PHP compiled with module API=20050922, debug=0, thread-safety=0
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: dom: Unable to initialize module
Module compiled with module API=20060613, debug=0, thread-safety=0
PHP compiled with module API=20050922, debug=0, thread-safety=0
These options need to match
in Unknown on line 0
PHP Warning: Module 'xml' already loaded in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20
050922/xsl.so' - /usr/local/lib/php/20050922/xsl.so: Undefined symbol "dom_
node_class_entry" in Unknown on line 0
Я так понимаю что PHP скомпилирован с API=20050922, а модуль с API=20060613. Они должны друг другу соответствовать.
Ваши советы?
Проблема решена. Поставил из портов php-5.1.6 и из портов же поставил к нему все нужные мне extension. Проблем не возникло.