found the phpize for 5.4.11
I found the phpize for 5.4.11 in /opt/lsws/phpbuild/php-5.4.11/scripts
So, I re-compiled after /opt/lsws/phpbuild/php-5.4.11/scripts/phpize and again, ./configure then make, then copied the new memcache.so into the modules directory.
The output of the phpize did show the correct version required, btw.
Graceful restart and still get this error msg:
[STDERR] PHP Warning: PHP Startup: memcache: Unable to initialize module
Module compiled with module API=20050922
PHP compiled with module API=20100525
These options need to match
When I look at the config.log it shows the following:
configure:3059: checking for PHP includes
configure:3061: result: -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext
configure:3063: checking for PHP extension directory
configure:3065: result: /usr/lib64/php/modules
configure:3067: checking for PHP installed headers prefix
configure:3069: result: /usr/include/php
which seems to then point it to the wrong version of PHP. Anyone know of a way to force it to look at the correct PHP? I thought that is what phpize does but something is still incorrect.
Any ideas would be much appreciated.
Last edited by joek168; 02-11-2013 at 07:51 AM..
|