PHP's common operations

  Command is executed at the highest authority

  1) View PHP Configuration

php --ini
Configuration File (php.ini) Path: /www/server/php/70/etc
Loaded Configuration File:         /www/server/php/70/etc/php.ini
Scan for additional .ini files in: (none)
Additional .ini files parsed:      (none)

  2) Restart Service

service php-fpm restart

Redirecting to /bin/systemctl restart  php-fpm.service

 

 

  Common mistakes:

    1)  The Process class relies on proc_open, which is not available on your PHP installation.

    The disable_function in php.ini will proc_open, proc_get_status removed and restart PHP

Guess you like

Origin www.cnblogs.com/xingxia/p/php_operation.html