2.2.6 better on PHP5 ?

technobilder

Joined: 2003-02-09
Posts: 214
Posted: Wed, 2008-10-01 08:13

My managed Server actually runs the following:

Server Information: Apache/2.2.9 Server at www.technobilder.de Port 80
PHP Version: 4.4.8
Database-Version: MySQL 4.1.22-max-log

Can you tell me what PHP5/mySQL Version I should use when upgrading that is tested and works.

I ask because I tried to use php5 with G2.2.5 on a subdomain by adding AddHandler php5-cgi .php to my htaccess but that failed and Im no expert to tell why.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Wed, 2008-10-01 21:20

it sure did't fail because of php 5.

g2 works fine with php 4 (php 4.3 and later) and php 5 (php 5.0.5 and later).

--------------
Documentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Fri, 2008-10-03 00:22
Quote:
I ask because I tried to use php5 with G2.2.5 on a subdomain by adding AddHandler php5-cgi .php to my htaccess but that failed and Im no expert to tell why.

So you tried using php-cgiwrap? What exactly did you do and what was the error message? Did you test a "plain" php file to see if that worked, like phpinfo?

<?php phpinfo(); ?>

I use php-cgiwrap on my host without problems. How about trying to get it working without using PHP in CGI mode first?

I'm pretty sure, not 100% as I'm no expert either, that the syntax you used is suppose to go into httpd.conf, where if you're using .htaccess you need something like this:

AddType application/x-httpd-wphp php
Action application/x-httpd-wphp /cgi-bin/php.cgi 

Of course I could be way off base on what you are trying to do....
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here