php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #28563 php not installing with apache 1.3.28
Submitted: 2004-05-28 20:43 UTC Modified: 2004-12-21 07:43 UTC
From: ramakrishnan dot iyer at hp dot com Assigned:
Status: No Feedback Package: Apache related
PHP Version: 4.3.6 OS: hp ux
Private report: No CVE-ID: None
 [2004-05-28 20:43 UTC] ramakrishnan dot iyer at hp dot com
Description:
------------
The platform is HP UX 11.0.  I am trying to install php 4.3.6. I am using the following script -

CC=/opt/ansic/bin/cc \
GCC=/opt/ansic/bin/cc \
./configure \
--prefix=/var/opt/web/php437 \
--with-apache=/mnt/d0006/rrc-disk/dump/apache_1.3.28 \
--with-oci8=/opt/oracle/product/8.1.6

Apache has been installed  like this 

CC=/opt/ansic/bin/cc \
./configure \
--prefix=/var/opt/web/apache_1328_3

"make" is going through, but "make install" reports "not a so" error.  

I analyzed this a little ...

After "configure" if i edit Makefile, main/build*.h and config.status
and after "make" if i edit libs/*.la and .libs/*.lai and replace libphp4.sl with libphp4.so the installtion goes through.

This solution would have been acceptable to me, but when i put in the with-oci8 - after my edits, the make creates a static file with .a extension and not a .so file.

This is not acceptable because the mod perl server that we have has shared module enabled.

Please help with suggestions/resolution.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-07-08 12:55 UTC] sniper@php.net
The correct configure option is "--with-apxs" to get a DSO.
If you're trying to make a static install, read the INSTALL file..)

 [2004-07-08 18:10 UTC] ramakrishnan dot iyer at hp dot com
Sorry, i had pasted the wrong script.  Even this does not work -

CC=/opt/ansic/bin/cc \
GCC=/opt/ansic/bin/cc \
./configure \
--prefix=/var/opt/web/php437 \
--with-apxs=/var/opt/web/apache_1328_2/bin/apxs \
--with-oci8=/opt/oracle/product/8.1.6 \
--enable_sigchild \
--without-mysql 

But the important question that i have is why doesn't php install with Oracle 9 on HP UX.  If you could give me a workaround to this problem, i would greatly appreciate it.
 [2004-12-13 01:04 UTC] sniper@php.net
Try using GCC instead of the native compiler..

 [2004-12-21 07:43 UTC] sniper@php.net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 12 09:01:27 2024 UTC