Keyword
Please note that official support for commercial extensions & templates is provided in the Subscriber Help Desk.
Support requests should ONLY be directed there and require an active subscription plan.
This forum board is to be used for archive purposes and knowledge exchange ONLY.

[Solved] GD Libraries and permissions for PHP 5.3

  • Adam Banks
  • Adam Banks's Avatar Topic Author
  • Offline
  • New Member
More
12 years 2 months ago - 12 years 2 months ago #50604 by Adam Banks
Joomla 2.5.7 FPSS 3.2.0
================

Since my hosters upgraded to PHP 5.3.16 (from 5.2.6) I'm getting the dreaded "This is not an image file" error - regardless of whether I try to upload a GIF, PNG or JPG (though I see JPG support appears to be missing in the PHP 5.3 compile).

Here are the two GD Library sections:

PHP 5.2.6 (working)
===================
gd
GD Support enabled
GD Version 2.0 or higher
FreeType Support enabled
FreeType Linkage with freetype
FreeType Version 2.3.7
T1Lib Support enabled
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled


PHP 5.3 (NOT working)
=================
gd
GD Support enabled
GD Version bundled (2.0.34 compatible)
GIF Read Support enabled
GIF Create Support enabled
PNG Support enabled
libPNG Version 1.2.27
WBMP Support enabled
XBM Support enabled

My questions are:

1) What GD version (and options) does FPSS need?
2) I see loads of mentions of permissions - but no-one seems to say which directories and what the permissions should actually be (!!).

I don't think it's a permissions problem in my case, as FPSS was working fine till the PHP upgrade (I didn't need to reinstall the site itself).

HELP!!!

Adam.

Please Log in or Create an account to join the conversation.

  • Adam Banks
  • Adam Banks's Avatar Topic Author
  • Offline
  • New Member
More
12 years 2 months ago #50605 by Adam Banks
Replied by Adam Banks on topic Re: GD Libraries and permissions for PHP 5.3
To answer my own question (for the benefit of others).

It appears that the missing JPG option in the GD libraries was the problem. My hosting company re-compiled PHP and all works great now :-). Looks like FPSS uses JPG regardless of the format of the incoming file. I'm guessing that the final image is always .jpg <??>.

For the record, though - I'd still like to know the full GD requirements for FPSS - and also permissions info.

TIA

Adam.

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum