1 |
Hi, |
2 |
|
3 |
|
4 |
Did you check php.ini. Looks to me like there is some mixup between |
5 |
installed versions of PHP. |
6 |
You should not rename eaccelerator.so to mmcache.so. |
7 |
Check php.ini and load the appropiate extensions. |
8 |
|
9 |
|
10 |
Catalin |
11 |
|
12 |
|
13 |
Jonathan Nichols wrote: |
14 |
|
15 |
> Due to the recent GLSA, I updated PHP. :( |
16 |
> |
17 |
> Now that turck-mmcache is gone and replaced by eaccelerator, I thought |
18 |
> that I'd give it a shot. No luck so far. Here's what I get in error_log: |
19 |
> |
20 |
> [Fri Jul 15 22:48:33 2005] [notice] caught SIGTERM, shutting down |
21 |
> Failed loading |
22 |
> /usr/lib/php/extensions/no-debug-non-zts-20020429/mmcache.so: |
23 |
> /usr/lib/php/extensions/no-debug-non-zts-20020429/mmcache.so: cannot |
24 |
> open shared object file: No such file or directory |
25 |
> eAccelerator requires Zend Engine API version 20050606. |
26 |
> The Zend Engine API version 20021010 which is installed, is outdated. |
27 |
> |
28 |
> Failed loading |
29 |
> /usr/lib/php/extensions/no-debug-non-zts-20020429/mmcache.so: |
30 |
> /usr/lib/php/extensions/no-debug-non-zts-20020429/mmcache.so: cannot |
31 |
> open shared object file: No such file or directory |
32 |
> eAccelerator requires Zend Engine API version 20050606. |
33 |
> The Zend Engine API version 20021010 which is installed, is outdated. |
34 |
> |
35 |
> [Fri Jul 15 22:48:37 2005] [notice] Apache/1.3.33 (Unix) |
36 |
> (Gentoo/Linux) PHP/4.3.11 mod_gzip/1.3.26.1a configured -- resuming |
37 |
> normal operations |
38 |
> |
39 |
> |
40 |
> php -v gives this: |
41 |
> |
42 |
> www conf # php -v |
43 |
> PHP 4.4.0 (cli) (built: Jul 15 2005 22:33:58) |
44 |
> Copyright (c) 1997-2004 The PHP Group |
45 |
> Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies |
46 |
> with eAccelerator v0.9.3, Copyright (c) 2004-2005 eAccelerator, by |
47 |
> eAccelerator |
48 |
> www conf # |
49 |
> |
50 |
> It compiles OK. I have "dev-php/eaccelerator-0.9.3-r1" installed (used |
51 |
> ~x86 too) |
52 |
> |
53 |
> It just doesn't create a "mmcache.so" file. It appears that it creates |
54 |
> "eaccelerator.so" instead. I just copied that file to mmcache.so and |
55 |
> restarted Apache. |
56 |
> Upon doing that, I get this error: |
57 |
> |
58 |
> [Fri Jul 15 22:58:03 2005] [notice] caught SIGTERM, shutting down |
59 |
> eAccelerator requires Zend Engine API version 20050606. |
60 |
> The Zend Engine API version 20021010 which is installed, is outdated. |
61 |
> |
62 |
> eAccelerator requires Zend Engine API version 20050606. |
63 |
> The Zend Engine API version 20021010 which is installed, is outdated. |
64 |
> |
65 |
> eAccelerator requires Zend Engine API version 20050606. |
66 |
> The Zend Engine API version 20021010 which is installed, is outdated. |
67 |
> |
68 |
> eAccelerator requires Zend Engine API version 20050606. |
69 |
> The Zend Engine API version 20021010 which is installed, is outdated. |
70 |
> |
71 |
> [Fri Jul 15 22:58:07 2005] [notice] Apache/1.3.33 (Unix) |
72 |
> (Gentoo/Linux) PHP/4.3.11 mod_gzip/1.3.26.1a configured -- resuming |
73 |
> normal operations |
74 |
> |
75 |
> |
76 |
> I'm going to file a bugzilla report against this. I searched bugzilla |
77 |
> and forums and didn't find anything that wasn't related to Apache 2 |
78 |
> and PHP 5. (I'm still using Apache 1.3.x and PHP 4.x) |
79 |
> |
80 |
> So, the main question is "How do I update the Zend Engine API" so |
81 |
> eaccelerator is happy? |
82 |
> |
83 |
> ;) |
84 |
> |