Also, you cannot use a threaded Apache (e.g. threaded MPMs) with PHP
since not all extensions support threading.  Your Apache needs to be
built without threads and use a non-thread model (e.g. prefork).  I've
also had success with Apache-ITK-mpm.

This is very true for mod_php, but less so if PHP is run as FastCGI. I am
currently running a box at work with the event mpm and mod_fcgid for
testing and it seems to be doing well. YMMV
All right. The problem is that we are getting segfaults with the CLI version too. We are running some background PHP programs and they also throw segfault.

Here is the interesting part. I wrote a test script that tries to connect to the postgresql server.

- if the hostname is wrong for the connection, there is no segfault
- if the hostname is right but the password is wrong (e.g. it cannot connect to the server) then there IS segfault.

There are no options to configure in php5-pgsql.

I tried to change the order or module in extensions.ini, no success so far.

Best,

  Laszlo

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

Reply via email to