Skip to content

Commit f0df337

Browse files
committed
Update comments
created a symbolic link for php-cgi command Signed-off-by: Teddysun <i@teddysun.com>
1 parent 6318357 commit f0df337

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

include/php.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,9 +124,10 @@ install_php(){
124124
}
125125

126126
config_php(){
127-
rm -f /etc/php.ini /usr/bin/php /usr/bin/php-config /usr/bin/phpize
127+
rm -f /etc/php.ini /usr/bin/php /usr/bin/php-cgi /usr/bin/php-config /usr/bin/phpize
128128
ln -s ${php_location}/etc/php.ini /etc/php.ini
129129
ln -s ${php_location}/bin/php /usr/bin/
130+
ln -s ${php_location}/bin/php-cgi /usr/bin/
130131
ln -s ${php_location}/bin/php-config /usr/bin/
131132
ln -s ${php_location}/bin/phpize /usr/bin/
132133
cat > ${php_location}/php.d/opcache.ini<<EOF

0 commit comments

Comments
 (0)