httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "tom lee" <>
Subject [users@httpd] apache cache or other issues?
Date Sat, 12 Jul 2008 23:06:34 GMT

I used apache with php and drupal.

I got the following error in my web browser.

warning: file_get_contents(
[function.file-get-contents]: failed to open stream: Connection
refused in /var/www/html/includes/ : eval()'d code on
line 22.

here is content in near the line 1352:

function drupal_eval($code) {
 print eval('?>'. $code); //line 1352 here
 $output = ob_get_contents();
 return $output;

from my web server linux box, I cannot access, connection refused.
I got it fixed, and wget can grab
the web page.
However, I still keep getting the same error.

I tried to replace the line print eval('?>'. $code);
with teh following code.
 /* print eval('?>'. $code); */
$code = str_replace('<'.'?php','<'.'?',$code);

and then restart apache web server, and I even tried to reboot computer.
still the same error message generated, though the line 1352 is a
comment line now.

I wonder if there is cache or precomiled code  in apache/php/drupal
causing this problem?

I use apache version 2.2.8, php 5.2.6.


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message