Skip to main content

How to install Installatron with PHP 7

Ioncube loader for PHP 7 is not yet implemented in Installatron plugin installer. You will get a error 404 when the install script is downloading the ioncube loader. To fix this, you need to install PHP 5.5, that will only be used for Installatron.


wget https://data.installatron.com/installatron-plugin.sh
chmod +x installatron-plugin.sh
mkdir -p /usr/local/installatron
cd /usr/local/installatron
curl -O http://php.net/distributions/php-5.5.37.tar.gz
tar xzf php-5.5.37.tar.gz
cd php-5.5.37

./configure --prefix=/usr/local/installatron/php --disable-libxml --disable-dom --disable-simplexml --disable-xml --disable-xmlreader --disable-xmlwriter --enable-posix --enable-mbstring --enable-ftp --enable-sockets --without-pear --without-iconv --with-zlib --with-gd --with-jpeg-dir --with-png-dir --with-mysql=mysqlnd --with-mysqli=mysqlnd --with-pdo-mysql=mysqlnd --with-gettext

make
make install
cd ..
rm -fr php-5.5.37 php-5.5.37.tar.gz
curl -O https://data.installatron.com/installatron-plugin.sh
chmod +x installatron-plugin.sh
./installatron-plugin.sh -f

Source: Installatron Troubleshooting

If databases are actually being created, try specifying a MySQL socket value in /usr/local/installatron/etc/php.ini. For example:

mysql.default_socket = /var/lib/mysql/mysql.sock

Source: Installatron Troubleshooting

DirectAdmin

Reacties (5)

Geef een reactie

Het e-mailadres wordt niet gepubliceerd. Vereiste velden zijn gemarkeerd met *