PHP not interpreted after Virtual Host enabled SOLVED

Author Message

Leigh Gable

Wednesday 11 November 2009 2:46:58 pm

Hello All,

I've just finished installing eZ Publish 4.2 with eZ Flow on a LAMP server. When I set up the Virtual Host mode, a strange thing happened. My domain name pointed to the index.php file, but the file wasn't interpreted. It was as if PHP had been disabled.

Does anyone know what this might be? I used the standard mod rewrite rules in the documentation, substituting my domain, document root, etc. in my sites-available config. I activated mod rewrites with a2enmod, and the sites-enabled contains the symlink...

I am new to configuring apache2 and I wonder if it might be related to a separate problem, in which I get an error upon starting the server, "mixing * and non * hosts is not supported".

Any thoughts would be much appreciated.

All the best,
Leigh

EDIT: I'm not sure how or why, but when I cleared up the virtual host config problems--it was a conflict between my sites-available conf and the ports.conf, my php problems seem to have gone away as well. EDIT#2: It was uncommenting .php in the mods-available/php5.conf file in apache2 folder that fixed it.

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 02:17:37
Script start
Timing: Jan 18 2025 02:17:37
Module start 'layout'
Timing: Jan 18 2025 02:17:37
Module start 'content'
Timing: Jan 18 2025 02:17:38
Module end 'content'
Timing: Jan 18 2025 02:17:38
Script end

Main resources:

Total runtime1.1549 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0069 589.2813152.6563
Module start 'layout' 0.00690.0053 741.937539.5234
Module start 'content' 0.01231.1414 781.4609401.9766
Module end 'content' 1.15370.0012 1,183.43758.1094
Script end 1.1549  1,191.5469 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.3013160.0002
Check MTime0.00130.1146160.0001
Mysql Total
Database connection0.00070.057910.0007
Mysqli_queries1.114096.4562460.0242
Looping result0.00040.0357440.0000
Template Total1.117296.720.5586
Template load0.00220.186620.0011
Template processing1.115096.543920.5575
Template load and register function0.00010.008510.0001
states
state_id_array0.00080.067510.0008
state_identifier_array0.00110.093920.0005
Override
Cache load0.00170.1496110.0002
Sytem overhead
Fetch class attribute can translate value0.00060.054510.0006
Fetch class attribute name0.00060.049610.0006
XML
Image XML parsing0.00010.009210.0001
class_abstraction
Instantiating content class attribute0.00000.000410.0000
General
dbfile0.00070.0601100.0001
String conversion0.00000.000940.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 6
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs