Система FreeBSD 6.2. Стояли Apache 1.3, MySQL 5, PHP 5. Стал устанавливать почтовый сервер, установил dovecot, exim. Установка squirrelmail потянула за собой обновление PHP до версии php5-5.2.3. После этого при перезагрузке перестал работать вебсервер. При загрузке пишет что апач стартует, однако 80 порт остается недоступен.
При вводе команды: apachectl start пишет /usr/local/sbin/apachectl start: httpd could not be started
Хотя если ввести: /usr/local/etc/rc.d/apache.sh start пишет: Starting apache, однако все остается по старому.В логах /var/log/httpd-error.log появились такие строки:
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20060613/overload.so' - Cannot open "/usr/local/lib/php/20060613/overload.
PHP Warning: Module 'ctype' already loaded in Unknown on line 0
PHP Warning: Module 'mysql' already loaded in Unknown on line 0
PHP Warning: Module 'pcre' already loaded in Unknown on line 0
PHP Warning: Module 'zlib' already loaded in Unknown on line 0
PHP Warning: Module 'posix' already loaded in Unknown on line 0
PHP Warning: Module 'session' already loaded in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20060613/sqlite.so' - /usr/local/lib/php/20060613/sqlite.so: Undefined symbol &
PHP Warning: Module 'tokenizer' already loaded in Unknown on line 0
PHP Warning: Module 'xml' already loaded in Unknown on line 0
PHP Warning: Module 'ctype' already loaded in Unknown on line 0
PHP Warning: Module 'pcre' already loaded in Unknown on line 0
PHP Warning: Module 'SimpleXML' already loaded in Unknown on line 0
PHP Warning: Module 'dom' already loaded in Unknown on line 0
PHP Warning: Module 'ftp' already loaded in Unknown on line 0
PHP Warning: Module 'iconv' already loaded in Unknown on line 0
PHP Warning: Module 'mysql' already loaded in Unknown on line 0
PHP Warning: Module 'PDO' already loaded in Unknown on line 0
PHP Warning: Module 'posix' already loaded in Unknown on line 0
PHP Warning: Module 'session' already loaded in Unknown on line 0
PHP Warning: Module 'tokenizer' already loaded in Unknown on line 0
PHP Warning: Module 'xml' already loaded in Unknown on line 0
PHP Warning: Module 'xmlreader' already loaded in Unknown on line 0
PHP Warning: Module 'xmlwriter' already loaded in Unknown on line 0
PHP Warning: Module 'zlib' already loaded in Unknown on line 0
/libexec/ld-elf.so.1: /usr/local/lib/php/20060613/mhash.so: Undefined symbol "slprintf"
Пробовал деинсталировать PHP. Делал make clean, make deinstall, make reinstall не помогло. Как побороть проблему?