Edgard, This info may also be helpful to you.
Robin *********** PHP Manual - Manual Installation Steps User Contributed Notes: phpmanual at pbb dot dds dot nl (07-Oct-2004 02:29) Okay, I'm a total newbie to this, so my findings may be wrong, but this is what I found out. The manual says "do not have spaces in the path (like C:\Program Files\PHP) as some web servers will crash if you do". Indeed, when using this with PHP5 on WinXP, I got the error message "The specified module could not be found." However, the problem seems not to lie in the SPACE in the pathname, but in the QUOTES that Windows adds when a space is in the pathname! This is what I found: "C:\Program Files\php5\php5isapi.dll" -- doesn't work C:\php5\php5isapi.dll -- works "C:\php5\php5isapi.dll" -- doesn't work C:\Progra~1\php5\php5isapi.dll -- works "C:\Progra~1\php5\php5isapi.dll" -- doesn't work C:\Program Files\php5\php5isapi.dll -- doesn't work, because it's not accepted by Internet Information Services I don't know if this all is a problem with Internet Information Services or with PHP, but it would be nice if it was more documented in the PHP manual ************************** ""Edgard Berendsen"" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Same problem here! > > I'm tired to install the MySQL extension in php with no success. > using: PHP 5.0.4 + MySQL Server 4.1 > > PHP Warning: PHP Startup: Unable to load dynamic library '.;C:\Archivos de > programa\PHP\ext\php_mysql.dll' - No se puede encontrar el módulo > especificado > > -I've read all the Internet searching for a solution. > > -I've copied to "C:\Archivos de programa\PHP" , "C:\Windows", > "C:\Windows\System32" the 3 files: > php_mysql.dll > libmySQL.dll > php5ts.dll > > - Uncomented extension=php_mysql.dll in "php.ini" > > - Uncomented extension_dir = ".;C:\Archivos de programa\PHP\ext" > > nothing worked > > I've installed PHP 4 + MySQL several times and this is my first PHP 5 > instalation > > Please help > > > > > > ""Robin Rembish"" <[EMAIL PROTECTED]> escribió en el mensaje > news:[EMAIL PROTECTED] > >I am trying to install PHP5 with Personal Web Server 4 on a Windows 98 > > Operating System. When I try to run a simple script under PWS > > ("hello.php"), I get the error message below: > > > > PHP Startup: Unable to load dynamic library '/php_mysql.dll' - > > One of the library files needed to run this application can not be found. > > > > Can anyone offer assistance with this problem? > > > > I have provided a checklist of tasks completed based on the PHP manual. > > > > Thanks, > > > > Robin > > ******************************* > > Description > > Manual Installation: > > Download zip binary distribution from downloads page > > Website: http://www.php.net/downloads.php > > > > Description > > Microsoft 98/NT : > > Download latest version of Microsoft Data Access Components (MDAC) for > > your > > platform > > Website: http://msdn.microsoft.com/data/ > > > > Description > > Extract distribution file into c:\php > > > > Description > > Add c:\php to PATH by editing autoexec.bat file > > > > path C:\WINDOWS;C:\WINDOWS\COMMAND;C:\php > > > > Description > > Download PHP extensions into c:\php5 > > Website: http://www.php.net/downloads.php > > > > Description > > Place php5activescript.dll in c:\php > > Register dll with DOS command: > > cd c:\php > > regsvr32 php5activescript.dll > > (regsvr32.exe was copied from c:\Windows\System\inetsrv) > > > > Message: DllRegisterServer in php5activescript.dll succeeded > > > > Description > > To test if ActiveScript working: create test.wsf in c:\php > > Double click file > > If receive little window with "Hello World!", you're done > > > > Description > > Set up valid configuration file for php: > > php.ini-recommended saved as php.ini > > > > Description > > ActiveScript doesn't use php.ini file > > Create php-activescript.ini and place it in c:\php > > > > Description > > CGI users must set the cgi.force_redirect PHP directive to 0 > > in php.ini > > in php-activescript.ini > > > > Description > > In php.ini > > php-activescript.ini > > > > check these values: > > doc_root = c:\inetput\wwwroot > > extension_dir = "./" > > > > Description > > PWS 4 does not support ISAPI, only PHP CGI should be used > > > > Edit the pws-php5cgi.reg file in c:\php > > ".php"="c:\\php\\php-cgi.exe" > > double click to merge registry file into system > > > > In Personal Web Manager:* > > View > Advanced > Edit Properties > > Check box Execute > > > > *Note: It appears that the PHP manual is incorrect. This manual states the > > following: > > > > In the PWS Manager, right click on a given directory you want to add PHP > > support to, and select Properties. Check the 'Execute' checkbox, and > > confirm. > > > > > > Description > > The default location PHP searches for extensions is c:\php5 > > > > In php.ini > > php-activescript.ini > > > > kept default setting for extension_dir > > > > Description > > Enable the extensions > > In php.ini > > php-activescript.ini > > > > Done by deleting leading ; from extension you want to load > > > > Removed ; from beginning of: > > extension=php_mysql.dll > > > > Description > > Create hello.php and put in web server's root directory (document_root). > > Use > > browser to access locally with: > > > > http://localhost/hello.php > > > > Code: > > > > <html> > > <head> > > <title>PHP Test</title> > > </head> > > <body> > > <?php echo '<p>Hello World</p>'; ?> > > </body> > > </html> > > > > Got error message: > > PHP Startup: Unable to load dynamic library '/php_mysql.dll' > > One of the library files needed to run this application can not be found > > > > > > > > Files under c:\php > > > > fdftk.dll, fribidi.dll, gds32.dll, go-pear.bat, install.txt, libeay32.dll, > > libmhash.dll, libmysql.dll, license.txt, msql.dll, news.txt, ntwdblib.dll, > > php.exe, php.gif, php.ini, php.ini-dis, php.ini-recommended, > > php_mysql.dll, > > php5activescript.dll, php5apache.dll, php5apache_hooks.dll, > > php5apache2.dll, > > php5embed.lib, php5isapi.dll, php5nsapi.dll, php5ts.dll, > > php-activescript..ini, php-cgi.exe, php-win.exe, pws-php5cgi.reg, > > pws-php5isapi.reg, regsvr32.exe, snapshot.txt, ssleay32.dll, test.wsf, > > yaz.dll > > > > Files under c:\php\ext > > > > php_bz2.dll, php_cpdf.dll, php_curl.dll, php_dba.dll, php_dbase.dll, > > php_dbx.dll, php_dio.dll, php_exif.dll, php_fdf.dll, php_filepro.dll, > > php_gd2.dll, php_gettext.dll, php_ifx.dll, php_imap.dll, > > php_interbase.dll, > > php_ldap.dll, php_mbstring.dll, php_mcrypt.dll, php_mhash.dll, > > php_mime_magic.dll, php_ming.dll, php_msql.dll, php_mysql.dll, > > php_mysqli.dll, php_oci8.dll, php_openssl.dll, php_oracle.dll, > > php_pgsql.dll, php_pspell.dll, php_shmop.dll, php_snmp.dll, php_soap.dll, > > php_sockets.dll, php_sybase_ct.dll, php_tidy.dll, php_xmlrpc.dll, > > php_xsl.dll