php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #3646 Can't seem to build php4 as DSO with RPM version of Apache
Submitted: 2000-02-28 01:19 UTC Modified: 2000-08-06 10:04 UTC
From: frampton at LinuxNinja dot com Assigned:
Status: Closed Package: Installation problem
PHP Version: 3.0.15 OS: Red Hat Linux 6.1
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: frampton at LinuxNinja dot com
New email:
PHP Version: OS:

 

 [2000-02-28 01:19 UTC] frampton at LinuxNinja dot com
This is for PHP4 beta 4 pl 1 (no pull-down for "PHP version" above).  I have
successfully compiled and installed PHP 3 as a DSO on several Red Hat systems
with Apache and Apache-devel from RPM.  if I try to do this using PHP 4, I am
unsuccessful.

I tried: ./configure --with-apxs=/usr/sbin/apxs --with-mysql

After configure, I do a "make" and "make install".  Only a libphp4.a file is
built, however, and it is *not* installed -- it is located in /usr/local/src/
php4b4pl1/lib and I would have to move it by hand to use it.

I checked the Makefile, and it seems to be missing any reference for creating
a .so file.  In addition, it might be missing "install-modules" reference (it
seems to specify install-local and install-modules, and only install-local is
defined in the Makefile.  Comparing with the Makefile from PHP3, it is obvious
that some reference to create the .so file would be necessary.

I had no choice but to rpm -e apache apache-devel, download and compile Apache
from source, and then proceed with PHP4 compilation.  Then all is well.

Could the developers please get PHP4 installation with stock apache RPM's as
painless as it is with PHP3?

Thanks...

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-08-06 10:04 UTC] rasmus@php.net
This works fine now.  
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu May 02 07:01:30 2024 UTC