Start adding php version 7.4
This commit is contained in:
parent
eaaef03163
commit
8a9620a581
|
|
@ -81,3 +81,14 @@ if [ ."$php_version" = ."7.2" ]; then
|
||||||
#restart the service
|
#restart the service
|
||||||
service php7.2-fpm restart
|
service php7.2-fpm restart
|
||||||
fi
|
fi
|
||||||
|
if [ ."$php_version" = ."7.4" ]; then
|
||||||
|
#copy the php extension .so into the php lib directory
|
||||||
|
cp ioncube/ioncube_loader_lin_7.4.so /usr/lib/php/20170718
|
||||||
|
|
||||||
|
#add the 00-ioncube.ini file
|
||||||
|
echo "zend_extension = /usr/lib/php/20170718/ioncube_loader_lin_7.4.so" > /etc/php/7.4/fpm/conf.d/00-ioncube.ini
|
||||||
|
echo "zend_extension = /usr/lib/php/20170718/ioncube_loader_lin_7.4.so" > /etc/php/7.4/cli/conf.d/00-ioncube.ini
|
||||||
|
|
||||||
|
#restart the service
|
||||||
|
service php7.4-fpm restart
|
||||||
|
fi
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue