php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #22601 libphp4.a not in the proper folder
Submitted: 2003-03-07 21:09 UTC Modified: 2003-03-08 13:32 UTC
From: yannl at istop dot com Assigned:
Status: Not a bug Package: *Configuration Issues
PHP Version: 4.3.1 OS: Suse 8.0
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: yannl at istop dot com
New email:
PHP Version: OS:

 

 [2003-03-07 21:09 UTC] 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 !

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-03-07 21:14 UTC] rasmus@php.net
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-08 09:02 UTC] 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-08 09:10 UTC] rasmus@php.net
No, it is created by the Apache build process, not the PHP one.  The one you copied was the wrong one.
 [2003-03-08 13:32 UTC] yannl at istop dot com
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 ?
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 11:01:30 2024 UTC