Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Jon Slaughter
May 3, 2007, 1:18 am
rate this thread
services such as apache and mysql if you don't want them to automatically
run would be to enter the followin a batch file and then setting up a
shortcut on the desk top for it.
net start Apache2
if ERRORLEVEL 1 (
net stop MySQL
net stop Apache2
) ELSE (
net start MySQL
This will toggle apache on and off and make sure mysql is running along with
it. If Apache2 is running then it will stop it. It will also sync MySQL to
the state of Apache2.
Just a simple few lines of code that might make it easier than manually
starting and stoping through admin services.
- » Does the pear package sub-include use a backslash on linux?
- — Previous thread in » PHP Scripting Forum