apache-php problem

Edmond Gradin edgradin@yahoo.ca
Thu Sep 12 07:59:00 GMT 2002


I have exactly the same problem on a Windows XP Pro
system:
Segmentation fault error when accessing the 
<?php phpinfo() ?> file.
I would appreciate any clue concerning the
cygwin-apache-php configuration.

E.

 --- Edmond Gradin <edgradin@yahoo.ca> a écrit : > Hi,
> 
> I have problems with cygwin apache php.
> The htdocs are well accessed.
> But when I try:
> 
> /var/www/htdocs/test.php
> <? phpinfo() ?>
> 
> It runs only one time, and then the server is dead.
> The test.php page is well displayed until the
> "APACHE_INCLUDE" title.
> I get this error:
> 
> /var/log/apache/error_log
> 
> [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
>  (11)
> 
> I just installed cygwin.
> I use WinNT 4.0 Server, SP 6a, McAfee NetShield is
> enabled.
> 
> 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
> ll
> 
> 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
> Administrator.
> 
> 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.
> E.
> 
>
__________________________________________________________
> Lèche-vitrine ou lèche-écran ?
> magasinage.yahoo.ca
> 
> --
> Unsubscribe info:     
> http://cygwin.com/ml/#unsubscribe-simple
> Bug reporting:         http://cygwin.com/bugs.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/
>  

__________________________________________________________
Lèche-vitrine ou lèche-écran ?
magasinage.yahoo.ca

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list