mysql.dll won't load [message #175005] |
Tue, 02 August 2011 18:51 |
Puzzled
Messages: 1 Registered: August 2011
Karma: 0
|
Junior Member |
|
|
The other day, I ended up having to reinstall XP from the metal
up, and thus also Apache (1.3.27), PHP (5.2.17), and MySQL (5.1)
For some reason PHP isn't loading some of the dlls. Phpinfo
shows that it's loading my ini file and that extension_dir is
correct. I have the dll entries uncommented in the ini file and
it appears to be loading bz2, gd, and zip, but not mcrypt, mhash,
mysql, pspell, or sockets.
I presume I'm forgetting something, but I can't imagine what it
might be, especially with such a funny pattern. I don't see
anything in the install docs that ring a bell.
Thanks in advance for any ideas.
|
|
|
Re: mysql.dll won't load [message #175009 is a reply to message #175005] |
Wed, 03 August 2011 02:03 |
Jerry Stuckle
Messages: 2598 Registered: September 2010
Karma: 0
|
Senior Member |
|
|
On 8/2/2011 2:51 PM, Puzzled wrote:
> The other day, I ended up having to reinstall XP from the metal
> up, and thus also Apache (1.3.27), PHP (5.2.17), and MySQL (5.1)
>
> For some reason PHP isn't loading some of the dlls. Phpinfo
> shows that it's loading my ini file and that extension_dir is
> correct. I have the dll entries uncommented in the ini file and
> it appears to be loading bz2, gd, and zip, but not mcrypt, mhash,
> mysql, pspell, or sockets.
>
> I presume I'm forgetting something, but I can't imagine what it
> might be, especially with such a funny pattern. I don't see
> anything in the install docs that ring a bell.
>
> Thanks in advance for any ideas.
I think all of these require external libraries. Are those libraries
installed and available to the PHP process?
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
|
|
|
Re: mysql.dll won't load [message #175013 is a reply to message #175009] |
Wed, 03 August 2011 12:17 |
A.Reader
Messages: 15 Registered: December 2010
Karma: 0
|
Junior Member |
|
|
On Tue, 02 Aug 2011 22:03:54 -0400,
Jerry Stuckle <jstucklex(at)attglobal(dot)net> wrote:
> On 8/2/2011 2:51 PM, Puzzled wrote:
>> The other day, I ended up having to reinstall XP from the metal
>> up, and thus also Apache (1.3.27), PHP (5.2.17), and MySQL (5.1)
>>
>> For some reason PHP isn't loading some of the dlls. Phpinfo
>> shows that it's loading my ini file and that extension_dir is
>> correct. I have the dll entries uncommented in the ini file and
>> it appears to be loading bz2, gd, and zip, but not mcrypt, mhash,
>> mysql, pspell, or sockets.
>>
>> I presume I'm forgetting something, but I can't imagine what it
>> might be, especially with such a funny pattern. I don't see
>> anything in the install docs that ring a bell.
>>
>> Thanks in advance for any ideas.
>
> I think all of these require external libraries. Are those libraries
> installed and available to the PHP process?
Thanks Jerry, that's what it was -- I hadn't reinstalled VC6 yet
since I'm not doing much C these days. And since of course I
already had it installed when I started working with PHP, it
never crossed my mind that it was involved.
I think the dependencies should be more clearly spelled out,
especially for the sake of people who don't happen to own the
relevant compiler and therefore the libs. I'm not sure I'd even
know where to begin looking, if I needed a free copy of the libs.
|
|
|
Re: mysql.dll won't load [message #175020 is a reply to message #175013] |
Wed, 03 August 2011 15:56 |
The Natural Philosoph
Messages: 993 Registered: September 2010
Karma: 0
|
Senior Member |
|
|
A.Reader wrote:
> On Tue, 02 Aug 2011 22:03:54 -0400,
> Jerry Stuckle <jstucklex(at)attglobal(dot)net> wrote:
>
>> On 8/2/2011 2:51 PM, Puzzled wrote:
>>> The other day, I ended up having to reinstall XP from the metal
>>> up, and thus also Apache (1.3.27), PHP (5.2.17), and MySQL (5.1)
>>>
>>> For some reason PHP isn't loading some of the dlls. Phpinfo
>>> shows that it's loading my ini file and that extension_dir is
>>> correct. I have the dll entries uncommented in the ini file and
>>> it appears to be loading bz2, gd, and zip, but not mcrypt, mhash,
>>> mysql, pspell, or sockets.
>>>
>>> I presume I'm forgetting something, but I can't imagine what it
>>> might be, especially with such a funny pattern. I don't see
>>> anything in the install docs that ring a bell.
>>>
>>> Thanks in advance for any ideas.
>> I think all of these require external libraries. Are those libraries
>> installed and available to the PHP process?
>
> Thanks Jerry, that's what it was -- I hadn't reinstalled VC6 yet
> since I'm not doing much C these days. And since of course I
> already had it installed when I started working with PHP, it
> never crossed my mind that it was involved.
>
> I think the dependencies should be more clearly spelled out,
> especially for the sake of people who don't happen to own the
> relevant compiler and therefore the libs. I'm not sure I'd even
> know where to begin looking, if I needed a free copy of the libs.
This is of course where a Linux style packaging system and open source
libraries really scores.
|
|
|
Re: mysql.dll won't load [message #175027 is a reply to message #175020] |
Thu, 04 August 2011 10:04 |
alvaro.NOSPAMTHANX
Messages: 277 Registered: September 2010
Karma: 0
|
Senior Member |
|
|
El 03/08/2011 17:56, The Natural Philosopher escribió/wrote:
>> I think the dependencies should be more clearly spelled out,
>> especially for the sake of people who don't happen to own the
>> relevant compiler and therefore the libs. I'm not sure I'd even
>> know where to begin looking, if I needed a free copy of the libs.
>
> This is of course where a Linux style packaging system and open source
> libraries really scores.
On the contrary, current chaos at least allows you to install any
arbitrary version of any arbitrary program without the need of upgrading
your complete operating system. Probably, perfection lies somewhere
in-between.
--
-- http://alvaro.es - Álvaro G. Vicario - Burgos, Spain
-- Mi sitio sobre programación web: http://borrame.com
-- Mi web de humor satinado: http://www.demogracia.com
--
|
|
|