Сидел долго на Денвере, но решил сам настроить апач+пхп+майскл. Долблюсь уже долго, море мануалов перечитал, несколько версий перепробовал - в итоге фейл.
Добился, чтобы Апач работал, но подключить к нему ПХП не удается. На данный момент поставил дистрибутив Apache 2.4.3 for win32 Thread Safe VC9.
Качал отсюда: http://www[dot]apachelounge[dot]com/download/
ПХП брал отсюда: http://windows.php.net/download/#php-5.4
Там пишут, что для Апача нужна версия VC6. Там VC6 есть только php 5.2. Пробовал и ее ставить - не вышло. Тут тип пишет, что ставил VC9 на Апач: http://www[dot]devraju[dot]com/php/insta[dot][dot][dot]-bit-of-windows/
Сделал все по его инструкции.
В итоге получил такой лог в error.log:
Цитата:AH00558: httpd.exe: Could not reliably determine the server's fully qualified domain name, using 192.168.1.2. Set the 'ServerName' directive globally to suppress this message
[Sat Aug 25 14:10:18.390625 2012] [mpm_winnt:notice] [pid 1196:tid 292] AH00455: Apache/2.4.3 (Win32) PHP/5.4.6 configured -- resuming normal operations
[Sat Aug 25 14:10:18.406250 2012] [mpm_winnt:notice] [pid 1196:tid 292] AH00456: Server built: Aug 18 2012 12:41:37
[Sat Aug 25 14:10:18.406250 2012] [core:notice] [pid 1196:tid 292] AH00094: Command line: 'D:\\etc\\Apache\\bin\\httpd.exe -d D:/etc/Apache'
[Sat Aug 25 14:10:18.406250 2012] [mpm_winnt:notice] [pid 1196:tid 292] AH00418: Parent: Created child process 3596
AH00558: httpd.exe: Could not reliably determine the server's fully qualified domain name, using 192.168.1.2. Set the 'ServerName' directive globally to suppress this message
AH00558: httpd.exe: Could not reliably determine the server's fully qualified domain name, using 192.168.1.2. Set the 'ServerName' directive globally to suppress this message
[Sat Aug 25 14:10:19.281250 2012] [mpm_winnt:notice] [pid 3596:tid 1780] AH00354: Child: Starting 64 worker threads.
Т.е. что-то с ServerName в httpd.conf.
На одном форуме советовали ServerName поменять с localhost:80 на :80. Эффекта никакого.
Буду благодарен за любые мысли!
Если кто знает, киньте гарантированно рабочую связку версий апач+пхп. (Отредактировано автором: 25 Августа, 2012 - 14:57:35)
|