faq update and link fix

This commit is contained in:
qtwrk 2020-02-20 23:28:44 +01:00
parent a0da026552
commit c6d0298f03
2 changed files with 7 additions and 1 deletions

View File

@ -1373,7 +1373,7 @@ if [[ ! -f /usr/local/lsws/lsphp74/lib64/php/modules/zip.so ]] && [[ $SERVER_OS
if [[ $? == "0" ]] ; then
yum remove -y libzip-devel
fi
yum install -y https://$DOWNLOAD_SERVER/libzip-0.11.2-6.el7.psychotic.x86_64.rpm
yum install -y https://$DOWNLOAD_SERVER/misc/libzip-0.11.2-6.el7.psychotic.x86_64.rpm
yum install -y https://$DOWNLOAD_SERVER/misc/libzip-devel-0.11.2-6.el7.psychotic.x86_64.rpm
/usr/local/lsws/lsphp74/bin/pecl install zip
echo "extension=zip.so" > /usr/local/lsws/lsphp74/etc/php.d/20-zip.ini

6
faq.sh
View File

@ -105,4 +105,10 @@ ${GREEN}[mysqld]
max_allowed_packet=500M${NC}
and then restart MariaDB by command ${RED}systemctl restart mariadb${NC}
${BLUE}------------------------------------------------------------${NC}
${PURPLE}13.${NC} How to enable PHP error log ?
Please check this post ${GREEN}https://forums.cyberpanel.net/discussion/3977/tutorial-how-to-enable-php-error-log/p1${NC}
"