From: Jamie C. <jca...@we...> - 2007-10-21 18:32:46
|
Did you try installing the libapache2-mod-php5 package? I recall seeing a problem recently where an Apache upgrade removed it on on a Debian system .. If you have installed, it sure the module is active, which can be done in Webmin's Apache module, on the 'Configure Apache Modules' page. - Jamie On 21/Oct/2007 09:11 Kim Sleiborg wrote .. > Looks like the problem lies somewhere else... > It seems php are not running at all after the Apache2 upgrade on my > Debian server. > > Entering a webpage with a index.php file suggests a file download: > http://reddots.dk > > Right now in /etc/apache2/ I have these config files: > apache2.conf and httpd.conf (which only contains one line: Alias / > mail "/usr/share/roundcube"). > > - Kim > > Den 19/10/2007 kl. 6.36 skrev Jamie Cameron: > > > Looks like your new Apache version doesn't include mod_php, or > > doesn't have > > it enabled. If PHP on your system is always run via CGI or fastCGI > > scripts > > (which is the default for Virtualmin Pro), you can work around this > > problem > > by removing those php_value lines from the Apache configuration files > > that mention them, as they are not needed. > > > > Alternately, you can install mod_php with the command : > > > > apt-get install libapache2-mod-php5 > > > > I'm cc'ing Joe on this email, as it may be a problem with the Apache > > package he created. > > > > - Jamie > > > > On 18/Oct/2007 20:04 Kim Sleiborg wrote .. > >> Hi Jamie > >> > >> I have an urgent problem. Affter upgrading an Apache2 package an hour > >> ago, Apache failed to start. > >> Virtualmin Pro is also down, so I can't get in touch with the server. > >> > >> I really need assistance here.... > >> > >> > >> Restarting the server Debian comes up with this error: > >> > >> Syntax error on line 41 of /etc/apache2/sites-enabled/ > >> brakhage.dk.conf > >> Invalid command 'php_value', perhaps misspelled or defined by a > >> module not included by the server configuration. > >> Failed! > >> > >> This is from the package update: > >> > >> Now updating apache2 .. > >> > >> Installing package(s) with command apt-get -y --force-yes -f > >> install apache2 .. > >> > >> Reading package lists... > >> Building dependency tree... > >> The following extra packages will be installed: > >> apache2-mpm-worker apache2.2-common > >> The following packages will be REMOVED: > >> apache2-mpm-prefork libapache2-mod-php5 > >> The following NEW packages will be installed: > >> apache2-mpm-worker > >> The following packages will be upgraded: > >> apache2 apache2.2-common > >> 2 upgraded, 1 newly installed, 2 to remove and 4 not upgraded. > >> Need to get 1467kB of archives. > >> After unpacking 6124kB disk space will be freed. > >> Get:1 http://software.virtualmin.com virtualmin-etch/main > >> apache2 2.2.3-50vm [38.7kB] > >> Get:2 http://software.virtualmin.com virtualmin-etch/main > >> apache2.2-common 2.2.3-50vm [994kB] > >> Get:3 http://software.virtualmin.com virtualmin-etch/main > >> apache2-mpm-worker 2.2.3-50vm [434kB] > >> Fetched 1467kB in 3s (387kB/s) > >> (Reading database ... 109905 files and directories currently > >> installed.) > >> Preparing to replace apache2 2.2.3-50 (using .../ > >> apache2_2.2.3-50vm_all.deb) ... > >> Unpacking replacement apache2 ... > >> (Reading database ... 109901 files and directories currently > >> installed.) > >> Removing libapache2-mod-php5 ... > >> Module php5 disabled; run /etc/init.d/apache2 force-reload to > >> fully disable. > >> Removing apache2-mpm-prefork ... > >> Stopping web server (apache2).... > >> (Reading database ... 109897 files and directories currently > >> installed.) > >> Preparing to replace apache2.2-common 2.2.3-50 (using .../ > >> apache2.2-common_2.2.3-50vm_amd64.deb) ... > >> Unpacking replacement apache2.2-common ... > >> Selecting previously deselected package apache2-mpm-worker. > >> Unpacking apache2-mpm-worker (from .../apache2-mpm- > >> worker_2.2.3-50vm_amd64.deb) ... > >> Setting up apache2.2-common (2.2.3-50vm) ... > >> > >> Setting up apache2-mpm-worker (2.2.3-50vm) ... > >> Starting web server (apache2)... failed! > >> > >> Setting up apache2 (2.2.3-50vm) ... > >> > >> .. install complete. > >> > >> > >> > >> - Kim > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > - > Forwarded by the Webmin mailing list at web...@li... > To remove yourself from this list, go to > http://lists.sourceforge.net/lists/listinfo/webadmin-list |