This is the mail archive of the mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

apache-php problem


I have problems with cygwin apache php.
The htdocs are well accessed.
But when I try:

<? phpinfo() ?>

It runs only one time, and then the server is dead.
The test.php page is well displayed until the
I get this error:


[Tue Sep 10 10:00:44 2002] [notice] Apache/1.3.24
(Cygwin) PHP/4.2.0 configured
-- resuming normal operations
[Tue Sep 10 10:00:45 2002] [notice] Accept mutex:
pthread (Default: pthread)
[Tue Sep 10 10:01:21 2002] [notice] child pid 653 exit
signal Segmentation fault

I just installed cygwin.
I use WinNT 4.0 Server, SP 6a, McAfee NetShield is

The apache and mod_php4 packages are from the original
binary distro.
$ cygcheck -c
apache              1.3.24-5
mod_php4            4.2.0-1

I rebased the dlls:
Administrator@MYHOST /lib/apache/new
$ rebase.exe -d -b 0x68000000 -o 0x10000
/lib/apache/*.dll /bin/cygbz21.0.dll /
bin/cygcrypto.dll /bin/cygintl-1.dll /bin/pq.dll
/bin/cygxml2-2.dll /bin/cygz.d

I added the folllowing lines :
  LoadModule php4_module lib/apache/libphp4.dll
  AddModule mod_php4.c
  AddType application/x-httpd-php .php

to /etc/apache/httpd.conf file.

I run apache from the command line, logged as

Are the cygwin-patches included in the binary distro 
or do I have to rebuid the DLL for cygwin mod_php4? 

Do I need to create a /usr/local/lib/php.ini file ?
Where can I get this file ?
(I tried php.ini-dist from I
downloaded from, but it is useless, I
always got Segmentation fault error)

Thank you for any help.

Lèche-vitrine ou lèche-écran ?

Unsubscribe info:
Bug reporting:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]