#31146 [Opn->Fbk]: default_charset variable is not used
| From: | sniper@php.net | Date: | Thu, 13 Jan 2005 03:31:39 +0000 |
| Subject: | #31146 [Opn->Fbk]: default_charset variable is not used | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-72029@lists.php.net to get a copy of this message | ||
ID: 31146
Updated by: sniper@php.net
Reported By: mitya at demos dot su
-Status: Open
+Status: Feedback
Bug Type: PHP options/info functions
Operating System: Solaris 9
PHP Version: 4.3.10
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php4-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
Yes, it is possible. Try compiling Apache with same tools as you
compile PHP.
Previous Comments:
------------------------------------------------------------------------
[2005-01-10 08:26:39] mitya at demos dot su
./configure --prefix=/usr/apache --sysconfdir=/etc/apache
--with-apxs=/usr/apache/bin/apxs --disable-cgi
--with-config-file-path=/etc/apache --disable-ipv6 --without-mysql
--with-snmp=/usr/local --enable-memory-limit
I have the latest net-snmp installed from sunfreeware.com.
Is there any chance the problem is that apache was compiled (by SUN)
with SUN Workshop compiler and I am compiling PHP with GNU C compiler?
------------------------------------------------------------------------
[2005-01-10 01:46:47] sniper@php.net
What was the configure line you used to configure PHP?
------------------------------------------------------------------------
[2004-12-30 11:51:04] sniper@php.net
I've never had magic_quotes_gpc set to anything but 'off'.
So I still can't reproduce this.
------------------------------------------------------------------------
[2004-12-24 12:59:37] mitya at demos dot su
The problem becomes much less bogus if I add the following
information:
1) I use apache from Solaris packages (SUNWapchr, SUNWapchu)
with the latest patches available (113146-06)
2) The vital part of php.ini to reproduce the problem is:
magic_quotes_gpc = Off
Without this line the problem does not exist.
To reveal the problem use the following php.ini:
[PHP]
magic_quotes_gpc = Off
default_charset = "koi8-r"
------------------------------------------------------------------------
[2004-12-17 10:36:54] derick@php.net
I can not reproduce this, it works fine for me. (On both PHP 4 and 5).
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/31146
--
Edit this bug report at http://bugs.php.net/?id=31146&edit=1