Страница 1 из 1

Проблема с Apache

Добавлено: 2007-06-22 20:51:08
sidor-r
Добрый день.
Возниклла проблема с запуском Apache
При запуске пишет следующее:

Код: Выделить всё

# /usr/local/etc/rc.d/apache.sh start
Starting apache.
Syntax error on line 242 of /usr/local/etc/apache/httpd.conf:
Cannot load /usr/local/libexec/apache/libphp5.so into server: Cannot open "/usr/local/libexec/apache/libphp5.so"
Этого файла(libphp5.so) в этой директории нет.
Вводне данные:
1.Система

Код: Выделить всё

 # uname -a
FreeBSD gw.mydomain.ru 6.2-RELEASE-p5 FreeBSD 6.2-RELEASE-p5 #0: Tue Jun 19 19:31:08 MSD 2007     admin@gw.mydomain.ru:/usr/obj/usr/src/sys/GENERIC  amd64
2.Apache

Код: Выделить всё

#pkg_info -Ix apache
apache+mod_ssl-1.3.37+2.8.28 The Apache 1.3 webserver with SSL/TLS functionality
3.PHP

Код: Выделить всё

# pkg_info -Ix php
php5-5.2.3          PHP Scripting Language (Apache Module and CLI)
php5-bcmath-5.2.3   The bcmath shared extension for php
php5-bz2-5.2.3      The bz2 shared extension for php
php5-calendar-5.2.3 The calendar shared extension for php
php5-ctype-5.2.3    The ctype shared extension for php
php5-curl-5.2.3     The curl shared extension for php
php5-dom-5.2.3      The dom shared extension for php
php5-exif-5.2.3     The exif shared extension for php
php5-extensions-1.1 A "meta-port" to install PHP extensions
php5-ftp-5.2.3      The ftp shared extension for php
php5-gd-5.2.3       The gd shared extension for php
php5-gettext-5.2.3  The gettext shared extension for php
php5-gmp-5.2.3      The gmp shared extension for php
php5-iconv-5.2.3    The iconv shared extension for php
php5-imap-5.2.3     The imap shared extension for php
php5-mbstring-5.2.3 The mbstring shared extension for php
php5-mcrypt-5.2.3   The mcrypt shared extension for php
php5-mhash-5.2.3    The mhash shared extension for php
php5-mysql-5.2.3    The mysql shared extension for php
php5-mysqli-5.2.3   The mysqli shared extension for php
php5-openssl-5.2.3  The openssl shared extension for php
php5-pcre-5.2.3     The pcre shared extension for php
php5-pdo-5.2.3      The pdo shared extension for php
php5-pdo_sqlite-5.2.3 The pdo_sqlite shared extension for php
php5-posix-5.2.3_3  The posix shared extension for php
php5-session-5.2.3  The session shared extension for php
php5-simplexml-5.2.3 The simplexml shared extension for php
php5-sockets-5.2.3  The sockets shared extension for php
php5-spl-5.2.3      The spl shared extension for php
php5-sqlite-5.2.3   The sqlite shared extension for php
php5-sybase_ct-5.2.3 The sybase_ct shared extension for php
php5-sysvmsg-5.2.3  The sysvmsg shared extension for php
php5-sysvsem-5.2.3  The sysvsem shared extension for php
php5-sysvshm-5.2.3  The sysvshm shared extension for php
php5-tokenizer-5.2.3 The tokenizer shared extension for php
php5-xml-5.2.3      The xml shared extension for php
php5-xmlreader-5.2.3 The xmlreader shared extension for php
php5-xmlwriter-5.2.3 The xmlwriter shared extension for php
php5-zlib-5.2.3     The zlib shared extension for php
Произашло это после обновления всех приложений установленных на FreeBSD.
Пробовал переустанавливать Apache, Php, Php-extentions-это не помогло
Подскажите как мне устранить эту проблему???

Добавлено: 2007-06-22 21:27:35
Alex Keda
Установить модуль или указать правильный путь