You are here: Re: [PHP] Is GD available « PHP « IT news, forums, messages
Re: [PHP] Is GD available

Posted by Andrι Medeiros on 11/13/97 11:21

On Fri, 2005-07-15 at 07:41 -0700, Todd Cary wrote:
> Damn! I should have checked the error_log first!
>
> PHP Warning: Unknown(): Invalid library (maybe not a PHP library)
> 'libgd.so.2' in Unknown on line 0
>
> And this is the library from the rpm specified in ww.php.net:
> http://www.boutell.com/gd/. However, the site says that gd should be
> supported out of the box. I am going to try and find the rpm for
> php-4.3.11 and reinstall it.
>
> Todd
>
> AndrΓ© Medeiros wrote:
> > On Fri, 2005-07-15 at 07:25 -0700, Todd Cary wrote:
> >
> > > In php 4.3.11, ini files are placed in /etc/php.d that have
> > > "extension=xxxx". I have one (i.e. gd.ini) with
> > > "extension=libgd.so.2" and libgd.so.2 is in /usr/lib/php4.
> > >
> > > Todd
> > >
> > > AndrΓ© Medeiros wrote:
> > >
> > > > On Fri, 2005-07-15 at 07:06 -0700, Todd Cary wrote:
> > > >
> > > >
> > > > > I have php 4.3.11 available, and when I do a phpinfo()
> > > > >
> > > > > http://209.204.172.137:81/testphp.php
> > > > >
> > > > > I see it in the configuration, but it is not listed elsewhere. How can
> > > > > I test to see if it is available?
> > > > >
> > > > > gd_info() is not in 4.3.11 and extension_loaded('gd') gives a false.
> > > > >
> > > > > Todd
> > > > >
> > > > >
> > > > >
> > > > Check if the extension is loaded on php.ini
> > > >
> > > > If it is, check apache's errorlog.
> > > >
> > > > Good luck
> > > >
> > > >
> > > >
> > > >
> >
> > Try putting it on php.ini
> >
> > There's something wrong that makes the extension not being loaded.
> >
> > Did you check apache's error logs?
> >
> >
> >

Being an extension developer... I know these things happen :)

Good luck!

 

Navigation:

[Reply to this message]


УдалСнная Ρ€Π°Π±ΠΎΡ‚Π° для программистов  •  Как Π·Π°Ρ€Π°Π±ΠΎΡ‚Π°Ρ‚ΡŒ Π½Π° Google AdSense  •  England, UK  •  ΡΡ‚Π°Ρ‚ΡŒΠΈ Π½Π° английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Π‘Π°ΠΉΡ‚ ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ Π² Π‘Ρ‚ΡƒΠ΄ΠΈΠΈ Π’Π°Π»Π΅Π½Ρ‚ΠΈΠ½Π° ΠŸΠ΅Ρ‚Ρ€ΡƒΡ‡Π΅ΠΊΠ°
ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ΠΈΠ΅ ΠΈ ΠΏΠΎΠ΄Π΄Π΅Ρ€ΠΆΠΊΠ° Π²Π΅Π±-сайтов, Ρ€Π°Π·Ρ€Π°Π±ΠΎΡ‚ΠΊΠ° ΠΏΡ€ΠΎΠ³Ρ€Π°ΠΌΠΌΠ½ΠΎΠ³ΠΎ обСспСчСния, поисковая оптимизация