Поиск:

Ответ в темуСоздание новой темы Создание опроса
> Настраиваю Апач 2.2.8, 500 Internal Server Error 
:(
    Опции темы
almagnit
Дата 3.5.2008, 12:24 (ссылка) | (нет голосов) Загрузка ... Загрузка ... Быстрая цитата Цитата


Опытный
**


Профиль
Группа: Участник
Сообщений: 283
Регистрация: 3.4.2008

Репутация: нет
Всего: 7



Установил "Святую троицу" Apache, PHP, MySQL

Сконфигурировал как обычно, при попытке открыть http://localhost/index.php

получаю следующее:

Код

[SIZE=6]Internal Server Error[/SIZE]

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, @ and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.




До этого никогда такого в глаза не видел, в каком конфигурационном файле может быть ошибка ?

И если можно, то в какой части файла.

P.S.

          Открытие http://localhost/index.html работает корректно.



M
MoLeX
Модератор: и каким боком настройка относится к программированию на РНР?


Это сообщение отредактировал(а) MoLeX - 4.5.2008, 05:53
PM MAIL ICQ   Вверх
Canarat
Дата 3.5.2008, 12:43 (ссылка) | (нет голосов) Загрузка ... Загрузка ... Быстрая цитата Цитата


Бывалый
*


Профиль
Группа: Участник
Сообщений: 212
Регистрация: 11.3.2008
Где: Каспий

Репутация: нет
Всего: 5



Каким боком это относится непосредственно к языку РНР?

Посмотри error.log, там и узнаешь все что нужно о проблеме.
PM MAIL   Вверх
almagnit
Дата 3.5.2008, 14:20 (ссылка) | (нет голосов) Загрузка ... Загрузка ... Быстрая цитата Цитата


Опытный
**


Профиль
Группа: Участник
Сообщений: 283
Регистрация: 3.4.2008

Репутация: нет
Всего: 7



Вот error.log

Может у кого глаз лучше "пристрелян", глянте на вскидку.

Код

Starting the Apache2.2 service
The Apache2.2 service is running.
rmine the server's fully qualified domain name, using 77.52.82.34 for ServerName
[Sat May 03 11:11:43 2008] [notice] Apache/2.2.8 (Win32) configured -- resuming normal operations
[Sat May 03 11:11:43 2008] [notice] Server built: Jan 18 2008 00:37:19
[Sat May 03 11:11:43 2008] [notice] Parent: Created child process 1180
httpd.exe: Could not reliably determine the server's fully qualified domain name, using 77.52.82.34 for ServerName
httpd.exe: Could not reliably determine the server's fully qualified domain name, using 77.52.82.34 for ServerName
[Sat May 03 11:11:44 2008] [notice] Child 1180: Child process is running
[Sat May 03 11:11:44 2008] [notice] Child 1180: Acquired the start mutex.
[Sat May 03 11:11:44 2008] [notice] Child 1180: Starting 64 worker threads.
[Sat May 03 11:11:44 2008] [notice] Child 1180: Starting thread to listen on port 80.
[Sat May 03 11:12:26 2008] [error] [client 127.0.0.1] File does not exist: D:/Install/SERVER/APACHE/Apache2.2/htdocs/favicon.ico, referer: http://localhost/index.php
[Sat May 03 11:18:00 2008] [error] [client 127.0.0.1] File does not exist: D:/Install/SERVER/APACHE/Apache2.2/htdocs/favicon.ico, referer: http://localhost/index.html
[Sat May 03 11:18:02 2008] [notice] Parent: Received restart signal -- Restarting the server.
[Sat May 03 11:18:02 2008] [notice] Child 1180: Exit event signaled. Child process is ending.
[Sat May 03 11:18:03 2008] [notice] Child 1180: Released the start mutex
[Sat May 03 11:18:06 2008] [notice] Child 1180: All worker threads have exited.
[Sat May 03 11:18:07 2008] [notice] Child 1180: Child process is exiting
httpd.exe: Could not reliably determine the server's fully qualified domain name, using 77.52.82.34 for ServerName
[Sat May 03 11:18:08 2008] [notice] Apache/2.2.8 (Win32) configured -- resuming normal operations
[Sat May 03 11:18:08 2008] [notice] Server built: Jan 18 2008 00:37:19
[Sat May 03 11:18:09 2008] [notice] Parent: Created child process 1428
httpd.exe: Could not reliably determine the server's fully qualified domain name, using 77.52.82.34 for ServerName
httpd.exe: Could not reliably determine the server's fully qualified domain name, using 77.52.82.34 for ServerName
[Sat May 03 11:18:10 2008] [notice] Child 1428: Child process is running
[Sat May 03 11:18:10 2008] [notice] Child 1428: Acquired the start mutex.
[Sat May 03 11:18:10 2008] [notice] Child 1428: Starting 64 worker threads.
[Sat May 03 11:18:10 2008] [notice] Child 1428: Starting thread to listen on port 80.
[Sat May 03 11:18:17 2008] [error] [client 127.0.0.1] client denied by server configuration: C:/Server
[Sat May 03 11:19:42 2008] [notice] Parent: Received restart signal -- Restarting the server.
[Sat May 03 11:19:42 2008] [notice] Child 1428: Exit event signaled. Child process is ending.
httpd.exe: Could not reliably determine the server's fully qualified domain name, using 77.52.82.34 for ServerName
[Sat May 03 11:19:42 2008] [notice] Apache/2.2.8 (Win32) configured -- resuming normal operations
[Sat May 03 11:19:42 2008] [notice] Server built: Jan 18 2008 00:37:19
[Sat May 03 11:19:42 2008] [notice] Parent: Created child process 2632
httpd.exe: Could not reliably determine the server's fully qualified domain name, using 77.52.82.34 for ServerName
httpd.exe: Could not reliably determine the server's fully qualified domain name, using 77.52.82.34 for ServerName
[Sat May 03 11:19:42 2008] [notice] Child 2632: Child process is running
[Sat May 03 11:19:43 2008] [notice] Child 1428: Released the start mutex
[Sat May 03 11:19:43 2008] [notice] Child 2632: Acquired the start mutex.
[Sat May 03 11:19:43 2008] [notice] Child 2632: Starting 64 worker threads.
[Sat May 03 11:19:44 2008] [notice] Child 1428: All worker threads have exited.
[Sat May 03 11:19:44 2008] [notice] Child 1428: Child process is exiting
[Sat May 03 11:19:44 2008] [notice] Child 2632: Starting thread to listen on port 80.
[Sat May 03 11:19:48 2008] [error] [client 127.0.0.1] client denied by server configuration: D:/Install/SERVER/PHP/php.exe
[Sat May 03 11:19:48 2008] [error] [client 127.0.0.1] File does not exist: D:/Install/SERVER/APACHE/Apache2.2/htdocs/favicon.ico, referer: http://localhost/index.php
[Sat May 03 11:19:50 2008] [error] [client 127.0.0.1] client denied by server configuration: D:/Install/SERVER/PHP/php.exe
[Sat May 03 11:19:50 2008] [error] [client 127.0.0.1] File does not exist: D:/Install/SERVER/APACHE/Apache2.2/htdocs/favicon.ico, referer: http://localhost/index.php
[Sat May 03 11:19:57 2008] [notice] Parent: Received restart signal -- Restarting the server.
[Sat May 03 11:19:57 2008] [notice] Child 2632: Exit event signaled. Child process is ending.
httpd.exe: Could not reliably determine the server's fully qualified domain name, using 77.52.82.34 for ServerName
[Sat May 03 11:19:57 2008] [notice] Apache/2.2.8 (Win32) configured -- resuming normal operations
[Sat May 03 11:19:57 2008] [notice] Server built: Jan 18 2008 00:37:19
[Sat May 03 11:19:57 2008] [notice] Parent: Created child process 2948
httpd.exe: Could not reliably determine the server's fully qualified domain name, using 77.52.82.34 for ServerName
httpd.exe: Could not reliably determine the server's fully qualified domain name, using 77.52.82.34 for ServerName
[Sat May 03 11:19:57 2008] [notice] Child 2948: Child process is running
[Sat May 03 11:19:58 2008] [notice] Child 2948: Acquired the start mutex.
[Sat May 03 11:19:58 2008] [notice] Child 2948: Starting 64 worker threads.
[Sat May 03 11:19:58 2008] [notice] Child 2632: Released the start mutex
[Sat May 03 11:19:59 2008] [notice] Child 2632: All worker threads have exited.
[Sat May 03 11:19:59 2008] [notice] Child 2632: Child process is exiting
[Sat May 03 11:19:59 2008] [notice] Child 2948: Starting thread to listen on port 80.
[Sat May 03 11:20:08 2008] [error] [client 127.0.0.1] client denied by server configuration: D:/Install/SERVER/PHP/php.exe
[Sat May 03 11:20:08 2008] [error] [client 127.0.0.1] File does not exist: D:/Install/SERVER/APACHE/Apache2.2/htdocs/favicon.ico, referer: http://localhost/index.php
[Sat May 03 11:21:06 2008] [notice] Parent: Received restart signal -- Restarting the server.
[Sat May 03 11:21:06 2008] [notice] Child 2948: Exit event signaled. Child process is ending.
httpd.exe: Could not reliably determine the server's fully qualified domain name, using 77.52.82.34 for ServerName
[Sat May 03 11:21:06 2008] [notice] Apache/2.2.8 (Win32) configured -- resuming normal operations
[Sat May 03 11:21:06 2008] [notice] Server built: Jan 18 2008 00:37:19
[Sat May 03 11:21:06 2008] [notice] Parent: Created child process 2580
httpd.exe: Could not reliably determine the server's fully qualified domain name, using 77.52.82.34 for ServerName
httpd.exe: Could not reliably determine the server's fully qualified domain name, using 77.52.82.34 for ServerName
[Sat May 03 11:21:07 2008] [notice] Child 2580: Child process is running
[Sat May 03 11:21:07 2008] [notice] Child 2948: Released the start mutex
[Sat May 03 11:21:07 2008] [notice] Child 2580: Acquired the start mutex.
[Sat May 03 11:21:07 2008] [notice] Child 2580: Starting 64 worker threads.
[Sat May 03 11:21:08 2008] [notice] Child 2948: All worker threads have exited.
[Sat May 03 11:21:08 2008] [notice] Child 2948: Child process is exiting
[Sat May 03 11:21:08 2008] [notice] Child 2580: Starting thread to listen on port 80.
[Sat May 03 11:21:11 2008] [error] [client 127.0.0.1] File does not exist: D:/Install/SERVER/APACHE/Apache2.2/htdocs/PHP
[Sat May 03 11:21:11 2008] [error] [client 127.0.0.1] File does not exist: D:/Install/SERVER/APACHE/Apache2.2/htdocs/favicon.ico, referer: http://localhost/index.php
[Sat May 03 11:23:01 2008] [notice] Parent: Received restart signal -- Restarting the server.
[Sat May 03 11:23:01 2008] [notice] Child 2580: Exit event signaled. Child process is ending.
httpd.exe: Syntax error on line 237 of D:/Install/SERVER/APACHE/Apache2.2/conf/httpd.conf: </Directory> without matching <Directory> section
[Sat May 03 11:23:01 2008] [warn] (OS 995)Операция ввода/вывода была прервана из-за завершения потока команд или по запросу приложения.  : winnt_accept: Asynchronous AcceptEx failed.
[Sat May 03 11:23:02 2008] [notice] Child 2580: Released the start mutex
[Sat May 03 11:23:03 2008] [notice] Child 2580: All worker threads have exited.
[Sat May 03 11:23:03 2008] [notice] Child 2580: Child process is exiting
httpd.exe: Could not reliably determine the server's fully qualified domain name, using 77.52.82.34 for ServerName
[Sat May 03 11:24:29 2008] [warn] pid file D:/Install/SERVER/APACHE/Apache2.2/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Sat May 03 11:24:29 2008] [notice] Apache/2.2.8 (Win32) configured -- resuming normal operations
[Sat May 03 11:24:29 2008] [notice] Server built: Jan 18 2008 00:37:19
[Sat May 03 11:24:29 2008] [notice] Parent: Created child process 3624
httpd.exe: Could not reliably determine the server's fully qualified domain name, using 77.52.82.34 for ServerName
httpd.exe: Could not reliably determine the server's fully qualified domain name, using 77.52.82.34 for ServerName
[Sat May 03 11:24:29 2008] [notice] Child 3624: Child process is running
[Sat May 03 11:24:29 2008] [notice] Child 3624: Acquired the start mutex.
[Sat May 03 11:24:29 2008] [notice] Child 3624: Starting 64 worker threads.
[Sat May 03 11:24:29 2008] [notice] Child 3624: Starting thread to listen on port 80.
[Sat May 03 11:24:37 2008] [error] [client 127.0.0.1] Premature end of script headers: php.exe
[Sat May 03 11:24:39 2008] [error] [client 127.0.0.1] File does not exist: D:/Install/SERVER/APACHE/Apache2.2/htdocs/favicon.ico, referer: http://localhost/index.php
[Sat May 03 11:26:38 2008] [error] [client 127.0.0.1] Premature end of script headers: php.exe
[Sat May 03 11:26:38 2008] [error] [client 127.0.0.1] File does not exist: D:/Install/SERVER/APACHE/Apache2.2/htdocs/favicon.ico, referer: http://localhost/index.php
[Sat May 03 11:27:36 2008] [notice] Parent: Received restart signal -- Restarting the server.
[Sat May 03 11:27:36 2008] [notice] Child 3624: Exit event signaled. Child process is ending.
httpd.exe: Could not reliably determine the server's fully qualified domain name, using 77.52.82.34 for ServerName
[Sat May 03 11:27:36 2008] [notice] Apache/2.2.8 (Win32) configured -- resuming normal operations
[Sat May 03 11:27:36 2008] [notice] Server built: Jan 18 2008 00:37:19
[Sat May 03 11:27:36 2008] [notice] Parent: Created child process 4036
httpd.exe: Could not reliably determine the server's fully qualified domain name, using 77.52.82.34 for ServerName
httpd.exe: Could not reliably determine the server's fully qualified domain name, using 77.52.82.34 for ServerName
[Sat May 03 11:27:37 2008] [notice] Child 4036: Child process is running
[Sat May 03 11:27:37 2008] [notice] Child 3624: Released the start mutex
[Sat May 03 11:27:37 2008] [notice] Child 4036: Acquired the start mutex.
[Sat May 03 11:27:37 2008] [notice] Child 4036: Starting 64 worker threads.
[Sat May 03 11:27:37 2008] [notice] Child 4036: Starting thread to listen on port 80.
[Sat May 03 11:27:38 2008] [notice] Child 3624: All worker threads have exited.
[Sat May 03 11:27:38 2008] [notice] Child 3624: Child process is exiting
[Sat May 03 11:27:53 2008] [error] [client 127.0.0.1] Premature end of script headers: php.exe
[Sat May 03 11:27:53 2008] [error] [client 127.0.0.1] File does not exist: D:/Install/SERVER/APACHE/Apache2.2/htdocs/favicon.ico, referer: http://localhost/index.php
[Sat May 03 11:29:40 2008] [error] [client 127.0.0.1] Premature end of script headers: php.exe
[Sat May 03 11:29:48 2008] [error] [client 127.0.0.1] File does not exist: D:/Install/SERVER/APACHE/Apache2.2/htdocs/favicon.ico, referer: http://localhost/index.php
[Sat May 03 11:30:50 2008] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Sat May 03 11:30:50 2008] [notice] Child 4036: Exit event signaled. Child process is ending.
[Sat May 03 11:30:51 2008] [notice] Child 4036: Released the start mutex
[Sat May 03 11:30:53 2008] [notice] Child 4036: All worker threads have exited.
[Sat May 03 11:30:54 2008] [notice] Child 4036: Child process is exiting
[Sat May 03 11:30:55 2008] [notice] Parent: Child process exited successfully.

