Can't install Gallery3 I get a "Gallery 3 requires PHP 5.2.3 or newer" message
loupierrot
Joined: 2006-12-06
Posts: 31
Posted: Tue, 2009-04-14 15:41
Hello,
I tried to install Gallery 3 but I did not go very far because I got the following message at the begining of the install :
Gallery 3 requires PHP 5.2.3 or newer
Well do you have PHP 5.2.3 or newer?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
loupierrot
Joined: 2006-12-06
Posts: 31
Posted: Mon, 2009-04-20 09:22
Well,
On the one and one server, in the admin, I can see "MySQL5.0", so I suppose they haven't the 5.2.3 installed. Where do I have to go to to get it ?
Thanks a lot,
Pierre
nivekiam
Joined: 2002-12-10
Posts: 16504
Posted: Mon, 2009-04-20 15:43
They most likely have it. There are others that have run Gallery on 1and1 servers. You need to contact your host and ask them.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
alecmyers
Joined: 2006-08-01
Posts: 4342
Posted: Mon, 2009-04-20 20:36
Ahem... chaps ... MySQL 5.0 doesn't tell you anything about the installed version of php....
loupierrot
Joined: 2006-12-06
Posts: 31
Posted: Tue, 2009-04-21 13:18
All right, I phoned one and one, and I had to change a line of code on the htaccess. For those who had the same problem, here is the line of code to write on the top : addtype mapp-php5.php
Or this line : addtype x-mapp-php5 .php
Pierre
mcg_uk
Joined: 2009-04-26
Posts: 2
Posted: Sun, 2009-04-26 08:29
I'm getting the same
Gallery 3 requires PHP 5.2.3 or newer
message.
I've tried adding the lines Pierre has suggested but to no avail.
Can anyone help?
(we are talking about .htaccess within gallery3 folder arent' we?)
Thanks
nivekiam
Joined: 2002-12-10
Posts: 16504
Posted: Sun, 2009-04-26 16:07
That link could very possibly be different at every host. You need to contact your host and ask them about running PHP 5 and if they are, then ask them if and when they plan on upgrading to 5.2.3 or newer, which they already should be as lots of security fixes and bugs have been fixed. Also the 4.x, 4.4.9 is the last official version of that version of PHP, it's no longer supported (for over a year now), any bugs and security fixes won't be fixed, at least by the main PHP developers.
Any host that hasn't made PHP 5.2 the default version running on their server is not a host I'd be with. They do not keep up with what's happening with the software they are running and very much likely are running versions of software that have known security holes in them.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
mcg_uk
Joined: 2009-04-26
Posts: 2
Posted: Sun, 2009-04-26 16:23
Hi thanks for reply
My host uses cpanel and the info on there states:
Apache version 1.3.41 (Unix)
PHP version 5.2.5
Yet still getting the message
Gallery 3 requires PHP 5.2.3 or newer
Those are for versions of MySQL, not PHP. Just tell them you need to use PHP 5.2.3 or newer (preferably 5.2.9 since that's the current version)
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
SpookiePower
Joined: 2005-10-04
Posts: 164
Posted: Sat, 2009-05-02 13:06
Ok - How could I miss that it was PHP and not MySQL
trunky
Joined: 2007-10-13
Posts: 8
Posted: Wed, 2009-05-20 14:06
and what about me? Running a server with good (old) Debian 4.0, php version 5.2.0-8+etch15 (built: May 1 2009)
so I see its not 5.2.3, so it means I cannot install G3 at all?
nivekiam
Joined: 2002-12-10
Posts: 16504
Posted: Wed, 2009-05-20 14:40
30 second search in Google for 'php 5.2.3 debian 4'
But I think if you go that route, to stay up to date you'll no longer be able to use apt-get or aptitude to keep the security patches piling on for PHP.
You are by no means stuck with what you have.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Forkboy2
Joined: 2008-09-22
Posts: 3
Posted: Mon, 2009-06-08 03:26
FYI, I also have 1and1 and had to add
addtype x-mapp-php5 .php
to the BOTTOM of the htaccess file to get it to work. Yes, with the space after the 5.
Posts: 16504
Well do you have PHP 5.2.3 or newer?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 31
Well,
On the one and one server, in the admin, I can see "MySQL5.0", so I suppose they haven't the 5.2.3 installed. Where do I have to go to to get it ?
Thanks a lot,
Pierre
Posts: 16504
They most likely have it. There are others that have run Gallery on 1and1 servers. You need to contact your host and ask them.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 4342
Ahem... chaps ... MySQL 5.0 doesn't tell you anything about the installed version of php....
Posts: 31
All right, I phoned one and one, and I had to change a line of code on the htaccess. For those who had the same problem, here is the line of code to write on the top : addtype mapp-php5.php
Or this line : addtype x-mapp-php5 .php
Pierre
Posts: 2
I'm getting the same
Gallery 3 requires PHP 5.2.3 or newer
message.
I've tried adding the lines Pierre has suggested but to no avail.
Can anyone help?
(we are talking about .htaccess within gallery3 folder arent' we?)
Thanks
Posts: 16504
That link could very possibly be different at every host. You need to contact your host and ask them about running PHP 5 and if they are, then ask them if and when they plan on upgrading to 5.2.3 or newer, which they already should be as lots of security fixes and bugs have been fixed. Also the 4.x, 4.4.9 is the last official version of that version of PHP, it's no longer supported (for over a year now), any bugs and security fixes won't be fixed, at least by the main PHP developers.
There is a brief announcement on this page.
http://www.php.net/downloads.php
Any host that hasn't made PHP 5.2 the default version running on their server is not a host I'd be with. They do not keep up with what's happening with the software they are running and very much likely are running versions of software that have known security holes in them.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 2
Hi thanks for reply
My host uses cpanel and the info on there states:
Apache version 1.3.41 (Unix)
PHP version 5.2.5
Yet still getting the message
Gallery 3 requires PHP 5.2.3 or newer
Strange.......
Posts: 16504
post a link to phpinfo, this page explains how:
FAQ: What information is required when I ask for help in the forums?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 164
I got the same messages. At my host I can choose between
MySQL 40,41,50 and 60.
Posts: 31
Hello,
The only thing to do is to ring at 1&1 and they'll give you the right code to put in your htacess
Pierre
http://www.pierrewetzel.com
Posts: 164
I'm about to contact my webhost, but I'm not sure what to tell them, so that they understand what type
of code I'm in need of.
If I tell them to give me a piece of code like this "addtype mapp-php5.php", do they know what it is all about ?
But at my webhost I can choose between MySQL 40,41,50 and 60, but still got the messages.
http://www.anothermasterpiece.com
Posts: 16504
Those are for versions of MySQL, not PHP. Just tell them you need to use PHP 5.2.3 or newer (preferably 5.2.9 since that's the current version)
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 164
Ok - How could I miss that it was PHP and not MySQL
Posts: 8
and what about me? Running a server with good (old) Debian 4.0, php version 5.2.0-8+etch15 (built: May 1 2009)
so I see its not 5.2.3, so it means I cannot install G3 at all?
Posts: 16504
30 second search in Google for 'php 5.2.3 debian 4'
http://www.linuxcompatible.org/PHP_5.2.3_for_Debian_s89261.html
http://www.dotdeb.org/
http://www.dotdeb.org/about/ (note the part about "up-to-date" )
You can download source from here and compile the latest version yourself.
http://www.php.net/downloads.php
But I think if you go that route, to stay up to date you'll no longer be able to use apt-get or aptitude to keep the security patches piling on for PHP.
The current stable version of Debian (5.0 Lenny) has PHP 5.2.6 available in the repository.
http://packages.debian.org/lenny/php5-cgi
You are by no means stuck with what you have.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 3
FYI, I also have 1and1 and had to add
addtype x-mapp-php5 .php
to the BOTTOM of the htaccess file to get it to work. Yes, with the space after the 5.