471,319 Members | 1,574 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,319 software developers and data experts.

Extensions and MySQL.dll on WinXP PHP5

I'm hoping someone will give me the latest info here about PHP policy
to enable extensions. [Preferably not -
"Move them around under C:\Windows until it works ..." ]

I've installed PHP5 in C:\PHP

Meaningful excerpts: from php.ini
; Directory in which the loadable extensions (modules) reside.
extension_dir = "./"
.....
;extension=php_msql.dll
extension=php_mysql.dll

TIA for your advice on this.

Jul 17 '05 #1
1 2075
On 12 Jun 2005 16:00:10 -0700, "webguynow" <in*****@rcn.com> wrote:
I'm hoping someone will give me the latest info here about PHP policy
to enable extensions. [Preferably not -
"Move them around under C:\Windows until it works ..." ]

I've installed PHP5 in C:\PHP

Meaningful excerpts: from php.ini
; Directory in which the loadable extensions (modules) reside.
extension_dir = "./"
So change it to your PHP extensions directory:

extension_dir = "c:/php/ext"
....
;extension=php_msql.dll
extension=php_mysql.dll


This in turn requires the MySQL client library. This is bundled with PHP in
the top-level PHP directory, so modify your PATH environment variable to
include c:\php.

Do not copy anything into Windows directories.

http://uk2.php.net/manual/en/faq.dat...ses.mysql.php5
http://uk2.php.net/manual/en/faq.ins...tion.addtopath

--
Andy Hassall / <an**@andyh.co.uk> / <http://www.andyh.co.uk>
<http://www.andyhsoftware.co.uk/space> Space: disk usage analysis tool
Jul 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

6 posts views Thread by Spidah | last post: by
reply views Thread by Unknown User | last post: by
5 posts views Thread by solitary.wanderer52 | last post: by
reply views Thread by dirtycow | last post: by
8 posts views Thread by deko | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.