Opened 8 years ago

Closed 8 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:
Application: PHP Version:
Other Exts: SAPI:
Probability: Blocked By:
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

Attachments (1)

a.txt (1 bytes) - added by tjones 6 weeks ago.
domestic cleaner

Download all attachments as: .zip

Change History (5)

comment:1 follow-up: Changed 8 years ago by moo

  • Description modified (diff)

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.

comment:2 in reply to: ↑ 1 Changed 8 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 8 years ago by Robert at lc365.net

Maybe apache cannot recognize the right version of xcahe.

comment:4 Changed 8 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

Changed 6 weeks ago by tjones

Note: See TracTickets for help on using tickets.