just ran new updates and now apache fails "Invalid command 'php_value' ....."

I just ran the updates from Virtualmins main window and now Apache will not start with the error msg

  • Starting web server apache2 Syntax error on line 63 of /etc/apache2/sites-enabled/awine.domain.com.conf: Invalid command 'php_value', perhaps misspelled or defined by a module not included in the server configuration ...fail!

if i erase the line it just moves to the next Vserver and does it again. I am assuming it somehow waxed the mod_php setting and is running everything as cgi now. How do i get it all back?

Closed (fixed)


this is for all vservers on the box

The simplest fix for this would be to re-install or re-enable the mod_php. If it's on your system now, you can enable it using Webmin -> Servers -> Apache Webserver -> Configure Apache Modules.

Alternatively, you could comment out those lines, though you'd probably want to automate it in some way, doing that manually would take awhile :-)

Yes, I would recommend re-enabling mod_php as Eric suggested. For reasons unknown to us, the Debian Apache package disabled it when upgrading sometimes ..

thats what i did, works fine now, thanks!