Porting Gallery 1.5 to new server

Saratoga Sam

Joined: 2005-06-16
Posts: 9
Posted: Sun, 2013-06-23 02:31

Hi -

I've been running Gallery 1.5 successfully for many years on a Linux server running PHP 4.3.11 and Apache 2.0.51.

My server provider is pressuring me to migrate to an upgraded server running PHP 5.3.3 and Apache 2.2.15.

Would you expect that I would be able to port my old Gallery installation to this new server?

Thanks.

 
Dayo

Joined: 2005-11-04
Posts: 1642
Posted: Sun, 2013-06-23 07:56

Here is a summary of the compatibilities:

Gallery Version PHP 4.3 PHP 5.2 PHP 5.3 PHP 5.4 PHP 5.5 PHP 5.6
v1.5.x Fully Compatible Generally Compatible Not Compatible Not Compatible Not Compatible Not Compatible
v2.3.2 Fully Compatible Fully Compatible Fully Compatible Fully Compatible Fully Compatible Fully Compatible
v3.0.9 Not Compatible Fully Compatible Fully Compatible Fully Compatible Fully Compatible Fully Compatible

From the above, I'll suggest that your best bet will be to first migrate to Gallery 2.3.2 on the old server as Gallery 2.3.2 will be compatible with the old version of PHP running on the old server and then move that installation to the new server where it will equally be compatible with the newer version of PHP on the new server.

To try to get Gallery 1.5.x working on a server with PHP 5.3 will require messing about with server settings your host will most likely rightly refuse to do.

--
dakanji.com

 
Saratoga Sam

Joined: 2005-06-16
Posts: 9
Posted: Sun, 2013-06-23 15:35

Thanks.

My server is actually a VPS, a virtual private server, so I have access to changing many of the settings.

Do you know which settings I would have to change in order to run Gallery 1.5 on PHP 5.3?

Thanks!

 
Dayo

Joined: 2005-11-04
Posts: 1642
Posted: Mon, 2013-06-24 06:38

You will, as a minimum, need to disable warnings and set the timezone in your php.ini.

error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED
display_errors = Off
log_errors = Off

Switching both display_errors and log_errors off however, is almost always a very bad idea and will almost certainly cause you significant amounts of grief down the line.

--
dakanji.com

 
Saratoga Sam

Joined: 2005-06-16
Posts: 9
Posted: Tue, 2013-06-25 02:22

Ok, thanks.

 
joshcali

Joined: 2007-10-03
Posts: 19
Posted: Mon, 2013-07-08 10:06

hey, is there any place to find more info on how to switch gallery 1 from 4.3 to 5.2?

I have to do this and it's causin' issues :)