php5 not working Apache 2.2

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • cassbiz
    New Member
    • Oct 2006
    • 202

    php5 not working Apache 2.2

    Just compiled PHP 5.2.5 for an acquaintance who was having a problem getting his PHP to work.

    now this is driving me nuts.

    Added following to httpd.conf

    LoadModule php5_module modules/libphp5.so
    AddType text/html php
    AddHandler php5-scripts php

    Error log is giving up the following when running phpinfo()

    (8) Exec format error: /phpinfo.php failed
    Premature end of script headers: phpinfo.php

    Any help is greatly appreciated
  • r035198x
    MVP
    • Sep 2006
    • 13225

    #2
    Post the code of your phpinfo file.
    P.S Hope this is not too late.

    Comment

    Working...