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

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