Skip to content

Commit

Permalink
Update comments
Browse files Browse the repository at this point in the history
created a symbolic link for php-cgi command

Signed-off-by: Teddysun <[email protected]>
  • Loading branch information
teddysun committed Nov 13, 2022
1 parent 6318357 commit f0df337
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion include/php.sh
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,10 @@ install_php(){
}

config_php(){
rm -f /etc/php.ini /usr/bin/php /usr/bin/php-config /usr/bin/phpize
rm -f /etc/php.ini /usr/bin/php /usr/bin/php-cgi /usr/bin/php-config /usr/bin/phpize
ln -s ${php_location}/etc/php.ini /etc/php.ini
ln -s ${php_location}/bin/php /usr/bin/
ln -s ${php_location}/bin/php-cgi /usr/bin/
ln -s ${php_location}/bin/php-config /usr/bin/
ln -s ${php_location}/bin/phpize /usr/bin/
cat > ${php_location}/php.d/opcache.ini<<EOF
Expand Down

0 comments on commit f0df337

Please sign in to comment.