Forums / Install & configuration / Installation Questions

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>

eZ debug

Timing: Jan 19 2025 07:13:35
Script start
Timing: Jan 19 2025 07:13:35
Module start 'content'
Timing: Jan 19 2025 07:13:35
Module end 'content'
Timing: Jan 19 2025 07:13:35
Script end

Main resources:

Total runtime0.7274 sec
Peak memory usage4,096.0000 KB
Database Queries203

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0061 588.9688180.8359
Module start 'content' 0.00610.6054 769.8047570.3594
Module end 'content' 0.61160.1157 1,340.1641337.4063
Script end 0.7273  1,677.5703 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00370.5153210.0002
Check MTime0.00140.1967210.0001
Mysql Total
Database connection0.00060.088710.0006
Mysqli_queries0.653189.79212030.0032
Looping result0.00190.26382010.0000
Template Total0.706197.120.3530
Template load0.00210.285720.0010
Template processing0.703996.778920.3520
Template load and register function0.00010.019410.0001
states
state_id_array0.00030.042710.0003
state_identifier_array0.00100.131320.0005
Override
Cache load0.00170.2380340.0001
Sytem overhead
Fetch class attribute can translate value0.00160.220730.0005
Fetch class attribute name0.00090.122570.0001
XML
Image XML parsing0.00100.130930.0003
class_abstraction
Instantiating content class attribute0.00000.002290.0000
General
dbfile0.00430.5917270.0002
String conversion0.00000.001130.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/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