php-windows Digest 24 Oct 2005 01:52:30 -0000 Issue 2802
Topics (messages 26423 through 26424):
Win2k3 - IIS 6.0 - PHP5 - EXEC Function - Stopping/starting a Service
26423 by: Jayvd
Re: Loading mysql module for php5 and apache2
26424 by: Karl Orbell
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'm trying to start and stop a service with PHP.
I've given cmd.exe the right permissions (so IIS can execute etc.) but it still
doesn't work.
The script I use:
<?php
exec(net stop SERVICENAME);
?>
Does anyone know how to solve this problem?
--------------= Posted using GrabIt =----------------
------= Binary Usenet downloading made easy =---------
-= Get GrabIt for free from http://www.shemes.com/ =-
--- End Message ---
--- Begin Message ---
I see this problem coming up time and again, adding the php directory to the
PATH environment variable worked and Apache can now use mysqli extension.
Cheers.
"Armando" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> 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 ---