Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#61 closed defect (wontfix)

use of xcache_clear_cache from the command line, seems to be impossible

Reported by: judas_iscariote Owned by: moo
Priority: major Milestone: 1.2.1
Component: cacher Version: 1.2-dev
Keywords: Cc:
Application: PHP Version:
Other Exts: SAPI:
Probability: Blocked By:


it is impossible to xcache_clear_cache() from the CLI sapi, since it seems to want PHP_AUTH_USER and
PHP_AUTH_PW which AFAIK, are for webservers...

I expect either a change in the way auth is managed in the command line, or no auth at all there.

Change History (3)

comment:1 Changed 13 years ago by moo

u can workarround it by setting $_SERVERPHP_AUTH_USER?, the way as in example config. the key problem that make u can't do it in cli is, we're using anonymous shared memory, which can't be accessed outside of where it is created.

it is possible, however, if u setup a c/s way, setup a php page that parse the request, and requesting the webserver from cli.

comment:2 Changed 13 years ago by moo

  • Resolution set to wontfix
  • SAPI set to FastCGI
  • Status changed from new to closed

let cli request the webserver/php-page which do the cache clear job.

comment:3 Changed 13 years ago by moo

  • SAPI FastCGI deleted
Note: See TracTickets for help on using tickets.