[SOLVED]
For Arch Linux which I use
Edit /usr/local/lsws/lsphp8/lib/php.ini
Add
Restart OLS - Make sure you already have the LSMCD installed
=======================
Struggling to get PHP8 to compile in OLS with
The PHP build section says you can manually update settings in
Upon looking at this file I don't see anything for PHP 8 memcached only
I then tried to recompile PHP 7.4.20 with memcached which has a little checkbox for the addon
But alas ... this does not work either
How can I get this fixed? Very frustrating for something that should be super simple.
For Arch Linux which I use
Code:
sudo pacman -S php-memcached
Add
Code:
extension=/usr/lib/php/modules/memcached.so
=======================
Struggling to get PHP8 to compile in OLS with
Code:
--enable-memcache
Code:
configure: WARNING: unrecognized options: --enable-memcache
Code:
/usr/local/lsws/admin/html/lib/util/build_php/BuildConfig.php
Code:
case self::MEMCACHED7_VERSION: return '3.1.5'; // for php7 only
But alas ... this does not work either
Code:
checking for libmemcached... yes, shared
checking whether to enable memcached session handler support... yes
checking whether to enable memcached igbinary serializer support... no
checking whether to enable memcached json serializer support... no
checking whether to enable memcached msgpack serializer support... no
checking whether to enable memcached sasl support... yes
checking whether to enable memcached protocol support... no
checking whether to use system FastLZ library... no
checking for ZLIB... yes, shared
checking for pkg-config... /usr/bin/pkg-config
checking for zlib location... /usr
checking for session includes... /usr/local/lsws/lsphp7/include/php
checking for memcached session support... enabled
checking for memcached igbinary support... disabled
checking for memcached msgpack support... disabled
checking for libmemcached location... configure: error: memcached support requires libmemcached. Use --with-libmemcached-dir=<DIR> to specify the prefix where libmemcached headers and library are located
**ERROR** Could not configure MemCached extension build
How can I get this fixed? Very frustrating for something that should be super simple.
Attachments
-
92.7 KB Views: 6
Last edited: