php-windows Digest 13 Apr 2005 11:46:42 -0000 Issue 2631

Topics (messages 25832 through 25834):

Loading mysql module for php5 and apache2
        25832 by: Toby Brown
        25833 by: Armando

COM issue, different behaviour between cli and browser
        25834 by: Simon Taylor

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [email protected]


----------------------------------------------------------------------
--- Begin Message ---
I continually get this error when trying to setup php5 on a windows 2000 
machine.  I can get it woriking on a XP pro machine but when I try to set it 
up on our windows 2000 server i cannot get my php apps to connect to mysql.
Here is the exact error

PHP Startup: Unable to load dynamic library "c:\php\ext\php_mysql.dll' - The 
specified module could not be found.

I know the setting in the php.ini are correct because I have modules loading 
from that directory.


Any Suggestions? 

--- End Message ---
--- Begin Message ---
Did you add c:\php to your PATH environment variable?



Toby Brown wrote:
I continually get this error when trying to setup php5 on a windows 2000 machine. I can get it woriking on a XP pro machine but when I try to set it up on our windows 2000 server i cannot get my php apps to connect to mysql.
Here is the exact error


PHP Startup: Unable to load dynamic library "c:\php\ext\php_mysql.dll' - The specified module could not be found.

I know the setting in the php.ini are correct because I have modules loading from that directory.


Any Suggestions?



--- End Message ---
--- Begin Message ---
Hi All,
I have the following bit of code which works fine in a browser window,
but as soon as I try it in cli mode it fails. I have a lot of other COM
stuff which works just fine, just this one. Any ideas welcome.

$oDso = new COM("WinNT:");
$oComp =
$oDso->OpenDSObject("WinNT://DOMAIN/HOST$,user","administrator","passwor
d",ADS_SECURE_AUTHENTICATION);
echo $oComp->Name;

The failure..

PHP Fatal error:  Uncaught exception 'com_exception' with message
'Source: Unknown
Description: Unknown' in c:\apache\corizon\inventory\batch.php:46
Stack trace:
#0 c:\apache\corizon\inventory\batch.php(46):
com->OpenDSObject('WinNT://DOMAIN/...', 'administrator', 'password', 1)
#1 {main}


Using php5 on windows XP and 2003
Many thanks,
Simon

--- End Message ---

Reply via email to