PM MAIL ICQ   Вверх
Canarat
Дата 3.5.2008, 14:45 (ссылка) | (нет голосов) Загрузка ... Загрузка ... Быстрая цитата Цитата


Бывалый
*


Профиль
Группа: Участник
Сообщений: 212
Регистрация: 11.3.2008
Где: Каспий

Репутация: нет
Всего: 5



[Sat May 03 11:29:40 2008] [error] [client 127.0.0.1] Premature end of script headers: php.exe 

Это что ещё такое? Как подключен РНР к апачу?
PM MAIL   Вверх
almagnit
Дата 3.5.2008, 15:31 (ссылка) | (нет голосов) Загрузка ... Загрузка ... Быстрая цитата Цитата


Опытный
**


Профиль
Группа: Участник
Сообщений: 283
Регистрация: 3.4.2008

Репутация: нет
Всего: 7



Вот, то место в конфигурационном файле апача, где я определяю поддержку РНР

Код

AddType application/x-httpd-php php phtml
ScriptAlias /_php_/ "C:/Server/PHP/"
Action application/x-httpd-php "/_php_/php.exe" 


PM MAIL ICQ   Вверх
Feldmarschall
Дата 3.5.2008, 16:01 (ссылка) | (нет голосов) Загрузка ... Загрузка ... Быстрая цитата Цитата


Новичок
****


Профиль
Группа: Участник
Сообщений: 2641
Регистрация: 11.12.2007

Репутация: 1
Всего: 32



подключай, как модуль.
а то ты так даже ошибки пхп не видишь
PM   Вверх
  
Ответ в темуСоздание новой темы Создание опроса
0 Пользователей читают эту тему (0 Гостей и 0 Скрытых Пользователей)
0 Пользователей:
« Предыдущая тема | Администрирование Web серверов и Web служб | Следующая тема »


 




[ Время генерации скрипта: 0.0543 ]   [ Использовано запросов: 21 ]   [ GZIP включён ]


Реклама на сайте     Информационное спонсорство

 
По вопросам размещения рекламы пишите на vladimir(sobaka)vingrad.ru
Отказ от ответственности     Powered by Invision Power Board(R) 1.3 © 2003  IPS, Inc.