Всем привет.
У меня такая проблемма FreeBSD 6.2-RELEASE + apache-2.2.8 + php5-5.2.5_1Обновил дерево портов, установил php5 с поддержкой Apache (поставил галочку с модулем для апача), установил apache22- все встало без проблем.
В конфигах вообще ничего не исправлял, запутил апач - не запустался. Ругнулся мол
relay# /usr/local/sbin/httpd -e debug -k start
[Tue Feb 19 10:08:19 2008] [debug] mod_so.c(246): loaded module authn_file_module
[Tue Feb 19 10:08:19 2008] [debug] mod_so.c(246): loaded module authn_dbm_module
... (Тут перечисления модулей)
...
[Tue Feb 19 10:08:19 2008] [debug] mod_so.c(246): loaded module php5_module
[Tue Feb 19 10:08:19 2008] [warn] (2)No such file or directory: Failed to enable the 'httpready' Accept Filter
И появился файл httpd.core
Зашел в конфиг апача закоментировал строчку
LoadModule php5_module libexec/apache22/libphp5.so
И запускаю апач
relay# /usr/local/sbin/httpd -e debug -k start
[Tue Feb 19 10:08:19 2008] [debug] mod_so.c(246): loaded module authn_file_module
[Tue Feb 19 10:08:19 2008] [debug] mod_so.c(246): loaded module authn_dbm_module
... (Тут перечисления модулей)
...
[Tue Feb 19 10:08:19 2008] [debug] mod_so.c(246): loaded module php5_module
[Tue Feb 19 10:08:19 2008] [warn] (2)No such file or directory: Failed to enable the 'httpready' Accept Filter
Все работает.
Логи во время запуска апача без строки про модуль PHP
[Tue Feb 19 10:14:30 2008] [info] Init: Initialized OpenSSL library
[Tue Feb 19 10:14:30 2008] [info] Init: Seeding PRNG with 136 bytes of entropy
[Tue Feb 19 10:14:30 2008] [info] Init: Generating temporary RSA private keys (512/1024 bits)
[Tue Feb 19 10:14:30 2008] [info] Init: Generating temporary DH parameters (512/1024 bits)
[Tue Feb 19 10:14:30 2008] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Tue Feb 19 10:14:30 2008] [info] Init: Initializing (virtual) servers for SSL
[Tue Feb 19 10:14:30 2008] [info] mod_ssl/2.2.8 compiled against Server: Apache/2.2.8, Library: OpenSSL/0.9.8g
[Tue Feb 19 10:14:30 2008] [info] mod_unique_id: using ip addr 192.168.1.111
[Tue Feb 19 10:14:31 2008] [debug] mod_so.c(246): loaded module authn_file_module
[Tue Feb 19 10:14:31 2008] [debug] mod_so.c(246): loaded module authn_dbm_module
...
...
[Tue Feb 19 10:14:31 2008] [debug] mod_so.c(246): loaded module alias_module
[Tue Feb 19 10:14:31 2008] [debug] mod_so.c(246): loaded module rewrite_module
[Tue Feb 19 10:14:31 2008] [info] Init: Initialized OpenSSL library
[Tue Feb 19 10:14:31 2008] [info] Init: Seeding PRNG with 136 bytes of entropy
[Tue Feb 19 10:14:31 2008] [info] Init: Generating temporary RSA private keys (512/1024 bits)
[Tue Feb 19 10:14:31 2008] [info] Init: Generating temporary DH parameters (512/1024 bits)
[Tue Feb 19 10:14:31 2008] [info] Init: Initializing (virtual) servers for SSL
[Tue Feb 19 10:14:31 2008] [info] mod_ssl/2.2.8 compiled against Server: Apache/2.2.8, Library: OpenSSL/0.9.8g
[Tue Feb 19 10:14:31 2008] [notice] Digest: generating secret for digest authentication ...
[Tue Feb 19 10:14:31 2008] [notice] Digest: done
[Tue Feb 19 10:14:31 2008] [info] mod_unique_id: using ip addr 192.168.1.111
[Tue Feb 19 10:14:32 2008] [warn] pid file /var/run/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Tue Feb 19 10:14:32 2008] [notice] Apache/2.2.8 (FreeBSD) mod_ssl/2.2.8 OpenSSL/0.9.8g DAV/2 configured -- resuming normal operations
[Tue Feb 19 10:14:32 2008] [info] Server built: Feb 18 2008 16:34:48
[Tue Feb 19 10:14:32 2008] [debug] prefork.c(991): AcceptMutex: flock (default: flock)
Логи апача о строкой про модуль пхп
[Tue Feb 19 10:19:22 2008] [info] Init: Initialized OpenSSL library
[Tue Feb 19 10:19:22 2008] [info] Init: Seeding PRNG with 136 bytes of entropy
[Tue Feb 19 10:19:22 2008] [info] Init: Generating temporary RSA private keys (512/1024 bits)
[Tue Feb 19 10:19:22 2008] [info] Init: Generating temporary DH parameters (512/1024 bits)
[Tue Feb 19 10:19:22 2008] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Tue Feb 19 10:19:22 2008] [info] Init: Initializing (virtual) servers for SSL
[Tue Feb 19 10:19:22 2008] [info] mod_ssl/2.2.8 compiled against Server: Apache/2.2.8, Library: OpenSSL/0.9.8g
[Tue Feb 19 10:19:22 2008] [info] mod_unique_id: using ip addr 192.168.1.111
[Tue Feb 19 10:19:23 2008] [debug] mod_so.c(246): loaded module authn_file_module
[Tue Feb 19 10:19:23 2008] [debug] mod_so.c(246): loaded module authn_dbm_module
...
...
[Tue Feb 19 10:19:23 2008] [debug] mod_so.c(246): loaded module rewrite_module
[Tue Feb 19 10:19:23 2008] [debug] mod_so.c(246): loaded module php5_module
[Tue Feb 19 10:19:23 2008] [info] Init: Initialized OpenSSL library
[Tue Feb 19 10:19:23 2008] [info] Init: Seeding PRNG with 136 bytes of entropy
[Tue Feb 19 10:19:23 2008] [info] Init: Generating temporary RSA private keys (512/1024 bits)
[Tue Feb 19 10:19:23 2008] [info] Init: Generating temporary DH parameters (512/1024 bits)
[Tue Feb 19 10:19:23 2008] [info] Init: Initializing (virtual) servers for SSL
[Tue Feb 19 10:19:23 2008] [info] mod_ssl/2.2.8 compiled against Server: Apache/2.2.8, Library: OpenSSL/0.9.8g
Тоесть в логах проблемы нет, где можно еще посмотреть или , что покапать. Апач с пхп ставил часто такой проблемы не заметил .