Results 1 to 5 of 5

Thread: php4 and Zend - issue with include()

  1. #1
    EWD
    EWD is offline
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Aug 2003
    Location
    NY
    Posts
    167

    Default php4 and Zend - issue with include()

    Hi Guys,

    I am running a server with php4.4.7 and zend.
    It is setup with SuPHP and if zend is installed and you try to use include() in a file you get an internal server error.
    error log just shows premature end of script headers.

    Anyone else having this issue and/or know a fix other then disable zend opt?

    Thanks
    Emerson

  2. #2
    Member darren.nolan's Avatar
    Join Date
    Oct 2007
    Posts
    259

    Default

    Seen this error on 4.4.6 as well as 4.4.7 - Happened after installing Zend.

    My problem was from clients trying to include ('http://theirdomain.com/theirscript.php'); rather than relative to their script include ('./directory/file.php');

    Settings in PHP.ini for URL open and the such didn't not work. No idea on a solution, and I haven't found one yet. As a PHP programmer though, it's good practice to not use a domain in an include if you can avoid it.

  3. #3
    Member
    Join Date
    May 2003
    Posts
    93

    Default

    Use older zend - 3.2.2 should work. 3.3.0 is crashing with php4

  4. #4
    Member
    Join Date
    Dec 2002
    Posts
    244

    Default

    Quote Originally Posted by heavypredator View Post
    Use older zend - 3.2.2 should work. 3.3.0 is crashing with php4
    I can confirm this indeed the problem. We had it with a machine and that was the solution after trying pretty much everything else.

  5. #5
    EWD
    EWD is offline
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Aug 2003
    Location
    NY
    Posts
    167

    Default

    Thanks for the tip. It helped
    Emerson

Similar Threads

  1. PHP include URL issue
    By brhospedagens in forum cPanel & WHM Discussions
    Replies: 2
    Last Post: 06-09-2008, 07:19 AM
  2. wrong version of zend installed when using php4.4.x
    By kphelps in forum cPanel & WHM Discussions
    Replies: 1
    Last Post: 02-15-2008, 09:46 AM
  3. php4.4.4 Zend 3 & Apache problem
    By chae in forum cPanel & WHM Discussions
    Replies: 6
    Last Post: 09-04-2006, 11:42 AM
  4. SECURITY ISSUE: phpCoin Remote File Include Vuln
    By cmeisinger in forum cPanel & WHM Discussions
    Replies: 0
    Last Post: 08-26-2006, 05:10 PM
  5. Easyapache, PHP4.3.1 & Zend
    By ZachICU in forum cPanel & WHM Discussions
    Replies: 2
    Last Post: 03-09-2003, 08:26 PM