|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2002-12-01 18:53 UTC] bill at softky dot com
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? PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Dec 05 20:00:01 2025 UTC |
This *is* bug (for MS), but also a "support issue" (for PHP). Turns out that WinXP refuses to display the final ".ini" extension, even in the "properties" display, the file-rename box, or the details list; my file had actually been named "php.ini.ini", and all I could ever see at all in any GUI was "php.ini" (except when I finally used the command line prompt). Sorry for taking your time, but this is an extremely subtle problem: perhaps the documentation could mention that the renaming and name-checking must happen in the command prompt ("DOS"), because otherwise there will be no error that the file wasn't found. Take care!