If you need to find the errors that the php script generates when running, you can use the php log file.

It is not enabled by default, and for its activation, it is necessary to register in php.ini:

Do not forget to create the php-scripts.log file and give the apache correct privileges for it. After that, restart apache.

Are there problems with administering linux servers? Contact us: [email protected]