ID:               22601
 User updated by:  yannl at istop dot com
 Reported By:      yannl at istop dot com
 Status:           Bogus
 Bug Type:         *Configuration Issues
 Operating System: Suse 8.0
 PHP Version:      4.3.1
 New Comment:

OK i recompiled everything.

The Sablontron compilation when well, then configure apache
cd /root/sources/apache-1.3.27
./configure
cd ../php-4.3.1
./configure --with-apache=../apache_1.3.27 --enable-track-vars
--with-mysql --with-dom --enable-sockets --enable-wddx --with-xmlrpc
--enable-xslt --with- xslt-sablot=/usr/local/
--with-zlib-dir=/usr/local/include --with-expat-dir=/usr/local 

make
make test
make install

# Make Test Fails 

dir ~/sources/apache_1.3.27/src/modules/php4
I have nothing there
dir ~/sources/php-4.3.1/.libs
and i find libphp4.a

Since there is no libphp4.a in apace-1.3.27/src/modules/php4
when i "make" apache it crashes.

But if i copy the libphp4.a in the proper directory it works.
(At least Apache compile and works) same for PHP.
But since  i am not supposed to copy the file, what am i supposed to do
to get PHP working as an apache module ?


Previous Comments:
------------------------------------------------------------------------

[2003-03-08 09:10:07] [EMAIL PROTECTED]

No, it is created by the Apache build process, not the PHP one.  The
one you copied was the wrong one.

------------------------------------------------------------------------

[2003-03-08 09:02:55] yannl at istop dot com

Exactly it did get created. But i had to manually copy the file.
in apache1.3.27/src/modules/php4/ in order to compile apache properly

I just found unsual to find it in this folder. I never seen it in this
folder.

------------------------------------------------------------------------

[2003-03-07 21:14:30] [EMAIL PROTECTED]

Please read the installation docs.  That file is not supposed to exist.
 There is a big note in the docs that explicitly states that fact.  It
is a file that gets created.

------------------------------------------------------------------------

[2003-03-07 21:09:20] yannl at istop dot com

Hi i have compiled PHP 4.3.1 as an apache module with Sabltron 0.97,
expat 1.95.5 ,libxml  2.50, zlib 1.1.4, mysql 3,23,55 apache 1.3.27 as
a module

 
here is my php ./configure

./configure --with-apache=../apache_1.3.27 --enable-track-vars
--with-mysql --with-dom --enable-sockets --enable-wddx --with-xmlrpc
--enable-xslt --with- xslt-sablot=/usr/local/
--with-zlib-dir=/usr/local/include --with-expat-dir=/usr/local 

once i compiled PHP and Apache i never found libphp4.a in apache source
dir/src/modules/php4/ but in the php source folder/libs/

It seems to be realty unsual to find libphp4.a in this folder. I
compiled PHP as a module with a basic configuration MySQL, Apache and
it works fine and it works fine.

Just need to do a cp ../apache-x/src/modules/php4/libphp4.a  to fix the
problem

Note that the make test fails, but php seems to work properly !

------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=22601&edit=1

Reply via email to