go to bug id or search bugs for
I received the error "URL using bad/illegal format or missing URL" on some require_once() calls when PHP was built with --with-curlwrappers.
Building PHP without --with-curlwrappers fixed the problem.
I was using a vanilla install of Zend Framework when I noticed the problem.
The file did exist at the location being required, and the include_path was correct, so I expected the file to be required.
Warning: require_once(): URL using bad/illegal format or missing URL in /home/ramsey/dev/zftest/lib/Zend/Loader/PluginLoader.php on line 396 Warning: require_once(/home/ramsey/dev/zftest/lib/Zend/Loader/PluginLoader/Exception.php): failed to open stream: operation failed in /home/ramsey/dev/zftest/lib/Zend/Loader/PluginLoader.php on line 396 Fatal error: require_once(): Failed opening required 'Zend/Loader/PluginLoader/Exception.php' (include_path='/home/ramsey/dev/zftest/lib') in /home/ramsey/dev/zftest/lib/Zend/Loader/PluginLoader.php on line 396
Add a Patch
Add a Pull Request
Does this happen with PHP 5.2.10?
Oddly enough, I cannot reproduce this now in 5.3.0 or 5.2.10, though I was having this problem the other day. When I build either version with --with-curlwrappers and use the same code I used the other day, it appears to work fine now. As far as I know, nothing else on the system has changed in the meantime.
I guess you can feel free to bogus this issue, since I can't reproduce it.
Probably the same issue as:
It looks like when safe_mode or open_basedir are enabled and php is compiled with curlwrappers, curlwrappers registers the curl extension to handle file streams and then php_curl_option_url() in interface.c tells libcurl not to handle file requests.
The "URL using bad/illegal format or missing URL" error message comes from libcurl itself.