This is the mail archive of the
mailing list for the Cygwin project.
- From: Edmond Gradin <edgradin at yahoo dot ca>
- To: cygwin at cygwin dot com
- Date: Thu, 12 Sep 2002 09:22:27 -0400 (EDT)
- Subject: 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
$ cygcheck -c
I rebased the dlls:
$ rebase.exe -d -b 0x68000000 -o 0x10000
/lib/apache/*.dll /bin/cygbz21.0.dll /
bin/cygcrypto.dll /bin/cygintl-1.dll /bin/pq.dll
I added the folllowing lines :
LoadModule php4_module lib/apache/libphp4.dll
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 php-4.2.2-Win32.zip I
downloaded from www.php.net, but it is useless, I
always got Segmentation fault error)
Thank you for any help.
Lèche-vitrine ou lèche-écran ?
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html