Forums / Install & configuration / How install 3.4.0b1 with PHP CGI at 1and1.com, for example?

How install 3.4.0b1 with PHP CGI at 1and1.com, for example?

Author Message

Rick Denny

Monday 10 May 2004 5:10:42 pm

Hi,

It has been mentioned that the 3.4.0 series *should* work with PHP CGI, but I haven't seen any installation instructions. My preferred host is 1and1.com, which I've alsoe seen mentioned, though somewhat inconclusively.

After I untar the 3.4.0b1 file, and setting up a database (on one of 1and1's remote perfora.net servers), I try to run the index.php file, but I just get an error 500/internal server error, not the web-based setup.

Does anyone have any suggestions/ideas for other steps that I might need to take to get the 3.4.0 beta, which theoretically supports PHP CGI, up and running?

Thanks,

Rick

James Packham

Tuesday 11 May 2004 3:17:25 am

>> error 500/internal server error

This could be caused by an entry in your .htaccess file that the server doesn't like. Try commenting out all lines, apart from the one about the directory index being index.php to rule this out.

Regards,

James

Rick Denny

Tuesday 11 May 2004 8:13:47 am

James, thanks for the suggestion.

I edited the .htaccess_root file to comment out all but the directory index line, but still get the 500 server error.

Has anyone gotten eZ publish running with PHP CGI in general or 1and1.com (shared hosting) in particular?

Thanks,

Rick

Alexandre Cunha

Tuesday 11 May 2004 8:33:20 am

The .htaccess_root doest do anything !
Try rename it to .htaccess

Before: can you run any php file in your host accout ? try something simple: create any php file with <?php echo "hello world"; ?>

More about error 500:
http://www.checkupdown.com/status/E500.html

http://AlexandreCunha.com

James Packham

Tuesday 11 May 2004 8:41:31 am

Yes, like Axel says - this file won't do anything! It need to be .htaccess. In the past I've found that the lines which deny access to files can be particularly troublesome (on nvh setup, that is), but you may also have problems with mod_rewrite, so that is why I suggest you comment most of them out.

I have it running as CGI, but only version 3.3-1. It works quite well, but of course you would be subject to the 3.3-1 bugs (which probably aren't as bad as in 3.4 beta, but we wait and see :) ). The choice of which you want to use is yours, but personally I'd got for 3.4, because it should go stable fairly soon anyway (at which point you can just upgrade).

Try what Axel says is my advice :)

Regards,

James

Rick Denny

Tuesday 11 May 2004 7:22:42 pm

Thanks Axel and James.

So, I renamed the mostly commented out .htaccess file, and I placed the little "hello world" php file on the 1and1.com server. It runs fine, but I still get an error 500 on the eZ publish index.php. I have an email into 1and1.com, but since the simple .php file runs fine, I doubt they'll be too much help.

Any other suggestions or installation steps that I may have missed would be appreciated. Thanks, Rick

Alexandre Cunha

Tuesday 11 May 2004 7:34:42 pm

Your url ends with a slash (yourdomain.com/) or with index.php ? (yourdomain.com/index.php)
try both.

http://AlexandreCunha.com

Rick Denny

Tuesday 11 May 2004 7:50:35 pm

thanks -- both index.php and just the domain name with the trailing slash give the same inconclusive 500 error.

Alexandre Cunha

Tuesday 11 May 2004 8:07:18 pm

What apache version are you using ?

doing a search in the forum I found:
http://ez.no/community/forum/install_configuration/3_3_url_problem_after_install_help
other 1and1:
http://ez.no/community/forum/install_configuration/install_on_1and1_servers_php_cgi_perfora_net_db

http://AlexandreCunha.com

Peter Quennell

Friday 21 May 2004 4:34:19 am

Rick:

Please see my "breakthrough" post on 21 May.

I hope it fixes your problem. It sure fixed ours..

Courtesy of our hoster and their chief programmer.

Fastpete