php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #23494 Some values are ignored from php.ini
Submitted: 2003-05-05 09:47 UTC Modified: 2003-05-05 14:42 UTC
From: bas at cipherware dot com Assigned:
Status: Closed Package: PHP options/info functions
PHP Version: 4.3.1 OS: Windows XP Pro-SP1
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: bas at cipherware dot com
New email:
PHP Version: OS:

 

 [2003-05-05 09:47 UTC] bas at cipherware dot com
The following values are ignored from my php.ini file:

key: session.save_path
phpinfo() value: /tmp
php.ini value: I:/WINDOWS/Temp

key: register_globals
phpinfo() value: Off
php.ini value: On

The fact that PHP parses the correct php.ini is evidenced by the following:
1. There's only one php.ini on my system: I:\WINDOWS\php.ini
2. phpinfo() says: Configuration File (php.ini) Path = I:\WINDOWS\php.ini
3. My modified DOCUMENT_ROOT value is reflected by phpinfo()

With kind regards,
Bas Cancrinus

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-05-05 10:13 UTC] edink@php.net
Could you please try

http://snaps.php.net/win32/php4-win32-STABLE-latest.zip

If that doesn't we'd need to know which web server api are you using (Apache, ISAPI, or cgi)? If you could post your php.ini somewhere would be helpful too.
 [2003-05-05 14:06 UTC] philip@php.net
Also be sure you're not editing a php.ini.ini file because windows by default hides many file extensions in which case php.ini.ini will look like php.ini in file explorer.  Sounds silly but it happens more than one would think.
 [2003-05-05 14:42 UTC] bas at cipherware dot com
I found the problem: the values of my php.ini that weren't picked up by PHP were edited with Notepad. I started over again with the php.ini-dist and a descent editor; all my changes are picked up now. I wasn't aware of the fact that PHP expects a consistent CR/LF pattern.

I'm sorry for the inconvenience.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 01:01:30 2024 UTC