All the latest news and reviews are now available via the NZTechie.com homepage at https://www.nztechie.com

Sunday, March 30, 2008

Easy Application Install (Gallery2) on IXWebhosting

Web hosting company IXwebhosting offer a number of one-click GPL applications that their hosting customers can implement on their websites.

I recently attempted to install Gallery2 using this facility. I had previously installed Gallery2 on my Startlogic web hosting account through its standard installation script.

Unfortunately my experience installing Gallery2 on IXwebhosting was not perfect. I ran into problems relating to file uploads. I had two distinct problems:

- Photos over 2 Megabytes in size were rejected with an "Upload Failed" error message

- File uploads would fail with the following error:

"filename.ext: You may need to set LimitRequestBody 16777216 and memory_limit=64M in /etc/php.ini and /etc/httpd/conf.d/php.conf on your Gallery server java.net.SocketException: Connection reset"

How I resolved this issue

The 2 megabyte file restriction appears to be a default setting from ixwebhosting which effectively blocks any web-based application from uploading files greater then 2 megabytes in size. (This wont affect you using FTP to upload content to your own site)

In the cgi-bin folder I created a new php.ini configuration file. In this file I added the following text string:

upload_max_filesize = 2048M

The other file upload problem was easily remedied by following the instructions within the error message. I followed the instructions relating to the php.ini file and the issue appears resolved. I added the following two lines to the php.ini file:

LimitRequestBody 16777216 memory_limit=64MB

It is a bit disappointing that this "easy application" required a bit of fiddling with in order to get in to operation under this hosting environment.

When installing on Startlogic the only extra configuration required was actually documented in the installation check of the Gallery2 installer itself.

2 comments:

EinkeY said...

So are you still happy with IX?
I tried to ask some questions on there online chat but either they didn't want to get a new customer or just wanted to say "Hello, how can i help?" and then ignore me, or there chat doesn;t work properly
and i was just about to sign up with them, but now i decided to wait.

Hayden Tennent said...

In my very limited experience so far with IXwebhosting, I have found they respond to the initial chat requests significantly faster then Startlogic. However, I have found that when you are chatting with them they do take a long time to get back to you. However, they do always come back to you and the quality of the answers they provide is worth the wait when you compare it with the gibberish that you get from the Startlogic helpdesk.