Код: Выделить всё
LoadModule php5_module /путь/к/библиотеке/libphp5.soвсё устанавливал через Yast,- apache2, php5.
Спасибо.
Модератор: Модераторы разделов
Код: Выделить всё
LoadModule php5_module /путь/к/библиотеке/libphp5.soКод: Выделить всё
find / | grep libphp5.soshade1387 писал(а): ↑16.05.2008 17:09http://software.opensuse.org/search?basepr...mp;q=apache+php
По первому же линку лежит rpm-ка, которая сама и модуль установит, и пропишется всё сразу в кофиг.
[Sat May 17 22:24:50 2008] [error] [client 127.0.0.1] script '/srv/www/htdocs/index.php' not found or unable t[Thu May 15 17:29:49 2008] [notice] Apache/2.2.4 (Linux/SUSE) PHP/5.2.5 with Suhosin-Patch configured -- resuming normal operations
[Thu May 15 17:39:07 2008] [notice] caught SIGTERM, shutting down
[Thu May 15 19:34:48 2008] [notice] Apache/2.2.4 (Linux/SUSE) PHP/5.2.5 with Suhosin-Patch configured -- resuming normal operations
[Thu May 15 19:35:27 2008] [error] [client 127.0.0.1] script '/srv/www/htdocs/index.php' not found or unable to stat
[Thu May 15 20:07:18 2008] [error] [client 127.0.0.1] script '/srv/www/htdocs/index.php' not found or unable to stat
[Thu May 15 20:07:24 2008] [error] [client 127.0.0.1] script '/srv/www/htdocs/index.php' not found or unable to stat
[Thu May 15 20:07:25 2008] [error] [client 127.0.0.1] script '/srv/www/htdocs/index.php' not found or unable to stat
[Thu May 15 20:07:26 2008] [error] [client 127.0.0.1] script '/srv/www/htdocs/index.php' not found or unable to stat
[Thu May 15 20:07:28 2008] [error] [client 127.0.0.1] script '/srv/www/htdocs/index.php' not found or unable to stat
[Thu May 15 20:07:29 2008] [error] [client 127.0.0.1] script '/srv/www/htdocs/index.php' not found or unable to stat
[Thu May 15 20:07:30 2008] [error] [client 127.0.0.1] script '/srv/www/htdocs/index.php' not found or unable to stat
[Thu May 15 20:07:31 2008] [error] [client 127.0.0.1] script '/srv/www/htdocs/index.php' not found or unable to stat
[Thu May 15 20:07:32 2008] [error] [client 127.0.0.1] script '/srv/www/htdocs/index.php' not found or unable to stat
[Thu May 15 20:07:33 2008] [error] [client 127.0.0.1] script '/srv/www/htdocs/index.php' not found or unable to stat
[Thu May 15 20:07:33 2008] [error] [client 127.0.0.1] script '/srv/www/htdocs/index.php' not found or unable to stat
[Thu May 15 20:07:35 2008] [error] [client 127.0.0.1] script '/srv/www/htdocs/index.php' not found or unable to stat
[Thu May 15 20:07:35 2008] [error] [client 127.0.0.1] script '/srv/www/htdocs/index.php' not found or unable to stat
[Thu May 15 20:07:36 2008] [error] [client 127.0.0.1] script '/srv/www/htdocs/index.php' not found or unable to stat
[Thu May 15 20:07:36 2008] [error] [client 127.0.0.1] script '/srv/www/htdocs/index.php' not found or unable to stat
[Thu May 15 20:07:37 2008] [error] [client 127.0.0.1] script '/srv/www/htdocs/index.php' not found or unable to stat
[Thu May 15 20:07:38 2008] [error] [client 127.0.0.1] script '/srv/www/htdocs/index.php' not found or unable to stat
[Thu May 15 20:08:27 2008] [notice] caught SIGTERM, shutting down
[Thu May 15 20:08:28 2008] [notice] Apache/2.2.4 (Linux/SUSE) PHP/5.2.5 with Suhosin-Patch configured -- resuming normal operations
[Thu May 15 20:55:05 2008] [notice] caught SIGTERM, shutting down
[Thu May 15 20:55:12 2008] [notice] Apache/2.2.4 (Linux/SUSE) PHP/5.2.5 with Suhosin-Patch configured -- resuming normal operations
[Thu May 15 20:56:22 2008] [notice] caught SIGTERM, shutting down
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/extensions/mcrypt.so' - libmcrypt.so.4: cannot open shared object file: No such file or directory in Unknown on line 0
[Thu May 15 22:42:21 2008] [notice] Apache/2.2.4 (Linux/SUSE) PHP/5.2.6 with Suhosin-Patch configured -- resuming normal operations
[Thu May 15 22:43:34 2008] [notice] caught SIGTERM, shutting down
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/extensions/mcrypt.so' - libmcrypt.so.4: cannot open shared object file: No such file or directory in Unknown on line 0
[Fri May 16 11:34:25 2008] [notice] Apache/2.2.4 (Linux/SUSE) PHP/5.2.6 with Suhosin-Patch configured -- resuming normal operations
[Fri May 16 11:37:07 2008] [notice] caught SIGTERM, shutting down
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/extensions/mcrypt.so' - libmcrypt.so.4: cannot open shared object file: No such file or directory in Unknown on line 0
[Sat May 17 22:02:57 2008] [notice] Apache/2.2.4 (Linux/SUSE) PHP/5.2.6 with Suhosin-Patch configured -- resuming normal operations
[Sat May 17 22:06:07 2008] [error] [client 127.0.0.1] script '/srv/www/htdocs/index.php' not found or unable to stat
[Sat May 17 22:09:24 2008] [notice] caught SIGTERM, shutting down
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/extensions/mcrypt.so' - libmcrypt.so.4: cannot open shared object file: No such file or directory in Unknown on line 0
[Sat May 17 22:09:25 2008] [notice] Apache/2.2.4 (Linux/SUSE) PHP/5.2.6 with Suhosin-Patch configured -- resuming normal operations
[Sat May 17 22:10:04 2008] [error] [client 127.0.0.1] attempt to invoke directory as script: /srv/www/cgi-bin/
[Sat May 17 22:24:21 2008] [notice] caught SIGTERM, shutting down
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/extensions/mcrypt.so' - libmcrypt.so.4: cannot open shared object file: No such file or directory in Unknown on line 0
[Sat May 17 22:24:22 2008] [notice] Apache/2.2.4 (Linux/SUSE) PHP/5.2.6 with Suhosin-Patch configured -- resuming normal operations
Minton писал(а): ↑09.12.2008 11:52Заголовка нету - велика беда, вы уверены, это это именно пхп глючит, а не вы не подгрузили какие-то ещё библиотеки? Вы уверены, что ваш код корректен для пхп5?
http://php.mirror.camelnetwork.com/manual/....migration5.php