We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
With the latest Xentral version PHP 7.2 is required.
You can update PHP inside the docker container with:
Enter docker container:
docker exec -ti xentral_xentral_1 /bin/bash
Execute:
sed -i 's/artful/bionic/g' /etc/apt/sources.list apt-get update apt-get upgrade apt install php libapache2-mod-php
apt-get install -y php7.2 libapache2-mod-php php-mcrypt php7.2-mysql php7.2-cli apt-get install -y php7.2-mysql php7.2-soap php7.2-imap php-fpm php7.2-zip php7.2-gd php7.2-xml php7.2-curl php7.2-mbstring php7.2-ldap
Check PHP version (should be >7.2) php -v Configure apache a2dismod php7.1 a2enmod php7.2 service apache2 restart Update ioncube apt-get install php7.2-fpm wget https://downloads.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz tar -xvzf ioncube_loaders_lin_x86-64.tar.gz cd ioncube php -i | grep extension_dir cp ioncube_loader_lin_7.2.so /usr/lib/php/20170718 echo 'zend_extension=ioncube_loader_lin_7.2.so' > /etc/php/7.2/fpm/conf.d/00-ioncube-loader.ini echo 'zend_extension=ioncube_loader_lin_7.2.so' > /etc/php/7.2/cli/conf.d/00-ioncube-loader.ini service php7.2-fpm restart echo "zend_extension = \"$(php -i | grep extension_dir | awk '{print $3}')/ioncube_loader_lin_7.2.so\"" > /etc/php/7.2/apache2/conf.d/00-ioncube.ini chmod 777 /etc/php/7.2/apache2/conf.d/00-ioncube.ini service apache2 restart `php -v` should show something like
PHP 7.2.24-0ubuntu0.18.04.6 (cli) (built: May 26 2020 13:09:11) ( NTS ) Copyright (c) 1997-2018 The PHP Group Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies with the ionCube PHP Loader + ionCube24 v10.4.3, Copyright (c) 2002-2020, by ionCube Ltd. with Zend OPcache v7.2.24-0ubuntu0.18.04.6, Copyright (c) 1999-2018, by Zend Technologies
The text was updated successfully, but these errors were encountered:
No branches or pull requests
With the latest Xentral version PHP 7.2 is required.
You can update PHP inside the docker container with:
Enter docker container:
Execute:
PHP 7.2.24-0ubuntu0.18.04.6 (cli) (built: May 26 2020 13:09:11) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
with the ionCube PHP Loader + ionCube24 v10.4.3, Copyright (c) 2002-2020, by ionCube Ltd.
with Zend OPcache v7.2.24-0ubuntu0.18.04.6, Copyright (c) 1999-2018, by Zend Technologies
The text was updated successfully, but these errors were encountered: