Apache + php + gd not working at all - PARTIAL SUCCESS

Viren Patel viren.patel at emory.edu
Thu Oct 1 05:44:56 PDT 2009


The extensions_dir line in php.ini is commented out...

...
; Directory in which the loadable extensions (modules) reside.
; http://php.net/extension-dir
; extension_dir = "./"
; On windows:
; extension_dir = "ext"
...


Ryan Schmidt wrote:
> On Oct 1, 2009, at 07:16, Viren Patel wrote:
> 
>> Yes, I did follow all the steps. The only difference I noticed was in
>> the phpinfo() test file. Whereas I originally had <? phpinfo() ?>, the
>> MAMP instructions specify <?php phpinfo() ?>. The MAMP test file  
>> works.
>> I don't know if this a new feature or a bug.
> 
> If you want "<? phpinfo() ?>" to work, turn on short open tags in your  
> php.ini.
> 
> 
>> 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.
> 
> 
-------------- 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/90dc8ebc/attachment.vcf>


More information about the macports-users mailing list