skip to Main Content

Good evening friends, I need your help since I have a problem with a webservice mounted in centos 6.9 with the version of apache 2.2.15 and php 5.5.38.

Before when doing any code I only loaded it and it worked immediately, I had a vacation and a partner of the work made a modification to that server that now every time you update a file, it is required to restart the apache so that you can apply the changes

Currently the partner does not work in the company and I need to replace the apache as it was by default.

They have some idea of ​​how to solve this problem.

Thank you for your cooperation

3

Answers


  1. Chosen as BEST ANSWER

    info

    check the php.ini and the function php_opcache.dl is the one that is configured under

    zend_extension = php_opcache.dl the php.ini image is appended


  2. It sounds like you have the opcache extension enabled.

    You can remove the extension or tell opcache to check your file for changes every time its loaded by adding

    opcache.revalidate_freq=0 your php config

    Login or Signup to reply.
  3. problem solved.

    the file opcache.ini was modified in the path /etc/php.d/opcache.ini and the option opcache.enable was set to 0 and that’s it, it works correctly thank you very much.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search