fix bug
This commit is contained in:
4
lemp.sh
4
lemp.sh
@@ -53,7 +53,7 @@ sudo yum install -y nginx
|
||||
|
||||
# Install PHP
|
||||
echo "Installing PHP..."
|
||||
sudo yum install -y --enablerepo=remi,remi-php70 php-gd php-fpm php-cli php-pdo php-xml php-json php-soap php-common php-mcrypt php-mysqlnd php-mbstring php-pecl-zip php-pecl-xdebug
|
||||
sudo yum install -y --enablerepo=remi,remi-php70 php-gd php-fpm php-cli php-pdo php-xml php-json php-soap php-common php-mcrypt php-mysqlnd php-mbstring php-pecl-zip
|
||||
|
||||
# Install Composer
|
||||
echo "Installing Composer globally..."
|
||||
@@ -62,7 +62,7 @@ sudo mv composer.phar /usr/bin/composer
|
||||
|
||||
# Configure Nginx for PHP
|
||||
echo "Configuring Nginx for PHP..."
|
||||
sudo sed -i 's/index index.html index.htm;/index index.php index.html index.htm;/g' /etc/nginx/conf.d/default.conf
|
||||
sudo sed -i 's/index index.html index.htm;/index index.php index.html index.htm;/g' /etc/nginx/conf.d/default.conf
|
||||
|
||||
# Configure PHP
|
||||
echo "Configuring PHP..."
|
||||
|
||||
Reference in New Issue
Block a user