|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2001-08-15 03:19 UTC] sniper@php.net
[2001-10-02 04:47 UTC] sander@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Nov 18 12:00:01 2025 UTC |
In file sapi/cgi/cgi_main.c on line 400 the ini search path is set from the code: if (php_module_startup(&cgi_sapi_module)==FAILURE) { return FAILURE; } but the actual -c option is not read until line 442 from the code: if (!cgi) { while ((c=ap_php_getopt(argc, argv, OPTSTRING))!=-1) { ... } ... } Once I moved the code from line 400 after the -c option was read, it worked prefectly.