Results 1 to 4 of 4

Thread: php5 and php4

  1. #1
    SACHIN
    Guest

    Default php5 and php4

    Hi,

    I am using php5 as cgi module but i am getting following error.
    .htacces is unable to pass value for php5


    Premature end of script headers: /usr/local/cpanel/cgi-sys/php5

  2. #2
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,307
    cPanel/WHM Access Level

    Root Administrator

  3. #3
    SACHIN
    Guest

    Default php4 and php5

    HI,


    the issue is not solved by above thread. will it be permission issue? or .htaccess?

  4. #4
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,307
    cPanel/WHM Access Level

    Root Administrator

    Default

    Quote Originally Posted by SACHIN View Post
    HI,


    the issue is not solved by above thread. will it be permission issue? or .htaccess?
    Generally when I've encountered these issues, it was a .htaccess issue though to be honest, it never hurts to double-check permissions if this is only happening with a handful of scripts.

    Any number of things could cause a premature end of headers though including a conflict between Apache modules, something worth checking into if you recently recompiled Apache.

Similar Threads

  1. How to php4 and php5 (.php5) in same server?
    By strikinado in forum cPanel & WHM Discussions
    Replies: 1
    Last Post: 06-09-2007, 11:01 AM
  2. PHP4 or PHP5?
    By zigzam in forum cPanel & WHM Discussions
    Replies: 10
    Last Post: 05-09-2007, 08:37 AM
  3. Php4 + Php5
    By chris8lunch in forum cPanel & WHM Discussions
    Replies: 4
    Last Post: 10-31-2006, 07:08 AM
  4. PHP4 to PHP5
    By iti in forum cPanel & WHM Discussions
    Replies: 1
    Last Post: 09-04-2004, 02:15 PM