Submitted by plahpoy@gmail.com on Mon, 01/18/2010 - 12:59
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?
Status:
Closed (fixed)
Comments
Submitted by plahpoy@gmail.com on Mon, 01/18/2010 - 13:00 Comment #1
this is for all vservers on the box
Submitted by andreychek on Mon, 01/18/2010 - 13:09 Comment #2
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 :-)
Submitted by JamieCameron on Mon, 01/18/2010 - 13:43 Comment #3
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 ..
Submitted by plahpoy@gmail.com on Mon, 01/18/2010 - 14:32 Comment #4
thats what i did, works fine now, thanks!
Submitted by plahpoy@gmail.com on Mon, 01/18/2010 - 14:33 Comment #5
thanks again