For Programmers: Free Programming Magazines  


Home > Archive > PHP Eaccelerator > May 2006 > PHP5 encoder cannot redeclare eaccelerator_encode









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author PHP5 encoder cannot redeclare eaccelerator_encode
Vieri Di Paola

2006-05-09, 7:11 pm

=20
--- Vieri Di Paola <vieridipaola@yahoo.com> wrote:
> Hello
>=20
> If from the command line I run:
>=20
> php -q /usr/share/eaccelerator/encoder.php -f -r
> /var/www/192.168.1.93/* -o /var
> /www/192.168.1.93
>=20
> or simply
>=20
> php -f /usr/share/eaccelerator/encoder.php
>=20
> I get:
>=20
> Fatal error: Cannot redeclare eaccelerator_encode()
> in
> /usr/share/eaccelerator/encoder.php on line 30
>=20
> PHP version: 5.1.2
> eAccelerator version: 0.9.5 beta2
>=20
> Any suggestions?


I noticed that eaccelerator doesn't support PHP 5.1
yet.=20

So I downgraded to PHP 5.0.5 which should be supported
but got the same error.

My system is Gentoo.

Any help/tip is greatly appreciated.


________________________________________
__________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around=20
http://mail.yahoo.com=20


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job ea=
sier
Download IBM WebSphere Application Server v.1.0.1 based on apache Geronim=
o
http://sel.as-us.falkag.net/sel?cmd...D263057&dat=3D=
121642
Vieri Di Paola

2006-05-09, 7:11 pm


--- Vieri Di Paola <vieridipaola@yahoo.com> wrote:

> =20
> --- Vieri Di Paola <vieridipaola@yahoo.com> wrote:
> eaccelerator_encode()
>=20
> I noticed that eaccelerator doesn't support PHP 5.1
> yet.=20
>=20
> So I downgraded to PHP 5.0.5 which should be
> supported
> but got the same error.
>=20
> My system is Gentoo.
>=20
> Any help/tip is greatly appreciated.


sorry for this post but it seems that I didn't pay
enough attention to the release notes: the "encoder"
script isn't "PHP5-friendly". So unfortunately I'm
downgrading to PHP4.


________________________________________
__________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around=20
http://mail.yahoo.com=20


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job ea=
sier
Download IBM WebSphere Application Server v.1.0.1 based on apache Geronim=
o
http://sel.as-us.falkag.net/sel?cmd...D263057&dat=3D=
121642
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com