note 9539 deleted from faq.installation by philip
| From: | philip@php.net | Date: | Sun, 22 Feb 2009 21:26:04 +0000 |
| Subject: | note 9539 deleted from faq.installation by philip | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-150987@lists.php.net to get a copy of this message | ||
Note Submitter: rggonzalez at iname dot com
----
Notes on installing PHP (3.x.x or 4.x.x) on a RedHat 6.x Linux box using glibc 2.1.x. When you
install it as a DSO module for Apache (--with-apxs) with the standard RPM's from RedHat for
Apache and MySQL, the httpd daemon dies without giving any error message, and without sending any
message to the console.
From a comment by Rasmus Ledorf: this is caused "probably due to a glibc-2.1.x bug related to
dynamically loading a library
linked against pthreads into a binary that isn't linked against
pthreads. Try it using --without-mysql and see if it works. If it does
then you know it is a mysql-related problem. To fix it you will need the
non-threaded mysql client rpm available from www.mysql.com".
You can also download the source code for MySQL and recompiled it statically, using this
configuration options:
--with-client-ldflags=-all-static
--with-mysqld-ldflags=-all-static
You must then re-run the ./configure; make; make install in your PHP source tree to get the PHP
shared module working with the new MySQL support.
Regards,
Rodolfo Gonzalez.
rggonzalez@iname.com