Adding the module to opcache php and CENTOS panel vestacp
In the previous section I described the way install php version 7 CentOS system and panel VESTACP.
This time will describe the procedure to insert a module opcache php 7.0
We log on to the console and issue the command:
1 | yum install php-opcache |
Then restart the service:
HTTPD:
1 | sudo service httpd restart |
PHP i Nginx:
1 | sudo service php-fpm restart && sudo service nginx restart |
Finally, verify that the module is switched on:
1 | php -i | grep opcache.enable |
We should get the result:
1 | opcache.enable => On => On |
After the file is created php.info module should already be visible.