I wouldn't have posted unless there is a problem because I can solve most of this stuff on my own but . . . I am running Apache 1.3.26 and PHP 4.2.3 on Winblows 95OSR2 with a few custom tweaks to the registry by yours truly. No, this is not a live environment, I'm not that stupid. 😉
Enclosed in the zip is the output of my info.php (phpinfo()) and my php.ini file. As you can see from my comments in the output of my info.php file, things are not being read from php.ini. PHP works, I can do most of what I need to but I can't do some things as modules I need are not being loaded, sessions are screwy, and upload temp dir isn't being changed.

    Do a search on your computer for php.ini to ensure that Micro%#$@ Windows isn't reading a copy other than the opne you are editing. If you used the PHP Binary Installer you probably have a least 2 copies of this file.

    The php.ini file should only be in you php working directory

      Okay. Thanks. I will do that. I am using mod_php as can be seen in my zip file.

        21 days later

        I had the same sort of problem when I was trying to change the location of the session files. It seemed as if my computer was caching the php.ini file.

        The way I solved this was to restart the computer itself, but im presuming you've already done that many, many time.

        I know it may seem like a silly idea, but could it be a bug of php or win95? I know its not the most stable of platforms anyway, so could that be why its not working?

          Certainly possible. At any rate, I have downgraded to 4.2.2 and everything is working just fine. 🙂

            3 months later

            I am having the same problem... here is the post I made on another board.

            I have Sambar 5.2p installed (on Win2k Server) on a friend's computer and I tried to install PHP as I usually do.

            Just to be sure I didn't miss out anything, I zipped the PHP folder from my working server and extracted it on that computer, so all the proper files are there.
            I mapped the *.php files correctly with c:\php\php4isapi.dll.

            Well I know that PHP is installed because when I call phpinfo() it loads the informations.

            But c:\winnt\php.ini is not processed because, for example, the error_log variable isn't set, the gd librairie isn't loaded (two variables that I defined in c:\winnt\php.ini).
            And "Configuration File (php.ini) Path" is set to C:\WINNT instead of C:\WINNT\php.ini like it should be.

            But the thing that I don't understand is that, to my knowledge, the location of the php.ini file isn't a variable that you are supposed to set... you are juste required to put it in your C:\winnt\ no questions asked.

            Thanks

              4.2.3? Try using 4.2.2 instead. It seems that this is a somewhat common bug.

                Mmm, no I am running 4.3.0 (and so is my friend since he has a copy of my folder).

                  Hrm . . . Of course this is just personal experience but try 4.2.2 and see if the same thing happens.

                    Write a Reply...