Lnmp
LNMP One-click installation package is a Linux shell can be written for Centos/rhel/fedora/aliyun/amazon, Debian/ubuntu/raspbian/deepinserver/mint Linux LNMP (nginx/mysql/php), Lnmpa (Nginx/mysql/php/apache), LAMP (apache/mysql/php) Production environment Shell program for VPS or standalone host installations.
You can build your own environment on Linux, and you can also use integration. The disadvantage is to use one-click to install the package you need to read the document to see the location of each configuration file.
As for how to download the installation, here is not to elaborate. You can go to the website to see for yourself. Today, we mainly say that in this integrated environment to do upload image operation when the error: PHP fileinfo.so extension does not exist. Similar to the following error
Missingdependencyexception in imagemanager.php line 133:php Fileinfo extension must is installed/enabled to use Interventi On Image ...
Installing PHP fileinfo.so extensions
1. Open your LNMP installation directory into the SRC folder, unzip one of your PHP version of the compression package, using the decompression command
Tar -JXVF
2. Go to the FileInfo Extension folder in the directory you just unzipped and use the command
Cd/home/lnmp1.4/src/php-7.0.21/ext/fileinfo
Then use the following command to get the data
/usr/local/php/bin/phpize
Finally, use the following command to compile the installation
./configure-with-php-config=/usr/local/php/bin/php-config
3. Open php.ini Add fileinfo.so extension
Add at the bottom of the extension Extension module code
Then save and exit and restart the environment
Lnmp Retstart
Note: Your installation path may be different, please modify the relevant path.