ik heb deze vraag ook in ANS gesteld ([topic=377887])
Bij nader inzien lijkt NOS me toch een betere plek
Ik draai op het moment php 4.0.3 met mysql support.
Nu leek het mij een goed plan om te upgraden naar 4.1.1
Zo gezegd, zo gedaan.
Nu krijg ik alleen de exacte foutmelding die hier beschreven staat (httpd dumps core).
De oplossing is
De configure commandline:
en dat mysql (volgens mij) niet met tegen pthreads gelinkt is:
Ik zal ongetwijfeld "iets" over het hoofd zien, maar WAT
Bij nader inzien lijkt NOS me toch een betere plek
Ik draai op het moment php 4.0.3 met mysql support.
Nu leek het mij een goed plan om te upgraden naar 4.1.1
Zo gezegd, zo gedaan.
Nu krijg ik alleen de exacte foutmelding die hier beschreven staat (httpd dumps core).
De oplossing is
Het enige probleem is dat ik MySQL al vanaf de source compile.....If your MySQL libs are linked against pthreads this will happen. Check using ldd. If they are, grab the MySQL tarball and compile from source, or recompile from the source rpm and remove the switch in the spec file that turns on the threaded client code. Either of these suggestions will fix this. Then recompile PHP with the new MySQL libs.
De configure commandline:
code:
1
2
3
| ./configure \ --with-unix-socket-path=/var/mysql/mysql.sock \ --with-mysqld-user=mysql |
en dat mysql (volgens mij) niet met tegen pthreads gelinkt is:
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
| #ldd /usr/local/bin/mysql
/usr/local/bin/mysql:
-lcurses.8 => /usr/lib/libcurses.so.8.0 (0x4003f000)
-lmysqlclient.10 => /usr/local/lib/mysql/libmysqlclient.so.10.0 (0x4007e000)
-lz.1 => /usr/lib/libz.so.1.3 (0x40099000)
-lm.0 => /usr/lib/libm.so.0.1 (0x400a5000)
-lstdc++.30 => /usr/lib/libstdc++.so.30.0 (0x400b9000)
-lc.26 => /usr/lib/libc.so.26.2 (0x400fd000)
# ldd /usr/local/libexec/mysqld
/usr/local/libexec/mysqld:
-lc_r.4 => /usr/lib/libc_r.so.4.2 (0x402bd000)
-lz.1 => /usr/lib/libz.so.1.3 (0x40387000)
-lstdc++.30 => /usr/lib/libstdc++.so.30.0 (0x40393000)
-lm.0 => /usr/lib/libm.so.0.1 (0x403d7000) |
Ik zal ongetwijfeld "iets" over het hoofd zien, maar WAT