Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

For my sins I'm currently administering a Windows Server (standard edition) box for a company. They have several python and PHP scripts set up on this box that run as scheduled tasks. Sometime over the past few weeks these scripts stopped working. I've narrowed the culprit down to the way the scripts include files.

Currently files are included in the PHP script like so:

require 'example.php';

And this is what's breaking, changing these to:

require 'C:\scripts\example.php';

works fine... Something has changed on the box that means the require calls now need an absolute path rather than a relative path.

I've Googled for this but as with most MS products the docs and support are pretty sketchy at best.

Any ideas?

share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.