Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

PHP and Apache 2 misconfig :( "sapi/apache2handler/sapi_apache2.c" is not compatible"

  • 29-10-2003 10:17pm
    #1
    Closed Accounts Posts: 119 ✭✭


    Hi,

    Compiled and installed and configured php and apache.

    Added relevant entries to httpd.conf for apache recognition of php.

    Attempted "service httpd start " was prompted that /libphp4.so could not be found in the modules directory. (Frogot to copy in after php install so i copied it into its relevant place.)

    Attempted "service httpd start" once again and prompted "usr/local/src/php-4.3.3/sapi/apache2handler/sapi_apache2.c" is not compatible with this version of Apache."

    Would think that i had incorrect version of php however it is the latest release on the php.net site.

    Any pointers in the correct direction would greatly appreciated i expect its wrong version somewhere. Did google for info but couldnt locate a relevant answer...


Comments

  • Closed Accounts Posts: 494 ✭✭Lukin Black


    Well documented:

    http://bugs.php.net/bug.php?id=17826%5C%22

    Seems the latest PHP CVS has fixed this.


  • Closed Accounts Posts: 119 ✭✭retneil


    After reading response Lukin Black i used the latest php cvs tar.gz file:

    [root@lilo php4-STABLE-200310292230]# service httpd start
    Starting httpd: httpd: module "/etc/httpd/modules/php4-STABLE-200310292230/sapi/apache2handler/sapi_apache2.c" is not compatible with this version of Apache.

    After attempting to start recieved the above message..

    Ran PHP -v and was returned : PHP 4.3.4RC4-dev (cli) (built: Oct 30 2003 01:03:36)
    Copyright (c) 1997-2003 The PHP Group
    Zend Engine v1.3.0, Copyright (c) 1998-2003 Zend Technologies.

    Running HTTPD -v returns the following info :
    Server version: Apache/2.0.40
    Server built: Sep 4 2002 17:20:34

    Any ideas...


Advertisement