I have no experience with PHP5 so far but this subject was asked
before often enough with PHP4 - so the advice should still be valid...

I generally didn't put any files in the %SYSTEMROOT% folder (which
usually translates to C:\WINDOWS on a default installed WinXP machine)
but instead I put the php.ini and php4ts.dll into the apache
respectively apache2/bin folder and modified the php.ini to point to
the dlls. works like a charm for me.

With all the stuff related to the local webserver put into
'c:\webroot' those entries in php.ini are:

include_path = ".;c:\webroot\php4\dlls\;c:\webroot\php4\pear"
extension_dir = "c:\webroot\php4\extensions"

... you get the idea.

HTH
Richard



On Fri, 10 Sep 2004 09:31:43 -0400, [EMAIL PROTECTED] (Mathieu
Dumoulin) wrote:

>(Don't write to me telling me to use linux, i dont want to, this is my home
>machine not a production server, thank you, now if you really want to help
>keep on reading)
>
>I got a most recent copy of PHP 5.01 extracted into "C:\php" and everything
>seems to be working fine as long as i dont ask to load extensions. Any
>extension that i try to add will fail to load and i'm clueless.
>
>At first in the PHP.ini file this was the original directive:
>
>; Directory in which the loadable extensions (modules) reside.
>extension_dir = "./"
>
>And it would not work so i changed it to a hardcoded path
>
>; Directory in which the loadable extensions (modules) reside.
>extension_dir = "C:\php\ext"
>
>Still no extensions wont load. Whats the weirdest, all the DLLs are at the
>correct location, apache reports: "PHP startup: Unable to load dynamic
>library 'C:\php\ext\php_mysql.dll' - The specified module could not be
>found."
>
>but it IS there, at the exact location, i even looked and compared both
>paths manually letter by letter. Another weird thing to note is that some
>extensions DO load while some don't, here is a list of the extensions that
>i'm loading and which one fails (Note ALL extensions DLL are indeed in the
>folder intended, they just dont load)
>
>extension=php_bz2.dll
>extension=php_gd2.dll
>extension=php_imap.dll
>extension=php_mysql.dll <<< fails but it's vital to me
>
>these extensions are activated, only mysql fails, but there are other i
>wanted earlier lemme see which ones: (These would be nice to have, i'll tell
>you which one fails too)
>
>;extension=php_exif.dll <<< fails
>;extension=php_ldap.dll <<< fails (The file really isnt there so it's not a
>real problem)
>;extension=php_openssl.dll <<< fails
>;extension=php_pdf.dll
>;extension=php_pgsql.dll
>;extension=php_snmp.dll
>;extension=php_sockets.dll
>;extension=php_tidy.dll
>;extension=php_zip.dll
>
>All of these will load... Soooo I'm stuck there, i need help, tell me if you
>need to know anything else. i'll be glad to give you info, i want to set
>this up to further my PHP developement at home. We intensively use PHP4 at
>work but i wanted to start working on PHP5 to see how good it is.
>
>Till then
>See ya'll
>TheInsaneCoder

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

Reply via email to