RE: [PHP] php_gd2.dll not found

2006-04-27 Thread Ari Davidow
> On 26 April 2006 22:46, Ari Davidow wrote:
> 
> > > > Anomaly 2:
> > > >
> > > > When I do a "phpinfo();" to see what is actually loaded
> (and to
> > > > ensure that the correct php.ini is being loaded, etc.),
> among the
> > > > info is the notice that I am using php 5.0.3-dev. I get
> the same
> > > > info when I telnet to localhost.
> 
> This means you have an old php5ts.dll that is being loaded in
> preference to the one for 5.1.2.
> 
> Locate it and delete it.
> 
> This may also fix your other problems.


Bingo.

I had downloaded older versions of that and other mysql-related
files from http://www.siteinaweek.com/installphp5/howto.php#apache
while trying to get the PHP-MySQL connection working. Using the
current versions from the current PHP download (it looks like only
php5ts.dll had a different size, so the other files may be the
same, just recompiled later from the same code) fixed the problem.
I now show the correct version and there are no further
php_gd2.dll errors.

This sequence may also explain why this problem is so obscure.

Many thanks,
ari

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] php_gd2.dll not found

2006-04-27 Thread Ford, Mike
On 26 April 2006 22:46, Ari Davidow wrote:

> > > Anomaly 2:
> > > 
> > > When I do a "phpinfo();" to see what is actually loaded (and to
> > > ensure that the correct php.ini is being loaded, etc.), among the
> > > info is the notice that I am using php 5.0.3-dev. I get the same
> > > info when I telnet to localhost.

This means you have an old php5ts.dll that is being loaded in preference to the 
one for 5.1.2.

Locate it and delete it.

This may also fix your other problems.

Cheers!

Mike

-
Mike Ford,  Electronic Information Services Adviser,
Learning Support Services, Learning & Information Services,
JG125, James Graham Building, Leeds Metropolitan University,
Headingley Campus, LEEDS,  LS6 3QS,  United Kingdom
Email: [EMAIL PROTECTED]
Tel: +44 113 283 2600 extn 4730  Fax:  +44 113 283 3211 


To view the terms under which this email is distributed, please go to 
http://disclaimer.leedsmet.ac.uk/email.htm

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] php_gd2.dll not found

2006-04-26 Thread Ari Davidow
No. No mix-n-match: This was a clean install. The old php folder
was renamed, then the new one put into place. I downloaded the
files again, from a different mirror, and tried again. Most files
are dated 1/11/2006, as was previously the case.

I have noted from the archives that a few other people report
similar conditions, but I'm not finding any additional
trouble-shooting ideas.

ari

> From: Richard Lynch [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, April 26, 2006 5:06 PM
> 
> Are you sure you didn't mix-n-match your old DLLs from previous
> php
> versions?
> 
> On Wed, April 26, 2006 3:52 pm, Ari Davidow wrote:
> > I am thoroughly confused.
> >
> >
> >
> > I am working on a Windows XP box.
> >
> > I have just upgraded my dev environment to Apache 2 (2.0.55,
> where
> > it was), php 5.1.2 (PHP 5.1.2 zip
> > 
> > package), MySQL 5.0.20a.
> >
> >
> >
> > Anomaly 1:
> >
> > I carefully navigated the MySQL mess, got the required DLLs
> into
> > my /ext folder, noted where extensions are found in php.ini,
> > uncommented the lines to load mysql and php_gd2. MySQL drivers
> > load fine, so I am uncommented correctly and have correctly
> > designated the folder where extensions are to be found. I
> continue
> > to get a message that php_gd2 is not found. The message lists
> the
> > correct path and directory, so I have to suspect that this
> > particular php_gd2 does not work, does not work with php5, or
> has
> > otherwise gotten munged:
> >
> >
> >
> >  PHP Startup: Unable to load dynamic library
> > 'c:\php\ext\php_gd2.dll' - The specified procedure could not
> be
> > found.
> >
> >
> >
> > I have tried also adding the php_gd2.dll file to the
> > WINDOWS\system32 folder, as well. Makes no difference, so I
> have
> > removed those files.
> >
> >
> >
> > Anomaly 2:
> >
> > When I do a "phpinfo();" to see what is actually loaded (and
> to
> > ensure that the correct php.ini is being loaded, etc.), among
> the
> > info is the notice that I am using php 5.0.3-dev. I get the
> same
> > info when I telnet to localhost.
> >
> >
> >
> > What might I be doing wrong? Is there a patch for php_gd2.dll
> that
> > I have missed? Have I somehow downloaded the wrong php
> version, or
> > could something simply have gotten corrupted?
> >
> >
> >
> > Thanks,
> >
> > Ari
> >
> >
> >
> >
> 
> 
> --
> Like Music?
> http://l-i-e.com/artists.htm
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] php_gd2.dll not found

