Opened 7 years ago
Closed 7 years ago
#29 closed defect (invalid)
win32 error - Invalid argument
| Reported by: | anonymous | Owned by: | moo |
|---|---|---|---|
| Priority: | major | Milestone: | 1.1 |
| Component: | cacher | Version: | 1.1-dev |
| Keywords: | Cc: | ||
| Blocked By: | PHP Version: | ||
| Application: | Need User Feedback: | ||
| Other Exts: | SAPI: | ||
| Probability: | Blocking: |
Description (last modified by moo)
Hi all,
i have tried to install XCache-trunk-php-5.1.4-Win32-20060814060520 win32autobuild on
Apache/2.2.2 (Win32) / PHP/5.1.4 (Apache 2.0 Handler) and: nothing:
apache error.log:
[Mon Aug 14 13:09:02 2006] [crit] (22)Invalid argument: unable to replace stderr with error_log [Mon Aug 14 13:09:02 2006] [crit] (2)No such file or directory: unable to replace stderr with /dev/null [Mon Aug 14 13:09:03 2006] [crit] (22)Invalid argument: unable to replace stderr with error_log [Mon Aug 14 13:09:03 2006] [crit] (2)No such file or directory: unable to replace stderr with /dev/null [Mon Aug 14 13:23:15 2006] [crit] (22)Invalid argument: unable to replace stderr with error_log [Mon Aug 14 13:23:15 2006] [crit] (2)No such file or directory: unable to replace stderr with /dev/null [Mon Aug 14 13:23:15 2006] [crit] (22)Invalid argument: unable to replace stderr with error_log [Mon Aug 14 13:23:15 2006] [crit] (2)No such file or directory: unable to replace stderr with /dev/null
php.ini:
[xcache-common] zend_extension_ts = "\xampp\php\extensions\php_xcache.dll" auto_globals_jit = Off [xcache.admin] xcache.admin.user = "mOo" xcache.admin.pass = "" [xcache] xcache.size = 8M xcache.count = 1 xcache.slots = 8K xcache.var_size = 8M xcache.var_count = 1 xcache.var_slots = 8K xcache.test = Off xcache.readonly_protection = Off xcache.mmap_path = "\xampp\tmp" xcache.coredump_directory = "\xampp\tmp" xcache.cacher = On xcache.optimizer = Off [xcache.coverager] xcache.coveragedumper = Off
Thanks for helping me.
Carlo
Change History (4)
comment:1 follow-up: ↓ 2 Changed 7 years ago by moo
- Description modified (diff)
comment:2 in reply to: ↑ 1 Changed 7 years ago by anonymous
Replying to moo:
strange ... what if you disable XCache? but ... there's no /dev/null in XCache
XCache use some fprintf on stderr, but php-src/sapi/apache2handler/apache_config.c do the same way.
same thing happens when xcache.size = 0
really strange.
comment:3 Changed 7 years ago by Robert at lc365.net
Maybe apache cannot recognize the right version of xcahe.
comment:4 Changed 7 years ago by moo
- Resolution set to invalid
- Status changed from new to closed
make your xcache.mmap_path set to a file, not directory. XCache must be complaining about this, but apache claim that fprintf(stderr...) is not working, cannot be redirected to error_log


strange ... what if you disable XCache? but ... there's no /dev/null in XCache
XCache use some fprintf on stderr, but php-src/sapi/apache2handler/apache_config.c do the same way.