Re: FreeBSD 6-STABLE: Apache 2.2 and php 4.4 segmentation fault

2006-04-03 Thread Riemer Palstra
On Sun, Apr 02, 2006 at 08:02:12PM -0400, RJ wrote:
>   When I have setup a server I use php4-4.4.2_1,
>   mysql-server-4.1.18_2, php4-extensions-1.0 and apache.

And when you tell the php4-extensions configuration screen that you want
MySQL support, by checking the knob, it installs php4-mysql.

>   I think php4-4.4.2_1 and  php4-mysql-4.4.2_1 will cause a conflict.

I hope not. That would defeat the purpose of being able to install PHP
modules.

-- 
Riemer PalstraAmsterdam, The Netherlands
[EMAIL PROTECTED]http://www.palstra.com/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD 6-STABLE: Apache 2.2 and php 4.4 segmentation fault

2006-04-03 Thread Riemer Palstra
On Sun, Apr 02, 2006 at 03:56:27PM -0700, Andrew Reitz wrote:
> Can anyone supply any hints as to how I can get more debugging
> information (I don't see any core files anywhere), and/or how I can
> fix this problem?

In /usr/local/etc/php/extensions.ini, try enabling/disabling modules,
whilst reloading the pages causing the segfault. If you find the
offender, try cleaning/recompiling it.

(This kind of fiddling around actually helped me out when even
phpinfo.php wouldn't completely load for me, until I disabled the
imagick module which was misbehaving around that time).

-- 
Riemer PalstraAmsterdam, The Netherlands
[EMAIL PROTECTED]http://www.palstra.com/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD 6-STABLE: Apache 2.2 and php 4.4 segmentation fault

2006-04-02 Thread Andrew Reitz


On Apr 2, 2006, at 5:02 PM, RJ wrote:


 Something doesn't seem right with those ports.
  When I have setup a server I use php4-4.4.2_1,  mysql- 
server-4.1.18_2,

php4-extensions-1.0 and apache.

  I think php4-4.4.2_1 and  php4-mysql-4.4.2_1 will cause a conflict.

 Some correct me if I'm wrong on this.


Ni RJ,

I certainly hope that these two ports aren't in conflict -- because  
they are listed together as dependencies on 56 ports (according to my  
'/usr/ports/INDEX-6' file). It looks like I got the php4-mysql  
package when I installed phpMyAdmin (which is how I noticed that PHP  
wasn't working, btw). Here is the relevant line from my INDEX-6 file:


nr:/usr/ports$ grep ^phpMyAdmin INDEX-6
phpMyAdmin-2.7.0.2|/usr/ports/databases/phpmyadmin|/usr/local|A set  
of PHP-scripts to manage MySQL over the web|/usr/ports/databases/ 
phpmyadmin/pkg-descr|[EMAIL PROTECTED]|databases www|| 
apache-1.3.34_4 expat-2.0.0_1 fontconfig-2.3.2_3,1 freetype2-2.1.10_3  
jpeg-6b_4 ldconfig_compat-1.0_6 libdrm-2.0_1 libltdl-1.5.22  
libmcrypt-2.5.7_2 mysql-client-4.1.18_1 pdflib-6.0.3 pecl- 
pdflib-2.0.4 perl-5.8.8 php4-4.4.2_1 php4-bz2-4.4.2_1 php4-gd-4.4.2_1  
php4-mbstring-4.4.2_1 php4-mcrypt-4.4.2_1 php4-mysql-4.4.2_1 php4- 
openssl-4.4.2_1 php4-pcre-4.4.2_1 php4-session-4.4.2_1 php4- 
zlib-4.4.2_1 pkgconfig-0.20 png-1.2.8_3 t1lib-5.1.0_1,1 xorg- 
libraries-6.9.0|http://www.phpmyadmin.net/|||


I would tend to trust the dependency list contained in the port, but  
I'm willing to try uninstalling the php4-mysql package if you think  
it will help.


Thanks,
-Andy.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Fw: FreeBSD 6-STABLE: Apache 2.2 and php 4.4 segmentation fault

2006-04-02 Thread RJ

- Original Message - 
From: "RJ" <[EMAIL PROTECTED]>
To: "Andrew Reitz" <[EMAIL PROTECTED]>
Cc: 
Sent: Sunday, April 02, 2006 8:02 PM
Subject: Re: FreeBSD 6-STABLE: Apache 2.2 and php 4.4 segmentation fault


> Something doesn't seem right with those ports.
>   When I have setup a server I use php4-4.4.2_1,  mysql-server-4.1.18_2,
> php4-extensions-1.0 and apache.
>
>   I think php4-4.4.2_1 and  php4-mysql-4.4.2_1 will cause a conflict.
>
>  Some correct me if I'm wrong on this.
>
>
> - Original Message - 
> From: "Andrew Reitz" <[EMAIL PROTECTED]>
> To: 
> Sent: Sunday, April 02, 2006 6:56 PM
> Subject: FreeBSD 6-STABLE: Apache 2.2 and php 4.4 segmentation fault
>
>
> > Hello,
> >
> > I am a long time FreeBSD user of FreeBSD 4.x and Apache 1.3.x. I have
> > decided to "get with the times", and upgrade to FreeBSD 6 and
> > Apache2. So far, my experience with FreeBSD 6 has been great, but I
> > appear to have bumped into a problem with running Apache 2 and php4
> > together. By itself, Apache is working fine spitting out static
> > pages. However, whenever I try to load a page that needs to go
> > through the PHP interpreter, I get a segmentation fault:
> >
> > nr:/usr/local/etc# tail /var/log/httpd-error.log
> > [Sun Apr 02 15:54:47 2006] [notice] Graceful restart requested, doing
> > restart
> > [Sun Apr 02 15:54:48 2006] [warn] (22)Invalid argument: Failed to
> > enable the 'httpready' Accept Filter
> > [Sun Apr 02 15:54:49 2006] [notice] Digest: generating secret for
> > digest authentication ...
> > [Sun Apr 02 15:54:49 2006] [notice] Digest: done
> > [Sun Apr 02 15:54:50 2006] [notice] Apache/2.2.0 (FreeBSD) mod_ssl/
> > 2.2.0 OpenSSL/0.9.7e-p1 DAV/2 configured -- resuming normal operations
> > [Sun Apr 02 15:54:51 2006] [notice] child pid 46107 exit signal
> > Segmentation fault (11)
> > [Sun Apr 02 15:54:55 2006] [notice] child pid 46108 exit signal
> > Segmentation fault (11)
> > [Sun Apr 02 15:54:59 2006] [notice] child pid 46109 exit signal
> > Segmentation fault (11)
> > [Sun Apr 02 15:57:38 2006] [notice] child pid 46110 exit signal
> > Segmentation fault (11)
> > [Sun Apr 02 15:58:15 2006] [notice] child pid 46111 exit signal
> > Segmentation fault (11)
> >
> > And here is some information about my system:
> >
> > nr:/usr/local/etc# uname -a
> > FreeBSD nr.tool.no 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #2: Mon Mar
> > 13 01:11:05 PST 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/
> > PARAMORE  i386
> > nr:/usr/local/etc# pkg_info |grep -i apache
> > apache-2.2.0_7  Version 2.2 of Apache web server with prefork MPM.
> > php4-4.4.2_1PHP Scripting Language (Apache Module and CLI)
> > nr:/usr/local/etc# pkg_info |grep -i php
> > gallery-1.5.2.2 A slick web based photo album written using PHP
> > libmcrypt-2.5.7_2   Multi-cipher cryptographic library (used in PHP)
> > php4-4.4.2_1PHP Scripting Language (Apache Module and CLI)
> > php4-bz2-4.4.2_1The bz2 shared extension for php
> > php4-gd-4.4.2_1 The gd shared extension for php
> > php4-gettext-4.4.2_1 The gettext shared extension for php
> > php4-mbstring-4.4.2_1 The mbstring shared extension for php
> > php4-mcrypt-4.4.2_1 The mcrypt shared extension for php
> > php4-mysql-4.4.2_1  The mysql shared extension for php
> > php4-openssl-4.4.2_1 The openssl shared extension for php
> > php4-pcre-4.4.2_1   The pcre shared extension for php
> > php4-session-4.4.2_1 The session shared extension for php
> > php4-zlib-4.4.2_1   The zlib shared extension for php
> > phpMyAdmin-2.7.0.2  A set of PHP-scripts to manage MySQL over the web
> >
> > I have done some Googling, and it seems like there are problems when
> > Apache is compiled with threads, but I haven't found anything that I
> > consider to be definitive. And of course, while I installed
> > everything from ports, I don't remember which knobs I twisted when
> > installing. :)
> >
> > Can anyone supply any hints as to how I can get more debugging
> > information (I don't see any core files anywhere), and/or how I can
> > fix this problem?
> >
> > Thanks much in advance,
> > -Andy Reitz
> >
> > ___
> > freebsd-questions@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
> >
> >
> > -- 
> > No virus found in this incoming message.
> > Checked by AVG Free Edition.
> > Version: 7.1.385 / Virus Database: 268.3.4/299 - Release Date:
31/03/2006
> >
> >
>



-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.3.4/299 - Release Date: 31/03/2006

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD 6-STABLE: Apache 2.2 and php 4.4 segmentation fault

2006-04-02 Thread RJ
 Something doesn't seem right with those ports.
  When I have setup a server I use php4-4.4.2_1,  mysql-server-4.1.18_2,
php4-extensions-1.0 and apache.

  I think php4-4.4.2_1 and  php4-mysql-4.4.2_1 will cause a conflict.

 Some correct me if I'm wrong on this.


- Original Message - 
From: "Andrew Reitz" <[EMAIL PROTECTED]>
To: 
Sent: Sunday, April 02, 2006 6:56 PM
Subject: FreeBSD 6-STABLE: Apache 2.2 and php 4.4 segmentation fault


> Hello,
>
> I am a long time FreeBSD user of FreeBSD 4.x and Apache 1.3.x. I have
> decided to "get with the times", and upgrade to FreeBSD 6 and
> Apache2. So far, my experience with FreeBSD 6 has been great, but I
> appear to have bumped into a problem with running Apache 2 and php4
> together. By itself, Apache is working fine spitting out static
> pages. However, whenever I try to load a page that needs to go
> through the PHP interpreter, I get a segmentation fault:
>
> nr:/usr/local/etc# tail /var/log/httpd-error.log
> [Sun Apr 02 15:54:47 2006] [notice] Graceful restart requested, doing
> restart
> [Sun Apr 02 15:54:48 2006] [warn] (22)Invalid argument: Failed to
> enable the 'httpready' Accept Filter
> [Sun Apr 02 15:54:49 2006] [notice] Digest: generating secret for
> digest authentication ...
> [Sun Apr 02 15:54:49 2006] [notice] Digest: done
> [Sun Apr 02 15:54:50 2006] [notice] Apache/2.2.0 (FreeBSD) mod_ssl/
> 2.2.0 OpenSSL/0.9.7e-p1 DAV/2 configured -- resuming normal operations
> [Sun Apr 02 15:54:51 2006] [notice] child pid 46107 exit signal
> Segmentation fault (11)
> [Sun Apr 02 15:54:55 2006] [notice] child pid 46108 exit signal
> Segmentation fault (11)
> [Sun Apr 02 15:54:59 2006] [notice] child pid 46109 exit signal
> Segmentation fault (11)
> [Sun Apr 02 15:57:38 2006] [notice] child pid 46110 exit signal
> Segmentation fault (11)
> [Sun Apr 02 15:58:15 2006] [notice] child pid 46111 exit signal
> Segmentation fault (11)
>
> And here is some information about my system:
>
> nr:/usr/local/etc# uname -a
> FreeBSD nr.tool.no 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #2: Mon Mar
> 13 01:11:05 PST 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/
> PARAMORE  i386
> nr:/usr/local/etc# pkg_info |grep -i apache
> apache-2.2.0_7  Version 2.2 of Apache web server with prefork MPM.
> php4-4.4.2_1PHP Scripting Language (Apache Module and CLI)
> nr:/usr/local/etc# pkg_info |grep -i php
> gallery-1.5.2.2 A slick web based photo album written using PHP
> libmcrypt-2.5.7_2   Multi-cipher cryptographic library (used in PHP)
> php4-4.4.2_1PHP Scripting Language (Apache Module and CLI)
> php4-bz2-4.4.2_1The bz2 shared extension for php
> php4-gd-4.4.2_1 The gd shared extension for php
> php4-gettext-4.4.2_1 The gettext shared extension for php
> php4-mbstring-4.4.2_1 The mbstring shared extension for php
> php4-mcrypt-4.4.2_1 The mcrypt shared extension for php
> php4-mysql-4.4.2_1  The mysql shared extension for php
> php4-openssl-4.4.2_1 The openssl shared extension for php
> php4-pcre-4.4.2_1   The pcre shared extension for php
> php4-session-4.4.2_1 The session shared extension for php
> php4-zlib-4.4.2_1   The zlib shared extension for php
> phpMyAdmin-2.7.0.2  A set of PHP-scripts to manage MySQL over the web
>
> I have done some Googling, and it seems like there are problems when
> Apache is compiled with threads, but I haven't found anything that I
> consider to be definitive. And of course, while I installed
> everything from ports, I don't remember which knobs I twisted when
> installing. :)
>
> Can anyone supply any hints as to how I can get more debugging
> information (I don't see any core files anywhere), and/or how I can
> fix this problem?
>
> Thanks much in advance,
> -Andy Reitz
>
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
"[EMAIL PROTECTED]"
>
>
> -- 
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.1.385 / Virus Database: 268.3.4/299 - Release Date: 31/03/2006
>
>



-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.3.4/299 - Release Date: 31/03/2006

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


FreeBSD 6-STABLE: Apache 2.2 and php 4.4 segmentation fault

2006-04-02 Thread Andrew Reitz

Hello,

I am a long time FreeBSD user of FreeBSD 4.x and Apache 1.3.x. I have  
decided to "get with the times", and upgrade to FreeBSD 6 and  
Apache2. So far, my experience with FreeBSD 6 has been great, but I  
appear to have bumped into a problem with running Apache 2 and php4  
together. By itself, Apache is working fine spitting out static  
pages. However, whenever I try to load a page that needs to go  
through the PHP interpreter, I get a segmentation fault:


nr:/usr/local/etc# tail /var/log/httpd-error.log
[Sun Apr 02 15:54:47 2006] [notice] Graceful restart requested, doing  
restart
[Sun Apr 02 15:54:48 2006] [warn] (22)Invalid argument: Failed to  
enable the 'httpready' Accept Filter
[Sun Apr 02 15:54:49 2006] [notice] Digest: generating secret for  
digest authentication ...

[Sun Apr 02 15:54:49 2006] [notice] Digest: done
[Sun Apr 02 15:54:50 2006] [notice] Apache/2.2.0 (FreeBSD) mod_ssl/ 
2.2.0 OpenSSL/0.9.7e-p1 DAV/2 configured -- resuming normal operations
[Sun Apr 02 15:54:51 2006] [notice] child pid 46107 exit signal  
Segmentation fault (11)
[Sun Apr 02 15:54:55 2006] [notice] child pid 46108 exit signal  
Segmentation fault (11)
[Sun Apr 02 15:54:59 2006] [notice] child pid 46109 exit signal  
Segmentation fault (11)
[Sun Apr 02 15:57:38 2006] [notice] child pid 46110 exit signal  
Segmentation fault (11)
[Sun Apr 02 15:58:15 2006] [notice] child pid 46111 exit signal  
Segmentation fault (11)


And here is some information about my system:

nr:/usr/local/etc# uname -a
FreeBSD nr.tool.no 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #2: Mon Mar  
13 01:11:05 PST 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/ 
PARAMORE  i386

nr:/usr/local/etc# pkg_info |grep -i apache
apache-2.2.0_7  Version 2.2 of Apache web server with prefork MPM.
php4-4.4.2_1PHP Scripting Language (Apache Module and CLI)
nr:/usr/local/etc# pkg_info |grep -i php
gallery-1.5.2.2 A slick web based photo album written using PHP
libmcrypt-2.5.7_2   Multi-cipher cryptographic library (used in PHP)
php4-4.4.2_1PHP Scripting Language (Apache Module and CLI)
php4-bz2-4.4.2_1The bz2 shared extension for php
php4-gd-4.4.2_1 The gd shared extension for php
php4-gettext-4.4.2_1 The gettext shared extension for php
php4-mbstring-4.4.2_1 The mbstring shared extension for php
php4-mcrypt-4.4.2_1 The mcrypt shared extension for php
php4-mysql-4.4.2_1  The mysql shared extension for php
php4-openssl-4.4.2_1 The openssl shared extension for php
php4-pcre-4.4.2_1   The pcre shared extension for php
php4-session-4.4.2_1 The session shared extension for php
php4-zlib-4.4.2_1   The zlib shared extension for php
phpMyAdmin-2.7.0.2  A set of PHP-scripts to manage MySQL over the web

I have done some Googling, and it seems like there are problems when  
Apache is compiled with threads, but I haven't found anything that I  
consider to be definitive. And of course, while I installed  
everything from ports, I don't remember which knobs I twisted when  
installing. :)


Can anyone supply any hints as to how I can get more debugging  
information (I don't see any core files anywhere), and/or how I can  
fix this problem?


Thanks much in advance,
-Andy Reitz

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"