Custom Query (267 matches)
Results (31 - 33 of 267)
| Ticket | Resolution | Summary | Owner | Reporter |
|---|---|---|---|---|
| #219 | invalid | removed bianary xcache, installed from source, getting errors. | moo | Thomas Burgess <wonslung@…> |
| Description |
I originally had lighttpd and php and xcache installed via the ubuntu packages (php5-cgi and php5-xcache) i've since switched to nginx php-fpm and xcache installed from source. xcache is working and i've completely removed the old packages and i'm using a correct php.ini located in the correct place for my installation but i still get errors like this Failed loading /usr/lib/php5/20060613/xcache.so: /usr/lib/php5/20060613/xcache.so: cannot open shared object file: No such file or directory i've looked all over to try to find the answer but so far no luck |
|||
| #236 | fixed | compilation warnings | moo | Timon |
| Description |
I compile xcache and get this gcc warnings: libtool: compile: cc -I. -I/home/timon/rpmbuild/BUILD/xcache-1.3.0 -DPHP_ATOM_INC -I/home/timon/rpmbuild/BUILD/xcache-1.3.0/include -I/home/timon/rpmbuild/BUILD/xcache-1.3.0/main -I/home/timon/rpmbuild/BUILD/xcache-1.3.0 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -O2 -g -c /home/timon/rpmbuild/BUILD/xcache-1.3.0/processor.c -fPIC -DPIC -o .libs/processor.o In file included from /home/timon/rpmbuild/BUILD/xcache-1.3.0/processor.c:1: /home/timon/rpmbuild/BUILD/xcache-1.3.0/processor_real.c: In function 'xc_calc_zend_arg_info': /home/timon/rpmbuild/BUILD/xcache-1.3.0/processor_real.c:3111: warning: passing argument 3 of 'xc_calc_string_n' discards qualifiers from pointer target type /home/timon/rpmbuild/BUILD/xcache-1.3.0/processor_real.c:646: note: expected 'zstr' but argument is of type 'const char * const' /home/timon/rpmbuild/BUILD/xcache-1.3.0/processor_real.c:3234: warning: passing argument 3 of 'xc_calc_string_n' discards qualifiers from pointer target type /home/timon/rpmbuild/BUILD/xcache-1.3.0/processor_real.c:646: note: expected 'zstr' but argument is of type 'const char * const' /home/timon/rpmbuild/BUILD/xcache-1.3.0/processor_real.c: In function 'xc_store_zend_arg_info': /home/timon/rpmbuild/BUILD/xcache-1.3.0/processor_real.c:10856: warning: passing argument 3 of 'xc_store_string_n' discards qualifiers from pointer target type /home/timon/rpmbuild/BUILD/xcache-1.3.0/processor_real.c:692: note: expected 'zstr' but argument is of type 'const char * const' /home/timon/rpmbuild/BUILD/xcache-1.3.0/processor_real.c:10985: warning: passing argument 3 of 'xc_store_string_n' discards qualifiers from pointer target type /home/timon/rpmbuild/BUILD/xcache-1.3.0/processor_real.c:692: note: expected 'zstr' but argument is of type 'const char * const' is this normal? gcc-4.4.3-4.fc12.x86_64 |
|||
| #36 | fixed | Bug in inherited static class variables | moo | Vladan Zajda |
| Description |
Hello, There is a bug in inherited static class variable when using cached php. The value of inherited static variable is altered back to its initial value. Tested only on WinXP/PHP 5.1.6 using XCache 1.0.2 but this seems to be global bug. Here's an example: <?php
class B {
static protected $B = 'initial value';
public static function setB($value) {
if ($value) {
self::$B = 'different value';
}
}
public function showBinB() {
echo "static \$B in B = " . self::$B . "<br />";
}
}
class C extends B {
public function showBinC() {
echo "static \$B in C = " . self::$B . "<br />";
}
}
B::setB(true);
$c = new C();
$c->showBinB();
$c->showBinC();
?>
|
|||

