Fixing PHP path and request issues.