you also neeed to populate php.ini with each individual
extension you want loaded by php. So you will need an
[extension] section like below in your php.ini file:
; Directory in which the loadable extensions (modules) reside.
;extension_dir = ./
extension_dir = /usr/lib/php/extensions/
; If you wish to have an extension loaded automatically when
; PHP starts up, use the following syntax:
;
; under UNIX:
;
; extension=msql.so
;
; Note that it should be the name of the module only; no
; directory information needs to go here.
; Specify the location of the extension with the
; extension_dir directive above.
; The following section header introduces a section where
; packages will add extension directives.
; You should not edit that line!
[extension]
; DBG php debugger
; extension=dbg.so-5.2.x
extension=mysql.so
extension=mysqli.so
The above settings are for Linux. For windows you need to use the relevant
*.dll extension module filenames to load them with.
http://uk2.php.net/manual/en/install.windows.extensions.php
HTH
Keith
On Wed, 15 Aug 2007, Milktoast wrote:
To: php-install@xxxxxxxxxxxxx
From: Milktoast <milktoast@xxxxxxxxx>
Subject: W.I.M.P. Server
I have two customers that want to run W.I.M.P. servers (Window, IIS,
MSsql,PHP)
I have installed everything but I can't get PHP to load ANY extra
extensions.
I have move the php.ini file to C:\windows and my info.php shows the correct
location of php.ini.
I have set "extension_dir=c:\php\extensions\" (with and without the
trailing slash)
Anyone have any ideas why the extensions won't load?
------------------------------------------------------------
http://www.karsites.net
http://www.raised-from-the-dead.org.uk
This email address is challenge-response protected with
http://www.tmda.net
------------------------------------------------------------
[Index of Archives]
[PHP Users]
[PHP Home]
[PHP on Windows]
[Kernel Newbies]
[PHP Classes]
[Postgresql]
[PHP Books]
[PHP Databases]
[PHP SOAP]