Форум русскоязычного сообщества Ubuntu


Увидели сообщение с непонятной ссылкой, спам, непристойность или оскорбление?
Воспользуйтесь ссылкой «Сообщить модератору» рядом с сообщением!

Автор Тема: Не интерпритируется php5 в Apache2  (Прочитано 9344 раз)

0 Пользователей и 1 Гость просматривают эту тему.

Оффлайн aracul

  • Автор темы
  • Новичок
  • *
  • Сообщений: 31
    • Просмотр профиля
Re: Не интерпритируется php5 в Apache2
« Ответ #60 : 23 Марта 2011, 18:47:56 »
не работает = предлагает скачать файл, а не интерпритирует его...  test.php - просто пустой лист....
root@vip-test1:/home/pavel# tail -n 30 /var/log/apache2/error.log
[Wed Mar 23 16:23:12 2011] [notice] Apache/2.2.16 (Ubuntu) configured -- resuming normal operations
[Wed Mar 23 16:23:14 2011] [notice] Graceful restart requested, doing restart
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
[Wed Mar 23 16:23:14 2011] [notice] Apache/2.2.16 (Ubuntu) configured -- resuming normal operations
[Wed Mar 23 16:35:53 2011] [notice] SIGHUP received.  Attempting to restart
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php5/20090626/mcrypt.so' - /usr/lib/php5/20090626/mcrypt.so: cannot open shared object file: No such file or directory in Unknown on line 0
[Wed Mar 23 16:35:53 2011] [notice] Apache/2.2.16 (Ubuntu) PHP/5.3.3-1ubuntu9.3 with Suhosin-Patch configured -- resuming normal operations
[Wed Mar 23 18:02:38 2011] [notice] Graceful restart requested, doing restart
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
[Wed Mar 23 18:02:38 2011] [notice] Apache/2.2.16 (Ubuntu) PHP/5.3.3-1ubuntu9.3 with Suhosin-Patch configured -- resuming normal operations
[Wed Mar 23 18:03:37 2011] [error] [client 192.168.137.241] PHP Fatal error:  Call to undefined function info() in /var/www/test.php on line 1
[Wed Mar 23 18:03:49 2011] [error] [client 127.0.0.1] PHP Fatal error:  Call to undefined function info() in /var/www/test.php on line 1
[Wed Mar 23 18:03:52 2011] [error] [client 127.0.0.1] File does not exist: /var/www/favicon.ico
[Wed Mar 23 18:05:57 2011] [notice] SIGHUP received.  Attempting to restart
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
[Wed Mar 23 18:05:57 2011] [notice] Apache/2.2.16 (Ubuntu) PHP/5.3.3-1ubuntu9.3 with Suhosin-Patch configured -- resuming normal operations
[Wed Mar 23 18:06:04 2011] [error] [client 192.168.137.241] PHP Fatal error:  Call to undefined function info() in /var/www/test.php on line 1
[Wed Mar 23 18:36:03 2011] [notice] SIGHUP received.  Attempting to restart
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
[Wed Mar 23 18:36:04 2011] [notice] Apache/2.2.16 (Ubuntu) PHP/5.3.3-1ubuntu9.3 with Suhosin-Patch configured -- resuming normal operations
[Wed Mar 23 18:36:18 2011] [error] [client 127.0.0.1] PHP Fatal error:  Call to undefined function info() in /var/www/test.php on line 1
[Wed Mar 23 18:37:19 2011] [notice] caught SIGTERM, shutting down
[Wed Mar 23 18:37:20 2011] [notice] Apache/2.2.16 (Ubuntu) PHP/5.3.3-1ubuntu9.3 with Suhosin-Patch configured -- resuming normal operations
root@vip-test1:/home/pavel# tail -n 30 /var/log/apache2/access.log
127.0.0.1 - - [23/Mar/2011:16:23:14 +0300] "OPTIONS * HTTP/1.0" 200 152 "-" "Apache/2.2.16 (Ubuntu) (internal dummy connection)"
127.0.0.1 - - [23/Mar/2011:16:23:14 +0300] "OPTIONS * HTTP/1.0" 200 152 "-" "Apache/2.2.16 (Ubuntu) (internal dummy connection)"
127.0.0.1 - - [23/Mar/2011:16:23:14 +0300] "OPTIONS * HTTP/1.0" 200 152 "-" "Apache/2.2.16 (Ubuntu) (internal dummy connection)"
127.0.0.1 - - [23/Mar/2011:16:23:14 +0300] "OPTIONS * HTTP/1.0" 200 152 "-" "Apache/2.2.16 (Ubuntu) (internal dummy connection)"
127.0.0.1 - - [23/Mar/2011:16:23:14 +0300] "OPTIONS * HTTP/1.0" 200 152 "-" "Apache/2.2.16 (Ubuntu) (internal dummy connection)"
192.168.137.241 - - [23/Mar/2011:16:36:03 +0300] "GET /scan/index.cgi?page=scan HTTP/1.1" 304 190 "-" "Mozilla/5.0 (Windows; U; Windows NT 6.1; ru; rv:1.9.2.15) Gecko/20110303 Firefox/3.6.15"
192.168.137.241 - - [23/Mar/2011:16:36:06 +0300] "GET /scan/index.cgi?page=scan HTTP/1.1" 304 189 "-" "Mozilla/5.0 (Windows; U; Windows NT 6.1; ru; rv:1.9.2.15) Gecko/20110303 Firefox/3.6.15"
192.168.137.241 - - [23/Mar/2011:16:36:07 +0300] "GET /scan/index.cgi?page=scan HTTP/1.1" 304 189 "-" "Mozilla/5.0 (Windows; U; Windows NT 6.1; ru; rv:1.9.2.15) Gecko/20110303 Firefox/3.6.15"
192.168.137.241 - - [23/Mar/2011:16:36:08 +0300] "GET /scan/index.cgi?page=scan HTTP/1.1" 304 189 "-" "Mozilla/5.0 (Windows; U; Windows NT 6.1; ru; rv:1.9.2.15) Gecko/20110303 Firefox/3.6.15"
192.168.137.241 - - [23/Mar/2011:16:36:08 +0300] "GET /scan/index.cgi?page=scan HTTP/1.1" 304 189 "-" "Mozilla/5.0 (Windows; U; Windows NT 6.1; ru; rv:1.9.2.15) Gecko/20110303 Firefox/3.6.15"
192.168.137.241 - - [23/Mar/2011:16:36:08 +0300] "GET /scan/index.cgi?page=scan HTTP/1.1" 304 189 "-" "Mozilla/5.0 (Windows; U; Windows NT 6.1; ru; rv:1.9.2.15) Gecko/20110303 Firefox/3.6.15"
192.168.137.241 - - [23/Mar/2011:16:36:09 +0300] "GET /scan/index.cgi?page=scan HTTP/1.1" 304 189 "-" "Mozilla/5.0 (Windows; U; Windows NT 6.1; ru; rv:1.9.2.15) Gecko/20110303 Firefox/3.6.15"
192.168.137.241 - - [23/Mar/2011:16:44:46 +0300] "GET /scan/index.cgi?page=scan HTTP/1.1" 304 190 "-" "Mozilla/5.0 (Windows; U; Windows NT 6.1; ru; rv:1.9.2.15) Gecko/20110303 Firefox/3.6.15"
127.0.0.1 - - [23/Mar/2011:18:02:38 +0300] "OPTIONS * HTTP/1.0" 200 152 "-" "Apache/2.2.16 (Ubuntu) (internal dummy connection)"
127.0.0.1 - - [23/Mar/2011:18:02:38 +0300] "OPTIONS * HTTP/1.0" 200 152 "-" "Apache/2.2.16 (Ubuntu) (internal dummy connection)"
127.0.0.1 - - [23/Mar/2011:18:02:38 +0300] "OPTIONS * HTTP/1.0" 200 152 "-" "Apache/2.2.16 (Ubuntu) (internal dummy connection)"
127.0.0.1 - - [23/Mar/2011:18:02:38 +0300] "OPTIONS * HTTP/1.0" 200 152 "-" "Apache/2.2.16 (Ubuntu) (internal dummy connection)"
127.0.0.1 - - [23/Mar/2011:18:02:38 +0300] "OPTIONS * HTTP/1.0" 200 152 "-" "Apache/2.2.16 (Ubuntu) (internal dummy connection)"
127.0.0.1 - - [23/Mar/2011:18:02:38 +0300] "OPTIONS * HTTP/1.0" 200 152 "-" "Apache/2.2.16 (Ubuntu) (internal dummy connection)"
192.168.137.241 - - [23/Mar/2011:18:03:37 +0300] "GET /test.php HTTP/1.1" 500 274 "-" "Mozilla/5.0 (Windows; U; Windows NT 6.1; ru; rv:1.9.2.15) Gecko/20110303 Firefox/3.6.15"
127.0.0.1 - - [23/Mar/2011:18:03:49 +0300] "GET /test.php HTTP/1.1" 500 274 "-" "Mozilla/5.0 (X11; U; Linux x86_64; ru; rv:1.9.2.15) Gecko/20110303 Ubuntu/10.10 (maverick) Firefox/3.6.15"
127.0.0.1 - - [23/Mar/2011:18:03:52 +0300] "GET /favicon.ico HTTP/1.1" 404 501 "-" "Mozilla/5.0 (X11; U; Linux x86_64; ru; rv:1.9.2.15) Gecko/20110303 Ubuntu/10.10 (maverick) Firefox/3.6.15"
127.0.0.1 - - [23/Mar/2011:18:03:58 +0300] "GET /scan HTTP/1.1" 301 547 "-" "Mozilla/5.0 (X11; U; Linux x86_64; ru; rv:1.9.2.15) Gecko/20110303 Ubuntu/10.10 (maverick) Firefox/3.6.15"
127.0.0.1 - - [23/Mar/2011:18:03:58 +0300] "GET /scan/ HTTP/1.1" 200 11443 "-" "Mozilla/5.0 (X11; U; Linux x86_64; ru; rv:1.9.2.15) Gecko/20110303 Ubuntu/10.10 (maverick) Firefox/3.6.15"
192.168.137.241 - - [23/Mar/2011:18:06:04 +0300] "GET /test.php HTTP/1.1" 500 274 "-" "Mozilla/5.0 (Windows; U; Windows NT 6.1; ru; rv:1.9.2.15) Gecko/20110303 Firefox/3.6.15"
192.168.137.241 - - [23/Mar/2011:18:06:16 +0300] "GET / HTTP/1.1" 200 485 "-" "Mozilla/5.0 (Windows; U; Windows NT 6.1; ru; rv:1.9.2.15) Gecko/20110303 Firefox/3.6.15"
127.0.0.1 - - [23/Mar/2011:18:36:18 +0300] "GET /test.php HTTP/1.1" 500 274 "-" "Mozilla/5.0 (X11; U; Linux x86_64; ru; rv:1.9.2.15) Gecko/20110303 Ubuntu/10.10 (maverick) Firefox/3.6.15"

Пользователь решил продолжить мысль 23 Марта 2011, 18:57:16:
после глобального рестарта серва заработало))))
всем ОГРОМНОЕ СПАСИБО!
но пока только в localhost

Пользователь решил продолжить мысль 23 Марта 2011, 21:32:04:
добил... теперь все фурычит как надо.
ВСЕМ ЕЩЕ РАЗ СПАСИБО!
« Последнее редактирование: 23 Марта 2011, 21:32:04 от aracul »

 

Страница сгенерирована за 0.019 секунд. Запросов: 22.