Howdy folks!
I have been running PHP 5.1.1 on a SuSE 10.0 test server for a few weeks, and I haven't noticed anything funny until today.
Now, when I do php --version it pops up with:
Quote:
PHP Warning: PHP Startup: UåVSè«øÿÿÃFN: Unable to initialize module
Module compiled with module API=20020429, debug=0, thread-safety=0
PHP compiled with module API=20050922, debug=0, thread-safety=0
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/wddx.so' - /usr/lib/php/extensions/wddx.so: undefined symbol: empty_string in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/unixODBC.so' - /usr/lib/php/extensions/unixODBC.so: undefined symbol: empty_string in Unknown on line 0
PHP Warning: PHP Startup: UåVSèëþÿÿÃ2#: Unable to initialize module
Module compiled with module API=20020429, debug=0, thread-safety=0
PHP compiled with module API=20050922, debug=0, thread-safety=0
These options need to match
in Unknown on line 0
|
And many, many more blocks like this, before giving the version output.
When I tried to recompile/upgrade to 5.1.2 it didn't help, and when I started looking closer at the compiling process I noticed this:
Quote:
[...]
on-pic -c /root/download/php-4.4.2/ext/zlib/zlib.c -o ext/zlib/zlib.lo
/root/download/php-4.4.2/ext/zlib/zlib.c: In function âzif_gzcompressâ:
/root/download/php-4.4.2/ext/zlib/zlib.c:440: warning: pointer targets in passing argument 1 of âcompress2â differ in signedness
/root/download/php-4.4.2/ext/zlib/zlib.c:440: warning: pointer targets in passing argument 3 of âcompress2â differ in signedness
/root/download/php-4.4.2/ext/zlib/zlib.c:442: warning: pointer targets in passing argument 1 of âcompressâ differ in signedness
/root/download/php-4.4.2/ext/zlib/zlib.c:442: warning: pointer targets in passing argument 3 of âcompressâ differ in signedness
/root/download/php-4.4.2/ext/zlib/zlib.c: In function âzif_gzuncompressâ:
/root/download/php-4.4.2/ext/zlib/zlib.c:498: warning: pointer targets in passing argument 1 of âuncompressâ differ in signedness
/root/download/php-4.4.2/ext/zlib/zlib.c:498: warning: pointer targets in passing argument 3 of âuncompressâ differ in signedness
/root/download/php-4.4.2/ext/zlib/zlib.c: In function âzif_gzdeflateâ:
/root/download/php-4.4.2/ext/zlib/zlib.c:555: warning: pointer targets in assignment differ in signedness
/root/download/php-4.4.2/ext/zlib/zlib.c: In function âzif_gzinflateâ:
/root/download/php-4.4.2/ext/zlib/zlib.c:634: warning: pointer targets in assignment differ in signedness
[...]
|
... and the same on other modules, I believe xml as well..
I get the same with PHP 4.4.2, 5.1.1 and 5.1.2.
configured with
Quote:
./configure --with-xml-dir=/usr/include/libxml2 --with-bz2=/usr/lib --with-curl=/usr --with-bd --with-mysqli=/usr/local/mysql/bin/mysql_config --with-mysql=/usr/local/mysql --with-apxs2=/usr/local/apache2/bin/apxs --with-zlib=/usr
|
Does anyone have any ideas is this a problem with my libs or with gcc?
Like I said before, it seemed to be working fine for a long time. I only noticed it yesterday when the simplexml_load_string() didn't work as expected.
CURL seems to be working.
Any ideas or pointers?
HK