Hello,
Using the LS admin panel, I compiled php5.4.11. I checked the box to include the memcache extension.
It compiled but appears to have compiled using the wrong version of PHP. I get the following error:
[STDERR] PHP Warning: PHP Startup: memcache: Unable to initialize module
Module compiled with module API=20090626
PHP compiled with module API=20100525
These options need to match
So I manually downloaded and phpized/config/install and get the same type error.
I then used /opt/lsws/lsphp5/bin/phpize and it showed the correct version that matched the output of php_info().
config/install (i manually copied the file this time to the ext dir listed in the php_info() output) and graceful restart of the server.
Still get the same sort of error:
[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
Where is the phpize that I should use to get the correct version (I installed LS with default options)?
I appreciate any help.
Using the LS admin panel, I compiled php5.4.11. I checked the box to include the memcache extension.
It compiled but appears to have compiled using the wrong version of PHP. I get the following error:
[STDERR] PHP Warning: PHP Startup: memcache: Unable to initialize module
Module compiled with module API=20090626
PHP compiled with module API=20100525
These options need to match
So I manually downloaded and phpized/config/install and get the same type error.
I then used /opt/lsws/lsphp5/bin/phpize and it showed the correct version that matched the output of php_info().
config/install (i manually copied the file this time to the ext dir listed in the php_info() output) and graceful restart of the server.
Still get the same sort of error:
[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
Where is the phpize that I should use to get the correct version (I installed LS with default options)?
I appreciate any help.