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
Wout
Hi Vincent, we are trying this but get the error of “No targets specified and no makefile found. Stop.”
Any idea on how to solve this? CentOS 7 + PHP 7
Vincent Verloop
It should be simple. Did you typed the commands correctly?
That happens because there is no file named Makefile in that directory. To create that Makefile, you need to execute
./configure
.So is think you missed a step in the tutorial.
Wout
Fixed. Was a typo… 🙁
Vagelis
Excellent tutorial worked like a charm.
Thank you for sharing
Vincent Verloop
Thank you! I hope that i can help more, short but simple.