- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Apache 2.0.54, PHP 4.3.0 and HP-UX 11.11
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-30-2005 02:46 AM
тАО04-30-2005 02:46 AM
Apache 2.0.54, PHP 4.3.0 and HP-UX 11.11
I am trying to compile apache-2.0.54 and php 4.3.0 on hpux 11.11 (pa-risc 2.0) and I am having issues with the static php module.
I have compiled php like this:
./configure --prefix=/usr/php4 --enable-mbstring--with-zlib --with-zlib-dir=/usr --with-gettext=/usr/local --with-iconv=/usr/local --with-openssl=/usr --with-apache2=../httpd-2.0.54 && /usr/local/bin/gmake && /usr/local/bin/gmake install
This leaves me with libphp4.a and libphp4.la in /path/to/php-src/libs/
I made a directory in the apache src tree called php4 under 'modules' and copied the two libphp4.* files to it.
Then i configured apache like this:
./configure --prefix=/usr/apache2 --with-ssl=/usr --with-z=/usr --enable-modules='speling cgi deflate mime-magic vhost-alias usertrack ssl headers rewrite http' --disable-shared --enable-static-support --with-module=php4:libphp4.a
when apache gets to make install, i get this error:
Making all in php4
Make: Don't know how to make mod_libphp4.a.lo. Stop.
*** Error exit code 1
This has been frustrating the hell out of me for the last few days, so I am asking the community for some assistance.
Thank you all in advance for any assistance provided.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-30-2005 03:09 AM
тАО04-30-2005 03:09 AM
Re: Apache 2.0.54, PHP 4.3.0 and HP-UX 11.11
gcc version 3.4.2
HP-UX d270 B.11.11 U 9000/861 2012487038 unlimited-user license
This is perl, v5.8.3 built for PA-RISC2.0
92453-07 linker command s800.sgs ld PA64 B.11.43 REL 050124
ld: 92453-07 linker linker ld B.11.43 050125
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-30-2005 02:18 PM
тАО04-30-2005 02:18 PM
Re: Apache 2.0.54, PHP 4.3.0 and HP-UX 11.11
Full instructions are at
http://www.php.net/manual/en/install.unix.apache2.php
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-01-2005 03:05 AM
тАО05-01-2005 03:05 AM
Re: Apache 2.0.54, PHP 4.3.0 and HP-UX 11.11
I will give that a try and post results..
Thx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-01-2005 05:11 AM
тАО05-01-2005 05:11 AM
Re: Apache 2.0.54, PHP 4.3.0 and HP-UX 11.11
http://software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=HPUXWSATW211
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-01-2005 09:21 AM
тАО05-01-2005 09:21 AM
Re: Apache 2.0.54, PHP 4.3.0 and HP-UX 11.11
Installing PHP CLI binary: /usr/php4/bin/
Installing PHP SAPI module
/usr/apache2/build/instdso.sh SH_LIBTOOL='/usr/apache2/build/libtool' libphp4.la /usr/apache2/modules
/usr/apache2/build/libtool --mode=install cp libphp4.la /usr/apache2/modules/
cp .libs/libphp4.lai /usr/apache2/modules/libphp4.la
cp .libs/libphp4.a /usr/apache2/modules/libphp4.a
ranlib /usr/apache2/modules/libphp4.a
chmod 644 /usr/apache2/modules/libphp4.a
libtool: install: warning: remember to run `libtool --finish /usr/software/php-4.3.0/libs'
Warning! dlname not found in /usr/apache2/modules/libphp4.la.
Assuming installing a .so rather than a libtool archive.
chmod 755 /usr/apache2/modules/libphp4.so
chmod: can't access /usr/apache2/modules/libphp4.so
apxs:Error: Command failed with rc=65536
.
gmake: *** [install-sapi] Error 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-01-2005 01:42 PM
тАО05-01-2005 01:42 PM
Re: Apache 2.0.54, PHP 4.3.0 and HP-UX 11.11
Hard to tell why this happened without output from configure and gmake.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-02-2005 11:59 AM
тАО05-02-2005 11:59 AM
Re: Apache 2.0.54, PHP 4.3.0 and HP-UX 11.11
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-02-2005 12:14 PM
тАО05-02-2005 12:14 PM
Re: Apache 2.0.54, PHP 4.3.0 and HP-UX 11.11
You can get zlib and openssl with shared libraries from http://hpux.cs.utah.edu.
*** Warning: This library needs some functionality provided by -lz.
*** I have the capability to make that library automatically link in when
*** you link to this library. But I can only do this if you have a
*** shared version of the library, which you do not appear to have.
*** Warning: This library needs some functionality provided by -lcrypt.
*** I have the capability to make that library automatically link in when
*** you link to this library. But I can only do this if you have a
*** shared version of the library, which you do not appear to have.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-04-2005 01:41 PM
тАО05-04-2005 01:41 PM
Re: Apache 2.0.54, PHP 4.3.0 and HP-UX 11.11
configured apache 2.0.54 as:
./configure --prefix=/usr/apache2 --enable-rewrite --with-ssl=/usr/local --enable-ssl --enable-speling --enable-cgi --enable-http --enable-static-support --enable-deflate --enable-mime-magic --enable-headers --enable-usertrack --with-z=/usr/local
did normal 'gmake && gmake install'
configured php 4.3.0 as:
CFLAGS=-shared-libgcc ./configure --prefix=/usr/php4 --enable-libgcc --enable-mbstring --with-zlib=/usr/local --with-gettext=/usr/local --with-iconv=/usr/local --with-apxs2=/usr/apache2/bin/apxs --enable-shared --without-openssl
Then.. I had to edit /path/to/php-4.3.0/libtool at right around line 194
changed:
deplibs_check_method="file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library"
to:
deplibs_check_method="pass_all"
then 'gmake && gmake install'
output of 'gmake install':
Installing PHP CLI binary: /usr/php4/bin/
Installing PHP SAPI module
/usr/apache2/build/instdso.sh SH_LIBTOOL='/usr/apache2/build/libtool' libphp4.la /usr/apache2/modules
/usr/apache2/build/libtool --mode=install cp libphp4.la /usr/apache2/modules/
cp .libs/libphp4.sl /usr/apache2/modules/libphp4.sl
chmod 555 /usr/apache2/modules/libphp4.sl
cp .libs/libphp4.lai /usr/apache2/modules/libphp4.la
libtool: install: warning: remember to run `libtool --finish /usr/software/php-4.3.0/libs'
chmod 755 /usr/apache2/modules/libphp4.so
Installing shared extensions: /usr/php4/lib/php/extensions/no-debug-non-zts-20020429/
Installing PEAR environment: /usr/php4/lib/php/
[PEAR] Archive_Tar - installed: 0.9
[PEAR] Console_Getopt - installed: 1.0
[PEAR] PEAR - installed: 1.0b3
[PEAR] DB - installed: 1.3
[PEAR] HTTP - installed: 1.2
[PEAR] Mail - installed: 1.0.1
[PEAR] Net_SMTP - installed: 1.0
[PEAR] Net_Socket - installed: 1.0.1
[PEAR] XML_Parser - installed: 1.0
[PEAR] XML_RPC - installed: 1.0.4
Installing build environment: /usr/php4/lib/php/build/
Installing header files: /usr/php4/include/php/
Installing helper programs: /usr/php4/bin/
program: phpize
program: php-config
program: phpextdist
then:
# ls -l /usr/apache2/modules/
total 7104
-rw-rw-rw- 1 root sys 8440 May 4 17:40 httpd.exp
-rwxr-xr-x 1 root sys 3617364 May 4 18:21 libphp4.so
#
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-04-2005 04:30 PM
тАО05-04-2005 04:30 PM
Re: Apache 2.0.54, PHP 4.3.0 and HP-UX 11.11
System HP-UX d270 B.11.11 U 9000/861
Build Date May 4 2005 09:04:32
Configure Command './configure' '--prefix=/usr/php4' '--enable-libgcc' '--enable-mbstring' '--with-zlib=/usr/local'
'--with-gettext=/usr/local' '--with-iconv=/usr/local' '--with-apxs2=/usr/apache2/bin/apxs' '--enable-shared' '--without-openssl'
Server API Apache 2.0 Filter
Virtual Directory Support disabled
Configuration File (php.ini) Path /usr/php4/lib
PHP API 20020918
PHP Extension 20020429
Zend Extension 20021010
Debug Build no
Thread Safety disabled
Registered PHP Streams php, http, ftp, compress.zlib
Zend logo This program makes use of the Zend Scripting Language Engine:
Zend Engine v1.3.0, Copyright (c) 1998-2002 Zend Technologies