![]() |
PHP: Premature end of script headers
Установил апач и ПХП. В конф Апача подключил ПХП так:
AddType application/x-httpd-php php phtml ScriptAlias /_php_/ "C:/Server/PHP/" Action application/x-httpd-php "/_php_/php.exe" Кинул в локалхост phpmy admin, после чего при открытии в браузере выдает 500-ую ошибку: Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, me@localhost 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. Посмотрел error.log и увидел такое: [Tue Dec 27 21:31:47 2005] [error] [client 127.0.0.1] Premature end of script headers: php-win.exe, referer: http://localhost/phpMyAdmin/ [Tue Dec 27 21:31:47 2005] [error] [client 127.0.0.1] File does not exist: C:/Sites/home/localhost/www/favicon.ico, referer: http://localhost/phpMyAdmin/index.php подскажите в чем тут проблемы? |
попробуй прописать php-cgi.exe взамен php.exe
|
лучше через модули попробуй,
+ содержимое скрипта бы |
судя по добавленной репутации, проблема решилась :)
хотя подключить РНР как модуль действительно правильней |
| Часовой пояс GMT +4, время: 01:53. |
Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.