Forums / Install & configuration / 3.4 and PHP-CGI

3.4 and PHP-CGI

Author Message

Ben Pirt

Thursday 03 June 2004 9:13:32 am

Well, I was quite excited about the upcoming fix to the CGI problem and so today tried out the new 3.4 stable release.
It looks very good and am looking forward to trying out the new features. Unfortunately the CGI fix is a little disappointing.
I am a real sucker for a nice clean url, but unfortunately it seems to need to begin with /index.php?/

Is there a reason that it has to have this in?
I made a fix to version 3.3-3 which did not need this part of the URL and everything seems to work fine - no problems yet.

see http://ez.no/community/forum/install_configuration/possible_fix_for_the_cgi_problem

I would love to have this working and hate having to hack things so that they do. I'm sure I'm just misunderstanding the problem or something, but I'm very curious why it has to work this way.

All the best, and congratulations on getting 3.4 out,

Ben Pirt

Ben Pirt

Tuesday 08 June 2004 4:46:20 am

no ideas from anyone?
I guess I must be the only one this bothers.

Paul Forsyth

Tuesday 08 June 2004 7:58:01 am

Hey Ben,

Isnt the index.php a web server rewrite issue? Can the .htaccess help here?

paul

--
http://www.visionwt.com

Ben Pirt

Thursday 17 June 2004 1:46:49 am

I suppose the rewriting rule could be changed so that it changes this.
Not sure how to do it though. I'll start experimenting and post back here with results.

All the best,

Ben Pirt

Gustave Stresen-Reuter

Monday 12 July 2004 4:08:45 pm

So, are you saying you actually got eZ Publish to isntall and work with PHP running as CGI? I was able to get all the way through the installation process but then was unable to actually access the site (HTTP 500 errors and "FATAL: emalloc(): Unable to allocate 12 bytes" errors in Apache error log).

Also, the installer instructed me to add "AcceptPathInfo On" to .htaccess (since I don't have access to httpd.conf), which I did, by adding it to the first <FilesMatch> directive in the default .htaccess file (.htaccess_root).

I installed a Plain site with a few modules. I'm going to try installing the Plain site with no modules to see if that allows me to get the site up and running.

I'd love to hear of anyone who has been successful getting it to run in a virtual host environment with PHP running as a CGI. My hosting provider, http://www.modwest.com/ is excellent but they are limited in what they can and are willing to provide in terms of an environment.

One other thing: I am using Apache 1.3.27 and I see that upon a new installation, when clicking the Finetune button, eZ Publish will not run on Apache 1.3 with PHP in CGI mode. Apparently, it will run with Apache 2 with PHP in CGI mode. I wonder what the chances are that my hosting provider is going to upgrade to Apache 2 (try slim and none!)

Ted Stresen-Reuter

eZ debug

Timing: Jan 18 2025 15:02:45
Script start
Timing: Jan 18 2025 15:02:45
Module start 'content'
Timing: Jan 18 2025 15:02:45
Module end 'content'
Timing: Jan 18 2025 15:02:45
Script end

Main resources:

Total runtime0.1482 sec
Peak memory usage2,048.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0072 587.7031180.8438
Module start 'content' 0.00720.0071 768.546997.7578
Module end 'content' 0.01440.1338 866.3047526.9766
Script end 0.1481  1,393.2813 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00362.3997200.0002
Check MTime0.00140.9325200.0001
Mysql Total
Database connection0.00080.536310.0008
Mysqli_queries0.099166.87181410.0007
Looping result0.00120.81301390.0000
Template Total0.133389.910.1333
Template load0.00090.593110.0009
Template processing0.132489.345110.1324
Override
Cache load0.00060.431110.0006
Sytem overhead
Fetch class attribute can translate value0.00090.605810.0009
XML
Image XML parsing0.00030.184210.0003
General
dbfile0.00674.5221200.0003
String conversion0.00000.006830.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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs