Closed spacevega21 closed 3 years ago
What's the OS?
What error you see whhe you follow that wiki?
CentOS 7. The commands ran pefectly and I was still unable to install Zip PHP. I got the same message as shown in the above message.
try
yum remove -y libzip-devel
yum install -y https://cyberpanel.sh/misc/libzip-0.11.2-6.el7.psychotic.x86_64.rpm
yum install -y https://cyberpanel.sh/misc/libzip-devel-0.11.2-6.el7.psychotic.x86_64.rpm
yum install lsphp74-devel
mkdir /usr/local/lsws/lsphp74/tmp
/usr/local/lsws/lsphp74/bin/pecl channel-update pecl.php.net
/usr/local/lsws/lsphp74/bin/pear config-set temp_dir /usr/local/lsws/lsphp74/tmp
/usr/local/lsws/lsphp74/bin/pecl install zip
echo "extension=zip.so" >/usr/local/lsws/lsphp74/etc/php.d/20-zip.ini
pkill lsphp
then check with phpinfo page
Do I type in ---- echo "extension=zip.so" ??
echo "extension=zip.so" >/usr/local/lsws/lsphp74/etc/php.d/20-zip.ini
this will do that for you
Okay thank you, I have ran that command now.
it says zip is already installed , you can verify with phpinfo
Just typed in the php command phpinfo() and nothing is appearing.
you need to create it as page and access it by browser , or /usr/local/lsws/lsphp74/bin/lsphp -i | grep -i zip
so you do have zip extension installed
It's just that when I go to Cyberpanel and try to install it. It doesn't show the extenstion as installed afterwards...
Before:
After:
yes, it's little known display bug
despite the panel shows not installed , but it is actually installed already
Thank you :)
Loaded plugins: copr, fastestmirror Loading mirror speeds from cached hostfile
I have followed the commands linked here > https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:php:pecl-extension:lsphp74_zip?rev=1580248954 // but I am still getting the same issue...