No Images Displayed


I can't seem to get any images to display in PHP Album, including images associated with the theme (e.g.: logo.png). I'm running PHP 5.2.5, and have GD2 enabled by uncommenting the line "extension=php_gd2.dll" in php.ini. If I run phpinfo() from within a script from an HTTP request, the *only* information I see about GD2 is this line at the top of the page:

"Configure Command - cscript /nologo configure.js "--enable-snapshot-build" "--with-gd=shared"".

If I run phpinfo in a script from the command line, I see the following info about GD2:


GD Support => enabled
GD Version => bundled (2.0.34 compatible)
FreeType Support => enabled
FreeType Linkage => with freetype
FreeType Version => 2.1.9
T1Lib Support => enabled
GIF Read Support => enabled
GIF Create Support => enabled
JPG Support => enabled
PNG Support => enabled
WBMP Support => enabled
XBM Support => enabled

I'm running under Apache 2.2. Have I missed something to fully enable GD2? Any other advice appreciated as well.

BTW: This post is related to:

Thanks for your help.



I found that by adding the following to httpd.conf:

PHPIniDir = ""

the GD2 section within the HTTP request was now present. However, adding this also caused php album's main.php not to process. I now receive the text of the script as opposed to the page. So it seems I might have a different problem now. Advice appreciated.




I had to set the "short_open_tag = On" in order to get the page back. It seems like this might be a defect as per the post listed below.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.