Помогите мне пожалуйста разобраться в проблеме:
Я установил FreeBSD 9.3 , далее поставил из портов APACHE22-2.2.31 а так же php5-5.20.3_8
Суть проблемы в том, что в файле конфигурации /usr/local/etc/apache22/httpd.conf прописан пункт: LoadModule php5_module libexec/apache22/libphp5.so
И при запуске APACHE22, происходит ошибка:
Код: Выделить всё
Performing sanity check on apache22 configuration:
httpd: Syntax error on line 108 of /usr/local/etc/apache22/httpd.conf: Cannot load /usr/local/libexec/apache22/libphp5.so into server: Cannot open "/usr/local/libexec/apache22/libphp5.so
Starting apache22"
httpd: Syntax error on line 108 of /usr/local/etc/apache22/httpd.conf: Cannot load /usr/local/libexec/apache22/libphp5.so into server: Cannot open "/usr/local/libexec/apache22/libphp5.so
Код: Выделить всё
20140327
AFFECTS: users of lang/php5 and lang/php55 with Apache module
AUTHOR: ale@FreeBSD.org
The apache php module has been separated from the main php port
If you had apache option selected, you have to perform the following steps
1) update your lang/php8 options i.e. make
2) rebuild lang/php port
install www/mod_php
It is *mandatory* to build both ports with the same DEBUG and ZTS options, so if you have a threaded apche (i.e. worker or event MPM) you have to select the ZTS option in lang/php* port
Попробовал его установить, но получил ошибку:
Код: Выделить всё
/usr/ports/www/mod_php5 # make install clean
mod_php5-5.4.45,1 is marked as broken: : Error from bsd.apache.mk. apache22 is installed (or APACHE_PORT is defined) and port requires apache