2006-04-26 Thread tedd

At 4:52 PM -0400 4/26/06, Ari Davidow wrote:


I am thoroughly confused.

I am working on a Windows XP box.



A correlation, perhaps?  :-)

tedd

--

http://sperling.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] php_gd2.dll not found

2006-04-26 Thread Richard Lynch
Are you sure you didn't mix-n-match your old DLLs from previous php
versions?

You can't do that...

On Wed, April 26, 2006 3:52 pm, Ari Davidow wrote:
> I am thoroughly confused.
>
>
>
> I am working on a Windows XP box.
>
> I have just upgraded my dev environment to Apache 2 (2.0.55, where
> it was), php 5.1.2 (PHP 5.1.2 zip
> 
> package), MySQL 5.0.20a.
>
>
>
> Anomaly 1:
>
> I carefully navigated the MySQL mess, got the required DLLs into
> my /ext folder, noted where extensions are found in php.ini,
> uncommented the lines to load mysql and php_gd2. MySQL drivers
> load fine, so I am uncommented correctly and have correctly
> designated the folder where extensions are to be found. I continue
> to get a message that php_gd2 is not found. The message lists the
> correct path and directory, so I have to suspect that this
> particular php_gd2 does not work, does not work with php5, or has
> otherwise gotten munged:
>
>
>
>  PHP Startup: Unable to load dynamic library
> 'c:\php\ext\php_gd2.dll' - The specified procedure could not be
> found.
>
>
>
> I have tried also adding the php_gd2.dll file to the
> WINDOWS\system32 folder, as well. Makes no difference, so I have
> removed those files.
>
>
>
> Anomaly 2:
>
> When I do a "phpinfo();" to see what is actually loaded (and to
> ensure that the correct php.ini is being loaded, etc.), among the
> info is the notice that I am using php 5.0.3-dev. I get the same
> info when I telnet to localhost.
>
>
>
> What might I be doing wrong? Is there a patch for php_gd2.dll that
> I have missed? Have I somehow downloaded the wrong php version, or
> could something simply have gotten corrupted?
>
>
>
> Thanks,
>
> Ari
>
>
>
>


-- 
Like Music?
http://l-i-e.com/artists.htm

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] php_gd2.dll not found

2006-04-26 Thread Ari Davidow
I am thoroughly confused.

 

I am working on a Windows XP box.

I have just upgraded my dev environment to Apache 2 (2.0.55, where
it was), php 5.1.2 (PHP 5.1.2 zip

package), MySQL 5.0.20a.

 

Anomaly 1:

I carefully navigated the MySQL mess, got the required DLLs into
my /ext folder, noted where extensions are found in php.ini,
uncommented the lines to load mysql and php_gd2. MySQL drivers
load fine, so I am uncommented correctly and have correctly
designated the folder where extensions are to be found. I continue
to get a message that php_gd2 is not found. The message lists the
correct path and directory, so I have to suspect that this
particular php_gd2 does not work, does not work with php5, or has
otherwise gotten munged:

 

 PHP Startup: Unable to load dynamic library
'c:\php\ext\php_gd2.dll' - The specified procedure could not be
found.

 

I have tried also adding the php_gd2.dll file to the
WINDOWS\system32 folder, as well. Makes no difference, so I have
removed those files.

 

Anomaly 2:

When I do a "phpinfo();" to see what is actually loaded (and to
ensure that the correct php.ini is being loaded, etc.), among the
info is the notice that I am using php 5.0.3-dev. I get the same
info when I telnet to localhost.

 

What might I be doing wrong? Is there a patch for php_gd2.dll that
I have missed? Have I somehow downloaded the wrong php version, or
could something simply have gotten corrupted?

 

Thanks,

Ari