#23494 [Fbk->Csd]: Some values are ignored from php.ini

From: Date: Mon, 05 May 2003 19:42:25 +0000
Subject: #23494 [Fbk->Csd]: Some values are ignored from php.ini
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-39092@lists.php.net to get a copy of this message
 ID:               23494
 User updated by:  bas at cipherware dot com
 Reported By:      bas at cipherware dot com
-Status:           Feedback
+Status:           Closed
 Bug Type:         PHP options/info functions
 Operating System: Windows XP Pro-SP1
 PHP Version:      4.3.1
 New Comment:

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.


Previous Comments:
------------------------------------------------------------------------

[2003-05-05 14:06:34] 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 10:13:39] 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 09:47:56] 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

------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=23494&edit=1



Thread (4 messages)

« previous php.bugs (#39092) next »