Hello All,
                I have found one soultion for my bug posted in my previous
mail.Actually i hve searched from the site.

1)Do a "./configure --with-apache=/path/to/my/apache", follow this with a
"make" then delete the files stub.lo & stub.o in the php root directory and
then all the .lo files in the main directory.
2)DO NOT do a make clean...
3)Now, do a "./configure --with-apxs=/path/to/my/apxs", follow with a "make"
and "make install". This should compile and create the libphp4.so in the
correct Apache runtime directories.

Now my Apache 1.3.26 and PHP 4.22 (As DSO ) installation is OK.

Any one of you may have some other solution.If so please post it.


----- Original Message -----
From: "SenthilVelavan" <[EMAIL PROTECTED]>
Sent: Wednesday, July 31, 2002 9:10 AM
Subject: [PHP] Reg-PHP4.22 and Apache1.3.26 Installation

Hello All,
            I have tried to install Apache 1.3.26 and PHP 4.22 (as DSO ).

By following the below steps my Apache 1.3.26 installation was OK
./configure  --enable-module=so
make install

But while running make for PHP 4.22 i got the following error.

[Note    :    My configure command for PHP 4.22 is
    ./configure --with-apxs=/usr/local/apache/bin/apxs --with-mysql ]

Error    :
stub.lo: file not recognized: File truncated
collect2: ld returned 1 exit status
make[1]: *** [libphp4.la] Error 1
make[1]: Leaving directory `/usr/local/php-4.2.2'
make: *** [all-recursive] Error 1

Any help is appreciated.

Advance thanks and regards,

PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to