Версия для печати темы
Нажмите сюда для просмотра этой темы в оригинальном формате
Форум программистов > PHP: Общие вопросы > Конфликт php5.3 и апача


Автор: Dima50 29.8.2009, 17:50
привет

Сегодня весь вечер вооюю с php5.3.  Конфликтует с апачем устанавливаться не хочет и все.

Система:
  • Система windows XP
  • Apache 2.2.13

Что пришет:
Неизменно при запуске апача мне вылетаем MessageBox:
An unhandled win32 exception occured in httpd.exeтра ля-ля ля No instaled debugger has Jast in Time debuging enabled

Более точно посмотреть не могу. Видимо я убрал с компа Visula Studion и вместе с ней убрался и дебагер.

error.log:
Код

Starting the Apache2.2 service
The Apache2.2 service is running.
] Apache/2.2.13 (Win32) configured -- resuming normal operations

[Sat Aug 29 21:06:11 2009] [notice] Server built: Aug  6 2009 15:50:50

[Sat Aug 29 21:06:11 2009] [notice] Parent: Created child process 2488

[Sat Aug 29 21:06:11 2009] [notice] Child 2488: Child process is running

[Sat Aug 29 21:06:11 2009] [notice] Child 2488: Acquired the start mutex.

[Sat Aug 29 21:06:11 2009] [notice] Child 2488: Starting 64 worker threads.

[Sat Aug 29 21:06:11 2009] [notice] Child 2488: Starting thread to listen on port 80.

[Sat Aug 29 21:36:15 2009] [notice] Parent: Received restart signal -- Restarting the server.

[Sat Aug 29 21:36:15 2009] [notice] Child 2488: Exit event signaled. Child process is ending.

[Sat Aug 29 21:36:16 2009] [notice] Apache/2.2.13 (Win32) configured -- resuming normal operations

[Sat Aug 29 21:36:16 2009] [notice] Server built: Aug  6 2009 15:50:50

[Sat Aug 29 21:36:16 2009] [notice] Parent: Created child process 2296

[Sat Aug 29 21:36:16 2009] [notice] Child 2488: Released the start mutex

[Sat Aug 29 21:36:17 2009] [notice] Child 2488: All worker threads have exited.

[Sat Aug 29 21:36:17 2009] [notice] Child 2488: Child process is exiting

[Sat Aug 29 21:42:32 2009] [crit] (OS 6)Неверный дескриптор.  : master_main: create child process failed. Exiting.

[Sat Aug 29 21:42:32 2009] [notice] Parent: Forcing termination of child process 36 



Как устанавливал:


Скопировал PHP в папку C:/php5, PATH = C:/php5

httpd.conf

Код

#################################################################################
#Adding type for php5
AddType application/x-httpd-php .php
#May be creating variable for php ini
PHPIniDir "C:/php5"
# I'm adding php5 to this Apache
LoadModule php5_module "C:/php5/php5apache2_2.dll"
#LoadModule php5_module "C:/php5/php5apache2_2.dll"
#################################################################################



  PHP 5.2.4 работает без косяков.
Уже провал и Thread Safe и NON Thread Safe

Мистика  smile 





Автор: nerezus 29.8.2009, 18:29
PHP скомпилен VC6 или VC9?
С апачем работает VC6 версия.

А вообще скачай XAMPP.

Автор: Dima50 29.8.2009, 18:41
Все скомпилено было на VC9. Сей час буду закачивать VC6. Спасибо за совет.

Автор: Dima50 29.8.2009, 18:57
Итак скачано php-5.3.0-nts-VC6-x86.zip

Запускаю апач - перо в трее  с красной точкой (что-то не работает).

В трей левой копкой - запустить: MessageBox Error: The requested operation had failed!

Код

[Sat Aug 29 22:47:30 2009] [notice] Parent: Received shutdown signal -- Shutting down the server.

[Sat Aug 29 22:47:30 2009] [notice] Child 864: Exit event signaled. Child process is ending.

[Sat Aug 29 22:47:31 2009] [notice] Child 864: Released the start mutex

[Sat Aug 29 22:47:32 2009] [notice] Child 864: All worker threads have exited.

[Sat Aug 29 22:47:32 2009] [notice] Child 864: Child process is exiting

[Sat Aug 29 22:47:32 2009] [notice] Parent: Child process exited successfully.



 smile 


Автор: nerezus 29.8.2009, 20:40
Я бы просто юзал XAMPP. Как вариант.

5.3 юзал только из консоли и на сабже. Под виндой.

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)