ID: 20753 Comment by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Feedback Bug Type: PHP options/info functions Operating System: WinXP PHP Version: 4.2.3 New Comment:
OK, finally got it working: here's the top of phpinfo(): PHP Version 4.4.0-dev System Windows NT localhost 5.1 build 2600 Build Date Dec 2 2002 04:12:18 Server API Apache Virtual Directory Support enabled Configuration File (php.ini) Path C:\WINDOWS PHP API 20020918 Right below, it shows: Directive Local Value Master Value allow_call_time_pass_reference On On allow_url_fopen On On The file c:\windows\php.ini still has these entries: allow_call_time_pass_reference = Off allow_url_fopen = Off So it looks like even the CVS snapshot is ignoring the php.ini file it expects to see. Glad it doesn't want c:\winnt any more; that's an improvement. But the "bug" (or "support issue") remains... Previous Comments: ------------------------------------------------------------------------ [2002-12-01 22:07:30] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php4-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-latest.zip ------------------------------------------------------------------------ [2002-12-01 21:55:37] [EMAIL PROTECTED] I assume you mean what phpinfo() prints out in the table at the top (I've clipped it here): System Windows NT 5.1 build 2600 Build Date Sep 6 2002 10:38:51 Server API Apache Virtual Directory Support enabled Configuration File (php.ini) Path c:\winnt Debug Build no Thread Safety enabled I'd be happy to try changing c:\winnt to some other directory, but I have no idea how to, or where that is configured. ------------------------------------------------------------------------ [2002-12-01 19:49:43] [EMAIL PROTECTED] This is most likely another support question, but let's try help you anyway: What is said by phpinfo() for where it's trying to read php.ini from? ------------------------------------------------------------------------ [2002-12-01 18:53:36] [EMAIL PROTECTED] This is nearly identical to bug #20540, except I've got today's PHP version (and I'm someone else!). I've got php on apache working, phpinfo() says the configuration file path is c:\winnt (although everything else on this system is in c:\windows, and I had to create c:\winnt just to try and satisfy php). But the php.ini in c:\winnt still isn't being read, as judged by a couple changes ("allow_call_time_pass_referece" and "url_fopen" which I've set to non-default values). Yes, I'm restarting Apache; yes, I'm force-refreshing my browser; yes, I've verified there are no other php.ini files on the machine. I've even tried inserting syntax errors into php.ini, and moving it to the system32 directory or the c:\windows directory... no luck. I can't make that file have any effect at all. I've built and installed php a zillion times on Linux, and never had this problem. And I *hate* Windows. But I have to make this work to be able to use the gd extensions and image functions, and I'm pretty sure this bug is NOT "bogus," since two of us are independently reporting the same thing in the same week. Any suggestions? ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=20753&edit=1