Page 1 of 1

eaccelerator unexpected T_STRING

PostPosted: 25. January 2006 00:57
by nlo
Hi,
I'm trying to learn how to use eaccelerator for the first time and need some help. I am using the xampp 1.51 release with PHP 5.05.
I have encoded some PHP files using encode.php and when I try to open them in the browser I get the following error:

Parse error: parse error, unexpected T_STRING in C:\xampp\xampp\htdocs\isdss\index.php on line 1

I think I have enabled eaccelerator in the php.ini file correctly since phpinfo reports eaccelerator as running ok.

Any help would be much appreciated.
Thanks.

PostPosted: 25. January 2006 01:04
by Wiedmann
I am using the xampp 1.51 release with PHP 5.05.

Realy PHP 5.0.5? I think in XAMPP 1.5.1 a PHP 5.1.1 is inside...

BTW:
Detailed question about eaccelerator should better ask in the ea-forum at SourgeForge.

PostPosted: 25. January 2006 01:37
by nlo
Hi Wiedmann, Yeah I checked it is 5.0.5 that is strange I know it says 5.1 on the xampp site. The installation file I used is xampp-win32-1.5.1-installer.exe.
Anyway I changed to PHP 4 and still get the same error so I guess its not the PHP version.