← ALL HOW TOs
Set up PHP
- Run installer saved at Downloads/_SAVE_/PHP
Running PHP
- startup Apache 2.2 service
- If get an error starting up...
- Get message saying can't start, see System Event Log for more info
- Start, run, eventvwr.msc <enter>
- Event Viewer -> Windows Logs -> System
- Error: The Apache2.2 service terminated with service specific error Incorrect function.
- In cygwin, check if port is already in use... $ telnet localhost 80
- always says can't connect. Not sure this helps
- Can check Apache2.2 logs at Program Files (x86)/Apache Software Foundation/Apache2.2/logs/*
- the logs were all months old which seems to indicate that the service hasn't successfully started in months. Still not sure why.
{"serverDuration": 81, "requestCorrelationId": "482e06d391c1044c"}