Results 1 to 2 of 2

Thread: php compile error

  1. #1
    Associate
    Join Date
    Sep 2002
    Posts
    31

    php compile error

    I'm trying to compile php as apache module
    Code:
    ./configure --prefix=/wwwroot/php --with-apxs2=/wwwroot/bin/apxs --with-config-file-path=/wwwroot/php --with-mysql
    gives me no errors

    then I run make
    Code:
    make[4]: Weggaan uit map `/usr/src/php-4.2.3/ext/xml/expat'
    make[3]: Weggaan uit map `/usr/src/php-4.2.3/ext/xml/expat'
    make[3]: Binnengaan van map `/usr/src/php-4.2.3/ext/xml'
    make[3]: Niets te doen voor `all-p'.
    make[3]: Weggaan uit map `/usr/src/php-4.2.3/ext/xml'
    make[2]: Weggaan uit map `/usr/src/php-4.2.3/ext/xml'
    make[1]: Weggaan uit map `/usr/src/php-4.2.3/ext'
    Making all in sapi
    make[1]: Binnengaan van map `/usr/src/php-4.2.3/sapi'
    Making all in apache2filter
    make[2]: Binnengaan van map `/usr/src/php-4.2.3/sapi/apache2filter'
    make[3]: Binnengaan van map `/usr/src/php-4.2.3/sapi/apache2filter'
    /bin/sh /usr/src/php-4.2.3/libtool --silent --mode=compile gcc  -I. -I/usr/src/php-4.2.3/sapi/apache2filter -I/usr/src/php-4.2.3/main -I/usr/src/php-4.2.3 -I/wwwroot/include -I/usr/src/php-4.2.3/Zend -I/usr/src/php-4.2.3/ext/mysql/libmysql -I/usr/src/php-4.2.3/ext/xml/expat  -D_REENTRANT -I/usr/src/php-4.2.3/TSRM -DTHREAD=1 -g -O2 -pthread -DZTS -prefer-pic  -c sapi_apache2.c
    sapi_apache2.c: In function `php_register_hook':
    sapi_apache2.c:567: incompatible type for argument 3 of `ap_register_output_filter'
    sapi_apache2.c:567: too many arguments to function `ap_register_output_filter'
    sapi_apache2.c:568: incompatible type for argument 3 of `ap_register_input_filter'
    sapi_apache2.c:568: too many arguments to function `ap_register_input_filter'
    make[3]: *** [sapi_apache2.lo] Fout 1
    make[3]: Weggaan uit map `/usr/src/php-4.2.3/sapi/apache2filter'
    make[2]: *** [all-recursive] Fout 1
    make[2]: Weggaan uit map `/usr/src/php-4.2.3/sapi/apache2filter'
    make[1]: *** [all-recursive] Fout 1
    make[1]: Weggaan uit map `/usr/src/php-4.2.3/sapi'
    make: *** [all-recursive] Fout 1
    what could be my probleme ?

  2. #2
    Associate
    Join Date
    Sep 2002
    Posts
    31

    Re:php compile error

    fixed it on my own
    just delete the NULL valuas in that function cause there where to many parameters

Similar Threads

  1. PHP Tutorial
    By Waka-Gashira in forum Windows - General Topics
    Replies: 8
    Last Post: 01-27-2005, 08:10 AM
  2. Device Manager Error Codes
    By regix in forum Windows - General Topics
    Replies: 0
    Last Post: 01-05-2005, 12:52 AM
  3. GL not working ati 7000
    By Mip in forum Linux - Software, Applications & Programming
    Replies: 19
    Last Post: 10-28-2004, 09:29 PM
  4. Questions,sound, aureal, using MDK 9.0
    By SuperRobotic in forum Linux - General Topics
    Replies: 12
    Last Post: 02-10-2003, 01:31 PM
  5. Tid-Bits #6- GRUB error code
    By babbing in forum Linux - General Topics
    Replies: 2
    Last Post: 09-10-2002, 08:44 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •