Zend Optimizer error?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • djn
    Senior Member
    • Mar 2004
    • 140

    #1

    Zend Optimizer error?

    Hello all.
    I've just found an error_log file at the root of my website with a lot of lines like this:
    [30-Nov-2006 01:15:05] PHP Warning: Zend Optimizer for PHP 4.4.x cannot be found (expected at '/usr/local/Zend/lib/Optimizer-2.5.7/php-4.4.x/ZendOptimizer.so') - try reinstalling the Zend Optimizer in Unknown on line 0

    Matching dates and times with the server access log shows that the errors come from the only php script up there. The script is simplicity itself:
    <?php
    $msg= "Name:\t$name\n";
    $msg .="Phone:\t$phone\n";
    $msg .="E-mail:\t$posta\n\n";
    $msg .="Details:\t$message\n\n";

    $mailhead = "From: My Website\n";
    $mailhead .= "Reply-To: $posta\n\n";

    mail("me@domain.com", "Message from website", $msg, $mailhead);
    ?>
    <html>
    ...Some plain HTML saying thanks for writing...
    </html>

    The whole scripts work OK, I just can't understand what is Zend Optimizer doing 'round here. None of the other websites I have on the same server (cpanel17) has such an error log.
    Any hint?
  • AndrewT
    Administrator
    • Mar 2004
    • 3655

    #2
    It could be related to a custom php.ini file - do you have one in that directory that the script is in?

    Comment

    • djn
      Senior Member
      • Mar 2004
      • 140

      #3
      Originally posted by AndrewT
      It could be related to a custom php.ini file - do you have one in that directory that the script is in?
      You're right, there was one there indeed. I just can't recall putting it there.

      Comment

      • AndrewT
        Administrator
        • Mar 2004
        • 3655

        #4
        If you still need to use it with whatever settings are in it then go ahead and submit a ticket and send the path to it so that we can get the correct Zend Optimizer lines added to it.

        Comment

        Working...