note 9539 added to Installation
| From: | rggonzalez at iname dot com | Date: | Thu, 09 Nov 2000 22:40:07 +0000 |
| Subject: | note 9539 added to Installation | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-7554@lists.php.net to get a copy of this message | ||
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
http://www.php.net/manual/installation.php