PHP Creating file but not writing to files


After upgrading to the latest version of virtualmin, it seems that my PHP is creating files but not writing to them. It's caused me some headaches with my CMS of IPb.

The file permission of my cache folder is set to 777 to include sub files. The user and group permission is also set correctly to themotorpool themotorpool

Can you all help me out and my site up and running again?

I'm not finding any errors in my apache error log. My php.ini is set correctly.



Although this shouldn't cause problems, we've seen an update made in the recent Virtualmin version that can conflict with certain unusual setups.

In your Apache VirtualHost config for that particular domain, which is in /etc/apache2/sites-available/DOMAIN_NAME.conf, there's a line that looks like this:

php_admin_value engine Off

If you command that out, and then restart Apache, does that resolve your problem? You can restart Apache with the following:

/etc/init.d/apache2 restart

So PHP can create files, but they are empty?

You might want to check if the domain is over quota..