Ik heb phptriad geinstalleerd. Een maandje of 2 werkte dit allemaal heel erg perfect. Maar nu werkt het opeens niet meer. Als ik bijvoorbeeld apache wil starten. Krijg ik dit:
"); system("c:\apache\Apache -n \"Apache\" -k start &") or die ("
Back to Index"); print("Apache Service Started
Back to Index"); } elseif ($action == "stop") { print("Stopping Apache Service
"); system("c:\apache\apache -n \"Apache\" -k shutdown &") or die ("
Back to Index"); print("Apache Service Named \"Apache\" Stopped
Back to Index"); } elseif ($action == "restart") { print("Stopping Apache Service
"); system("c:\apache\apache -n \"Apache\" -k restart &") or die ("
Back to Index"); print("Apache Service Named \"Apache\" Restarted
Back to Index"); } elseif ($action == "install") { print("Installing Apache as Service
"); system("c:\apache\apache -i -n \"Apache\" &") or die ("
Back to Index"); print("Apache Service Named \"Apache\" Installed
Back to Index"); } elseif ($action == "uninstall") { print("Uninstalling Apache as Service
"); system("c:\apache\apache -u -n \"Apache\" &") or die ("
Back to Index"); print("Apache Service Named \"Apache\" Uninstalled
Back to Index"); }elseif ($action == "test") { print("Testing Apache Service Settings
"); system("c:\apache\apache -n \"Apache\" -t &") or die ("
Back to Index"); print("Apache Service Named \"Apache\" Settings
Back to Index"); }elseif ($action == "editconf") { print("Opening httpd.conf
"); system("notepad C:\apache\conf\httpd.conf") or die ("
Back to Index"); print("httpd.conf Opened.
Back to Index"); }elseif ($action == "showlogs") { print("Opening Logs
"); system("notepad C:\apache\logs\error.log") or die ("
Back to Index"); system("notepad C:\apache\logs\access.log") or die ("
Back to Index"); print("Logs Opened.
Back to Index"); } else { print("No action to perform"); } } apache($action); ?>
Heel fijn dus. Ik verwijder phptriad. Installeer opnieuw, ik dacht van joepie nu werkt het weer. Nee dus nog steeds het zelfde. Even nieuwe downloaden van die site. Misschien had ik wel oude versie ofzo, maar nee nog steeds niks. Nog 50 x geprobeert. Maar nu werkt me hele php niet eens meer. Ik heb php.exe aanstaan maar verder gebeurt er niks.
Hoe krijg ik dit weer werkend want het is best wel lastig want het werkt zo makkelijk.
- ik werk trouwens met windows xp.
"); system("c:\apache\Apache -n \"Apache\" -k start &") or die ("
Back to Index"); print("Apache Service Started
Back to Index"); } elseif ($action == "stop") { print("Stopping Apache Service
"); system("c:\apache\apache -n \"Apache\" -k shutdown &") or die ("
Back to Index"); print("Apache Service Named \"Apache\" Stopped
Back to Index"); } elseif ($action == "restart") { print("Stopping Apache Service
"); system("c:\apache\apache -n \"Apache\" -k restart &") or die ("
Back to Index"); print("Apache Service Named \"Apache\" Restarted
Back to Index"); } elseif ($action == "install") { print("Installing Apache as Service
"); system("c:\apache\apache -i -n \"Apache\" &") or die ("
Back to Index"); print("Apache Service Named \"Apache\" Installed
Back to Index"); } elseif ($action == "uninstall") { print("Uninstalling Apache as Service
"); system("c:\apache\apache -u -n \"Apache\" &") or die ("
Back to Index"); print("Apache Service Named \"Apache\" Uninstalled
Back to Index"); }elseif ($action == "test") { print("Testing Apache Service Settings
"); system("c:\apache\apache -n \"Apache\" -t &") or die ("
Back to Index"); print("Apache Service Named \"Apache\" Settings
Back to Index"); }elseif ($action == "editconf") { print("Opening httpd.conf
"); system("notepad C:\apache\conf\httpd.conf") or die ("
Back to Index"); print("httpd.conf Opened.
Back to Index"); }elseif ($action == "showlogs") { print("Opening Logs
"); system("notepad C:\apache\logs\error.log") or die ("
Back to Index"); system("notepad C:\apache\logs\access.log") or die ("
Back to Index"); print("Logs Opened.
Back to Index"); } else { print("No action to perform"); } } apache($action); ?>
Heel fijn dus. Ik verwijder phptriad. Installeer opnieuw, ik dacht van joepie nu werkt het weer. Nee dus nog steeds het zelfde. Even nieuwe downloaden van die site. Misschien had ik wel oude versie ofzo, maar nee nog steeds niks. Nog 50 x geprobeert. Maar nu werkt me hele php niet eens meer. Ik heb php.exe aanstaan maar verder gebeurt er niks.
Hoe krijg ik dit weer werkend want het is best wel lastig want het werkt zo makkelijk.
- ik werk trouwens met windows xp.
[ Voor 16% gewijzigd door Taenadar op 25-11-2005 17:39 ]