Problem with eAccelerator (encoder.php)

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Problem with eAccelerator (encoder.php)

Postby andersknud » 08. December 2006 14:15

I'm having problems with encoding some php scripts. The problem occurs whenever I have string concatenation. Could somebody tell me what I'm doing wrong?

// This code fails when I try to encode it
<?php
$id = 3;
$q = "SELECT something FROM table WHERE id = ".$id;
?>

Output:
ERROR: Can't compile file "C:\\Program Files\\xampp\\htdocs\\hh/enctest.php"

// This code encodes without problems
<?php
$q = "SELECT * FROM table WHERE id = 3";
?>

Output:
Encoding: "C:\\Program Files\\xampp\\htdocs\\hh/enc.php" -> "C:\\Program Files\\xampp\\htdocs\\hhenc/enctest.php"

Versions:
XAMPP: 1.5.5
eAccelerator: 0.9.5
PHP: 5.2.0
andersknud
 
Posts: 1
Joined: 08. December 2006 14:11

Postby m.f00 » 17. January 2007 12:05

yeah
http://eaccelerator.net/ticket/91

php 5.2.0 with 0.9.5 is buggy -> you need 9.6... dunno where you can get a binary for it... i just downgraded my php =)
m.f00
 
Posts: 1
Joined: 17. January 2007 11:54


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 64 guests