[BlueOnyx:18134] possible CMU bug on 5209R
Chris Gebhardt - VIRTBIZ Internet
cobaltfacts at virtbiz.com
Mon Aug 3 12:40:40 -05 2015
When using cmuExport from version <5209R and cmuImport to 5209R, PHP is
broken.
Specifically: Apache will fail to start when sites are configured with
suPHP due to improper AddHandler configuration. Sites are generated
with vhost conf file statement of:
suPHP_AddHandler
However, this is an incomplete statement as it has no directive, so it
should be set as:
suPHP_AddHandler x-httpd-php
I used a sed statement to correct this and Apache loads:
sed -i 'suPHP_AddHandler/suPHP_AddHandler x-httpd-php/g'
However, any sites that are configured with PHP then want to download
the php file rather than execute on the server.
This is fixed by toggling php as disabled from the site management, then
toggling back to suPHP (or another PHP option, as desired).
--
Chris Gebhardt
VIRTBIZ Internet Services
Access, Web Hosting, Colocation, Dedicated
www.virtbiz.com | toll-free (866) 4 VIRTBIZ
More information about the Blueonyx
mailing list