Last active
June 10, 2021 17:13
-
-
Save rizkysyazuli/7cce6b0e4c4ea6d0f0f12bf942de1036 to your computer and use it in GitHub Desktop.
[Shell - PHP] PHP command line utilities #php #shell
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Check loaded config | |
php --ini | |
# PHP Info | |
php -i | |
# Restart PHP-FPM | |
systemctl restart php-fpm.service | |
systemctl restart php5-fpm.service # version specific | |
/etc/init.d/php-fpm restart | |
/etc/init.d/php5-fpm restart # version specific | |
restart php-fpm | |
restart php5-fpm # version specific | |
# Check GD/ImagMagick support | |
php -i | grep 'GD\|ImageMagick' | |
# PHP-FPM Config | |
/etc/php-fpm.d/sitename.conf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment