Changeset 1354 for trunk/server


Ignore:
Timestamp:
Nov 9, 2009, 11:14:29 PM (15 years ago)
Author:
andersk
Message:
suexec: Log the correct path to PHP if execv failed.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/server/common/patches/httpd-suexec-scripts.patch

    r1259 r1354  
    299299+        argv[2] = "-f";
    300300+        execv(PHP_PATH, &argv[1]);
    301 +        log_err("(%d)%s: php exec failed (%s)\n", errno, strerror(errno), argv[2]);
     301+        log_err("(%d)%s: php exec failed (%s)\n", errno, strerror(errno), argv[1]);
    302302+        exit(255);
    303303+    }
Note: See TracChangeset for help on using the changeset viewer.