Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <20020912141254.65591.qmail@web12908.mail.yahoo.com> Date: Thu, 12 Sep 2002 10:12:54 -0400 (EDT) From: =?iso-8859-1?q?Edmond=20Gradin?= Subject: Re: apache-php problem To: cygwin AT cygwin DOT com In-Reply-To: <20020912132227.34447.qmail@web12902.mail.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit I have exactly the same problem on a Windows XP Pro system: Segmentation fault error when accessing the file. I would appreciate any clue concerning the cygwin-apache-php configuration. E. --- Edmond Gradin a écrit : > Hi, > > I have problems with cygwin apache php. > The htdocs are well accessed. > But when I try: > > /var/www/htdocs/test.php > > > 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 AT 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/