mirror of
https://github.com/billz/raspap-webgui.git
synced 2023-10-10 13:37:24 +02:00
commit
85c0c29923
@ -73,10 +73,11 @@ function enable_php_lighttpd() {
|
|||||||
install_log "Enabling PHP for lighttpd"
|
install_log "Enabling PHP for lighttpd"
|
||||||
|
|
||||||
sudo lighty-enable-mod fastcgi-php
|
sudo lighty-enable-mod fastcgi-php
|
||||||
if [ $? -eq 2 ]
|
ERR=$?
|
||||||
|
if [ $ERR -eq 2 ]
|
||||||
then
|
then
|
||||||
echo ' [already enabled]'
|
echo ' [already enabled]'
|
||||||
elif [ $? -ne 0 ]
|
elif [ $ERR -ne 0 ]
|
||||||
then
|
then
|
||||||
install_error "Cannot enable fastcgi-php for lighttpd"
|
install_error "Cannot enable fastcgi-php for lighttpd"
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user