Apache + php + gd not working at all - SUCCESS

Viren Patel viren.patel at emory.edu
Thu Oct 1 08:24:28 PDT 2009


Yes I do... and now I do see the gd module listed as well in the
phpinfo() output. I didn't change anything so I must have just not seen
it initially... something about hiding in plain sight ;-) Thanks!

VP


Ryan Schmidt wrote:
> On Oct 1, 2009, at 07:44, Viren Patel wrote:
>> Ryan Schmidt wrote:
>>> On Oct 1, 2009, at 07:16, Viren Patel wrote:
>>>> I have also installed the php5-gd package but do not see the gd5
>>>> module
>>>> listed in the phpinfo() output. Are there special instructions for
>>>> getting that capability?
>>> Does your php.ini contain a line beginning with "extension_dir"? If
>>> so, remove it; it prevents the extensions from loading properly.
>> The extensions_dir line in php.ini is commented out...
> 
> Ok, then that should be fine.
> 
> 
> I do see gd information in my phpinfo:
> 
> $ php -r 'phpinfo();' | grep gd
> /opt/local/var/db/php5/gd.ini,
> gd
> gd.jpeg_ignore_warning => 0 => 0
> 
> And the gd functions are present:
> 
> $ php -r 'echo (int)function_exists("imagecreate")."\n";'
> 1
> 
> Do you see the same?
> 
> 
> I just updated the php5 port to 5.3.0_3; once this update gets  
> mirrored to the rsync server (about half an hour), please "sudo port  
> selfupdate" and "sudo port upgrade php5" to see if that helps.
> 
> 
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: viren_patel.vcf
Type: text/x-vcard
Size: 345 bytes
Desc: not available
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20091001/c0f0d642/attachment.vcf>


More information about the macports-users mailing list