Installation Questions

Author Message

Alan Stephenson

Monday 19 April 2004 10:05:30 am

Hello,

I am trying to install 3.3-4 on a new Linux system. It is running apache 1.3.28, php 4.3.3 and mysql version 4. This might be a simple question but I cannot seem to find the answer. When i try to run the index.php file for setup the system asks me if I want to download the file. This occurs with all of the .php files within eZpublish.

So far, I only have one .php file that I have tried to see if it would work, that is phpinfo.php.

If someone could tell me if there is something I need to set at the httpd.conf file that would be great help.

Thanks,

-Alan

Alex Jones

Monday 19 April 2004 2:33:07 pm

It sounds like Apache isn't configured to handle Mime Types properly. Check your httpd.conf file to ensure the following line is in there (and not commented out):

AddType application/x-httpd-php .php .phtml

Then restart Apache and it shouldn't try to force the download any more.

Alex

Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]

<i>When in doubt, clear the cache.</i>

Alan Stephenson

Tuesday 20 April 2004 12:27:35 pm

Alex,

Thanks for the reply. I saw there was no line in my httpd.conf and added it. I have tried with a clean install with no luck still. Now when I put the URL in I get the index.php file open in notepad file.

I am sure it is a problem with the configuration of Apache and possibly PHP that is installed on my Linux station, but I am not having much luck trying to find the difference yet.
-Alan

Added: I waited several hours and I finally got the install to work! I have installed eZpublish several times on different systems and I have always gotten different results. This has helped because I know why I get certain messages (database connection problems, etc). But this is the newest message I have not seen:

Fatal error: eZ publish did not finish it's request

The execution of eZ publish was abruptly ended, the debug output is present below.

I need to edit the files so the debug shows up, but as I said, never a dull moment with installing eZpublish! :)

Alex Jones

Wednesday 21 April 2004 6:18:47 am

Glad you got past the initial problem! :) We'll need a bit more detail on that last error, but I wouldn't be surprised if eZ publish was running into a memory issue. How much memory have you allocated to PHP? If possible try to bump it up to 16MB, or even 20 to see if that gets around the problem.

Alex

Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]

<i>When in doubt, clear the cache.</i>

Alan Stephenson

Wednesday 21 April 2004 7:11:44 am

That helped. Last night I bumped the memory (since I have access to it now) to 16M. On a side note, do you know what this would do to my performance on this web server? How many sites can I run with this setting set at this level? The one hosting place I had would not bump up the number from 8 to 12.

Alex Jones

Wednesday 21 April 2004 7:33:49 am

Glad to now that the memory bump helped. I think the amount of sites that can be run will depend upon the server set up. You may want to do some searches on the site as there have been many threads on the topic. Also, the new release is supposed to have some major improvements to memory management.

Alex

Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]

<i>When in doubt, clear the cache.</i>

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 21:07:32
Script start
Timing: Jan 18 2025 21:07:32
Module start 'layout'
Timing: Jan 18 2025 21:07:32
Module start 'content'
Timing: Jan 18 2025 21:07:33
Module end 'content'
Timing: Jan 18 2025 21:07:33
Script end

Main resources:

Total runtime1.1904 sec
Peak memory usage4,096.0000 KB
Database Queries66

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0045 587.9141152.6250
Module start 'layout' 0.00450.0029 740.539139.4609
Module start 'content' 0.00741.1817 780.0000565.2813
Module end 'content' 1.18910.0013 1,345.281316.1719
Script end 1.1904  1,361.4531 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.2862160.0002
Check MTime0.00140.1217160.0001
Mysql Total
Database connection0.00060.050110.0006
Mysqli_queries1.128094.7597660.0171
Looping result0.00100.0843640.0000
Template Total1.155097.020.5775
Template load0.00200.170020.0010
Template processing1.153096.855320.5765
Template load and register function0.00030.027510.0003
states
state_id_array0.00190.158610.0019
state_identifier_array0.00160.132420.0008
Override
Cache load0.00180.1485340.0001
Sytem overhead
Fetch class attribute can translate value0.00100.084920.0005
Fetch class attribute name0.00150.126170.0002
XML
Image XML parsing0.00070.058520.0003
class_abstraction
Instantiating content class attribute0.00000.003690.0000
General
dbfile0.00080.0682160.0001
String conversion0.00000.000640.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
6content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
8content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.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: 21
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs