From:             maltzee at hotmail dot com
Operating system: Windows
PHP version:      5.0.5
PHP Bug Type:     Apache2 related
Bug description:  PHP failed to open files in folders with non-english utf8 
chars

Description:
------------
OS: Windows XP Traditional Chinese

I installed an Apache2 server to a folder with double-byte character. (e.g
C:\中國\Apache2\)

To support Apache2, I have to convert the httpd.conf into UTF8 format.

PHP5.0.5 is installed as Apache2 module by httpd.conf.
LoadModule php5_module
"C:/中國/Apache2/php-5.0.5-Win32/php5apache2.dll"
AddType application/x-httpd-php .php

When I try to access my test page, the following returned:

Warning: Unknown: failed to open stream: No such file or directory in
Unknown on line 0

Warning: Unknown: Failed opening 'C:\中國\Apache2\htdocs\index.php' for
inclusion (include_path='.;C:\php5\pear') in Unknown on line 0 

I guess Apache saves the utf8 path string from httpd.conf and passes them
to PHP module. PHP assumes the input path as native mbstring. This might
be the cause.

Best Regards,
Maltzee


-- 
Edit bug report at http://bugs.php.net/?id=35119&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=35119&r=trysnapshot4
Try a CVS snapshot (php5.0): 
http://bugs.php.net/fix.php?id=35119&r=trysnapshot50
Try a CVS snapshot (php5.1): 
http://bugs.php.net/fix.php?id=35119&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=35119&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=35119&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=35119&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=35119&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=35119&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=35119&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=35119&r=notwrong
Not enough info:             
http://bugs.php.net/fix.php?id=35119&r=notenoughinfo
Submitted twice:             
http://bugs.php.net/fix.php?id=35119&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=35119&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=35119&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=35119&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=35119&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=35119&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=35119&r=float
No Zend Extensions:          http://bugs.php.net/fix.php?id=35119&r=nozend
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=35119&r=mysqlcfg

Reply via email to