See if php-fpm port is used php-fpm
sudo lsof -i:9000
General After modifying php.ini files often need to restart php-fpm
sudo killall PHP-FPM // Close
Enter sudo lsof -i: 9000 php-fpm will find no printing corresponding port
sudo PHP-FPM // restart
Reference Links: https://www.jianshu.com/p/e6d46a5c088b