Help ,Help ,Help!!!
I've tried and tried to install PHP4 on my Apache 1_3_12 on IBM AIX 4.3.but it didn't work..

first, I compile php3 on AIX, it passed. but I was asked to compile mysql. I tried a lot of times, but mysql can't pass the compile. so I had to change the config. then it passed.

Now I begin to compile my apache. But It doesn't work.

all the command I type is listed here:

install php:
1./configure --with-mysql=no --with-sybase=/sybase --with-apache=/usr/local/apac
he --enable
-track-vars
2.make
3.make install

and it passed.

then I begin to compile apache

  1. ./configure --prefix=/usr/local/apache --activate-module=src/modules/php4/lib
    php4.a

2.make

and I meet mistake:

ld: 0711-317 ERROR: Undefined symbol: .is_numeric_string
ld: 0711-317 ERROR: Undefined symbol: .zend_assign_to_variable_reference
ld: 0711-317 ERROR: Undefined symbol: .zend_ptr_stack_clear_multiple
ld: 0711-317 ERROR: Undefined symbol: .alloca
ld: 0711-317 ERROR: Undefined symbol: .i_zend_is_true
ld: 0711-317 ERROR: Undefined symbol: .safe_free_zval_ptr
ld: 0711-317 ERROR: Undefined symbol: .zend_ptr_stack_get_arg
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
make: 1254-004 The error code from the last command is 8.

Stop.
make: 1254-004 The error code from the last command is 2.

Stop.
make: 1254-004 The error code from the last command is 2.

Stop.

I don't have a clue how to fix this -- could someone lend a brain?

    I have not IBM AIX.

    But I think you can try:

    ////first. to install apache with config:
    #-----------------------------------
    OPTIM="-O2" ./configure --prefix=/usr/local/apache \
    --enable-module=most \
    --enable-module=so
    #-----------------------------------
    #make
    #make install
    ////second. to install php module:
    #-----------------------------------
    ./configure \
    --with-apxs=/usr/local/apache/bin/apxs \
    --enable-versioning \
    --enable-track-vars \
    with-other...........
    #-----------------------------------
    #make
    #make install
    #vi httpd.conf

    Good Lucky

      Write a Reply...