<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Apache 2.0.54, PHP 4.3.0 and HP-UX 11.11 in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/apache-2-0-54-php-4-3-0-and-hp-ux-11-11/m-p/3535255#M842015</link>
    <description>Hello,&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;I have compiled php like this:&lt;BR /&gt;&lt;BR /&gt;./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 &amp;amp;&amp;amp; /usr/local/bin/gmake &amp;amp;&amp;amp;  /usr/local/bin/gmake install&lt;BR /&gt;&lt;BR /&gt;This leaves me with libphp4.a and libphp4.la in /path/to/php-src/libs/&lt;BR /&gt;&lt;BR /&gt;I made a directory in the apache src tree called php4 under 'modules' and copied the two libphp4.* files to it.&lt;BR /&gt;&lt;BR /&gt;Then i configured apache like this:&lt;BR /&gt;&lt;BR /&gt;./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&lt;BR /&gt;&lt;BR /&gt;when apache gets to make install, i get this error:&lt;BR /&gt;&lt;BR /&gt;Making all in php4&lt;BR /&gt;Make: Don't know how to make mod_libphp4.a.lo.  Stop.&lt;BR /&gt;*** Error exit code 1&lt;BR /&gt;&lt;BR /&gt;This has been frustrating the hell out of me for the last few days, so I am asking the community for some assistance.&lt;BR /&gt;&lt;BR /&gt;Thank you all in advance for any assistance provided.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Sat, 30 Apr 2005 09:46:16 GMT</pubDate>
    <dc:creator>Derek Whitten</dc:creator>
    <dc:date>2005-04-30T09:46:16Z</dc:date>
    <item>
      <title>Apache 2.0.54, PHP 4.3.0 and HP-UX 11.11</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/apache-2-0-54-php-4-3-0-and-hp-ux-11-11/m-p/3535255#M842015</link>
      <description>Hello,&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;I have compiled php like this:&lt;BR /&gt;&lt;BR /&gt;./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 &amp;amp;&amp;amp; /usr/local/bin/gmake &amp;amp;&amp;amp;  /usr/local/bin/gmake install&lt;BR /&gt;&lt;BR /&gt;This leaves me with libphp4.a and libphp4.la in /path/to/php-src/libs/&lt;BR /&gt;&lt;BR /&gt;I made a directory in the apache src tree called php4 under 'modules' and copied the two libphp4.* files to it.&lt;BR /&gt;&lt;BR /&gt;Then i configured apache like this:&lt;BR /&gt;&lt;BR /&gt;./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&lt;BR /&gt;&lt;BR /&gt;when apache gets to make install, i get this error:&lt;BR /&gt;&lt;BR /&gt;Making all in php4&lt;BR /&gt;Make: Don't know how to make mod_libphp4.a.lo.  Stop.&lt;BR /&gt;*** Error exit code 1&lt;BR /&gt;&lt;BR /&gt;This has been frustrating the hell out of me for the last few days, so I am asking the community for some assistance.&lt;BR /&gt;&lt;BR /&gt;Thank you all in advance for any assistance provided.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 30 Apr 2005 09:46:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/apache-2-0-54-php-4-3-0-and-hp-ux-11-11/m-p/3535255#M842015</guid>
      <dc:creator>Derek Whitten</dc:creator>
      <dc:date>2005-04-30T09:46:16Z</dc:date>
    </item>
    <item>
      <title>Re: Apache 2.0.54, PHP 4.3.0 and HP-UX 11.11</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/apache-2-0-54-php-4-3-0-and-hp-ux-11-11/m-p/3535256#M842016</link>
      <description>some more info:&lt;BR /&gt;&lt;BR /&gt;gcc version 3.4.2&lt;BR /&gt;&lt;BR /&gt;HP-UX d270 B.11.11 U 9000/861 2012487038 unlimited-user license&lt;BR /&gt;&lt;BR /&gt;This is perl, v5.8.3 built for PA-RISC2.0&lt;BR /&gt;&lt;BR /&gt;92453-07 linker command s800.sgs ld PA64 B.11.43 REL 050124&lt;BR /&gt;ld: 92453-07 linker linker ld B.11.43 050125&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 30 Apr 2005 10:09:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/apache-2-0-54-php-4-3-0-and-hp-ux-11-11/m-p/3535256#M842016</guid>
      <dc:creator>Derek Whitten</dc:creator>
      <dc:date>2005-04-30T10:09:12Z</dc:date>
    </item>
    <item>
      <title>Re: Apache 2.0.54, PHP 4.3.0 and HP-UX 11.11</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/apache-2-0-54-php-4-3-0-and-hp-ux-11-11/m-p/3535257#M842017</link>
      <description>You should configure/install apache first and then configure php using apache's apxs (--with-apxs2).&lt;BR /&gt;&lt;BR /&gt;Full instructions are at&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.php.net/manual/en/install.unix.apache2.php" target="_blank"&gt;http://www.php.net/manual/en/install.unix.apache2.php&lt;/A&gt;</description>
      <pubDate>Sat, 30 Apr 2005 21:18:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/apache-2-0-54-php-4-3-0-and-hp-ux-11-11/m-p/3535257#M842017</guid>
      <dc:creator>Ermin Borovac</dc:creator>
      <dc:date>2005-04-30T21:18:42Z</dc:date>
    </item>
    <item>
      <title>Re: Apache 2.0.54, PHP 4.3.0 and HP-UX 11.11</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/apache-2-0-54-php-4-3-0-and-hp-ux-11-11/m-p/3535258#M842018</link>
      <description>Interesting.. Everything i have read so far regarding php &amp;amp; hpux has said that php has to be compiled as a static module.. &lt;BR /&gt;&lt;BR /&gt;I will give that a try and post results..&lt;BR /&gt;&lt;BR /&gt;Thx</description>
      <pubDate>Sun, 01 May 2005 10:05:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/apache-2-0-54-php-4-3-0-and-hp-ux-11-11/m-p/3535258#M842018</guid>
      <dc:creator>Derek Whitten</dc:creator>
      <dc:date>2005-05-01T10:05:07Z</dc:date>
    </item>
    <item>
      <title>Re: Apache 2.0.54, PHP 4.3.0 and HP-UX 11.11</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/apache-2-0-54-php-4-3-0-and-hp-ux-11-11/m-p/3535259#M842019</link>
      <description>I don't know why r u trying to compile it, but here you have a ready one from HP:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=HPUXWSATW211" target="_blank"&gt;http://software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=HPUXWSATW211&lt;/A&gt;</description>
      <pubDate>Sun, 01 May 2005 12:11:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/apache-2-0-54-php-4-3-0-and-hp-ux-11-11/m-p/3535259#M842019</guid>
      <dc:creator>Alex Lavrov.</dc:creator>
      <dc:date>2005-05-01T12:11:33Z</dc:date>
    </item>
    <item>
      <title>Re: Apache 2.0.54, PHP 4.3.0 and HP-UX 11.11</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/apache-2-0-54-php-4-3-0-and-hp-ux-11-11/m-p/3535260#M842020</link>
      <description>This what i get trying to install php as a shared module..&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Installing PHP CLI binary:        /usr/php4/bin/&lt;BR /&gt;Installing PHP SAPI module&lt;BR /&gt;/usr/apache2/build/instdso.sh SH_LIBTOOL='/usr/apache2/build/libtool' libphp4.la /usr/apache2/modules&lt;BR /&gt;/usr/apache2/build/libtool --mode=install cp libphp4.la /usr/apache2/modules/&lt;BR /&gt;cp .libs/libphp4.lai /usr/apache2/modules/libphp4.la&lt;BR /&gt;cp .libs/libphp4.a /usr/apache2/modules/libphp4.a&lt;BR /&gt;ranlib /usr/apache2/modules/libphp4.a&lt;BR /&gt;chmod 644 /usr/apache2/modules/libphp4.a&lt;BR /&gt;libtool: install: warning: remember to run `libtool --finish /usr/software/php-4.3.0/libs'&lt;BR /&gt;Warning!  dlname not found in /usr/apache2/modules/libphp4.la.&lt;BR /&gt;Assuming installing a .so rather than a libtool archive.&lt;BR /&gt;chmod 755 /usr/apache2/modules/libphp4.so&lt;BR /&gt;chmod: can't access /usr/apache2/modules/libphp4.so&lt;BR /&gt;apxs:Error: Command failed with rc=65536&lt;BR /&gt;.&lt;BR /&gt;gmake: *** [install-sapi] Error 1&lt;BR /&gt;</description>
      <pubDate>Sun, 01 May 2005 16:21:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/apache-2-0-54-php-4-3-0-and-hp-ux-11-11/m-p/3535260#M842020</guid>
      <dc:creator>Derek Whitten</dc:creator>
      <dc:date>2005-05-01T16:21:56Z</dc:date>
    </item>
    <item>
      <title>Re: Apache 2.0.54, PHP 4.3.0 and HP-UX 11.11</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/apache-2-0-54-php-4-3-0-and-hp-ux-11-11/m-p/3535261#M842021</link>
      <description>It looks like PHP configure script thought that it could not build shared PHP module on your system, so it built archive version instead (libphp4.a).&lt;BR /&gt;&lt;BR /&gt;Hard to tell why this happened without output from configure and gmake.</description>
      <pubDate>Sun, 01 May 2005 20:42:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/apache-2-0-54-php-4-3-0-and-hp-ux-11-11/m-p/3535261#M842021</guid>
      <dc:creator>Ermin Borovac</dc:creator>
      <dc:date>2005-05-01T20:42:36Z</dc:date>
    </item>
    <item>
      <title>Re: Apache 2.0.54, PHP 4.3.0 and HP-UX 11.11</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/apache-2-0-54-php-4-3-0-and-hp-ux-11-11/m-p/3535262#M842022</link>
      <description>Here are some log files..&lt;BR /&gt;</description>
      <pubDate>Mon, 02 May 2005 18:59:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/apache-2-0-54-php-4-3-0-and-hp-ux-11-11/m-p/3535262#M842022</guid>
      <dc:creator>Derek Whitten</dc:creator>
      <dc:date>2005-05-02T18:59:24Z</dc:date>
    </item>
    <item>
      <title>Re: Apache 2.0.54, PHP 4.3.0 and HP-UX 11.11</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/apache-2-0-54-php-4-3-0-and-hp-ux-11-11/m-p/3535263#M842023</link>
      <description>The following errors are the what you need to fix. It's telling you that it couldn't find shared version of libz (zlib) and libcrypt (openssl). You only seem to have libz.a and libcrypt.a. In order to build shared version of php module it needs to have all dependendent libraries shared as well.&lt;BR /&gt;&lt;BR /&gt;You can get zlib and openssl with shared libraries from &lt;A href="http://hpux.cs.utah.edu." target="_blank"&gt;http://hpux.cs.utah.edu.&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;*** Warning: This library needs some functionality provided by -lz.&lt;BR /&gt;*** I have the capability to make that library automatically link in when&lt;BR /&gt;*** you link to this library.  But I can only do this if you have a&lt;BR /&gt;*** shared version of the library, which you do not appear to have.&lt;BR /&gt;&lt;BR /&gt;*** Warning: This library needs some functionality provided by -lcrypt.&lt;BR /&gt;*** I have the capability to make that library automatically link in when&lt;BR /&gt;*** you link to this library.  But I can only do this if you have a&lt;BR /&gt;*** shared version of the library, which you do not appear to have.</description>
      <pubDate>Mon, 02 May 2005 19:14:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/apache-2-0-54-php-4-3-0-and-hp-ux-11-11/m-p/3535263#M842023</guid>
      <dc:creator>Ermin Borovac</dc:creator>
      <dc:date>2005-05-02T19:14:20Z</dc:date>
    </item>
    <item>
      <title>Re: Apache 2.0.54, PHP 4.3.0 and HP-UX 11.11</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/apache-2-0-54-php-4-3-0-and-hp-ux-11-11/m-p/3535264#M842024</link>
      <description>OMFG.. I think i have finally figured it out!&lt;BR /&gt;&lt;BR /&gt;configured apache 2.0.54 as:&lt;BR /&gt;&lt;BR /&gt;./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&lt;BR /&gt;&lt;BR /&gt;did normal 'gmake &amp;amp;&amp;amp; gmake install'&lt;BR /&gt;&lt;BR /&gt;configured php 4.3.0 as:&lt;BR /&gt;&lt;BR /&gt;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 &lt;BR /&gt;&lt;BR /&gt;Then.. I had to edit /path/to/php-4.3.0/libtool at right around line 194&lt;BR /&gt;&lt;BR /&gt;changed:&lt;BR /&gt;deplibs_check_method="file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library"&lt;BR /&gt;&lt;BR /&gt;to:&lt;BR /&gt;deplibs_check_method="pass_all"&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;then 'gmake &amp;amp;&amp;amp; gmake install'&lt;BR /&gt;&lt;BR /&gt;output of 'gmake install':&lt;BR /&gt;&lt;BR /&gt;Installing PHP CLI binary:        /usr/php4/bin/&lt;BR /&gt;Installing PHP SAPI module&lt;BR /&gt;/usr/apache2/build/instdso.sh SH_LIBTOOL='/usr/apache2/build/libtool' libphp4.la /usr/apache2/modules&lt;BR /&gt;/usr/apache2/build/libtool --mode=install cp libphp4.la /usr/apache2/modules/&lt;BR /&gt;cp .libs/libphp4.sl /usr/apache2/modules/libphp4.sl&lt;BR /&gt;chmod 555 /usr/apache2/modules/libphp4.sl&lt;BR /&gt;cp .libs/libphp4.lai /usr/apache2/modules/libphp4.la&lt;BR /&gt;libtool: install: warning: remember to run `libtool --finish /usr/software/php-4.3.0/libs'&lt;BR /&gt;chmod 755 /usr/apache2/modules/libphp4.so&lt;BR /&gt;Installing shared extensions:     /usr/php4/lib/php/extensions/no-debug-non-zts-20020429/&lt;BR /&gt;Installing PEAR environment:      /usr/php4/lib/php/&lt;BR /&gt;[PEAR] Archive_Tar    - installed: 0.9&lt;BR /&gt;[PEAR] Console_Getopt - installed: 1.0&lt;BR /&gt;[PEAR] PEAR           - installed: 1.0b3&lt;BR /&gt;[PEAR] DB             - installed: 1.3&lt;BR /&gt;[PEAR] HTTP           - installed: 1.2&lt;BR /&gt;[PEAR] Mail           - installed: 1.0.1&lt;BR /&gt;[PEAR] Net_SMTP       - installed: 1.0&lt;BR /&gt;[PEAR] Net_Socket     - installed: 1.0.1&lt;BR /&gt;[PEAR] XML_Parser     - installed: 1.0&lt;BR /&gt;[PEAR] XML_RPC        - installed: 1.0.4&lt;BR /&gt;Installing build environment:     /usr/php4/lib/php/build/&lt;BR /&gt;Installing header files:          /usr/php4/include/php/&lt;BR /&gt;Installing helper programs:       /usr/php4/bin/&lt;BR /&gt;  program: phpize&lt;BR /&gt;  program: php-config&lt;BR /&gt;  program: phpextdist&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;then:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;# ls -l /usr/apache2/modules/&lt;BR /&gt;total 7104&lt;BR /&gt;-rw-rw-rw-   1 root       sys           8440 May  4 17:40 httpd.exp&lt;BR /&gt;-rwxr-xr-x   1 root       sys        3617364 May  4 18:21 libphp4.so&lt;BR /&gt;#&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 04 May 2005 20:41:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/apache-2-0-54-php-4-3-0-and-hp-ux-11-11/m-p/3535264#M842024</guid>
      <dc:creator>Derek Whitten</dc:creator>
      <dc:date>2005-05-04T20:41:19Z</dc:date>
    </item>
    <item>
      <title>Re: Apache 2.0.54, PHP 4.3.0 and HP-UX 11.11</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/apache-2-0-54-php-4-3-0-and-hp-ux-11-11/m-p/3535265#M842025</link>
      <description>PHP Version 4.3.0&lt;BR /&gt;&lt;BR /&gt;   System HP-UX d270 B.11.11 U 9000/861&lt;BR /&gt;   Build Date May 4 2005 09:04:32&lt;BR /&gt;   Configure Command './configure' '--prefix=/usr/php4' '--enable-libgcc' '--enable-mbstring' '--with-zlib=/usr/local'&lt;BR /&gt;   '--with-gettext=/usr/local' '--with-iconv=/usr/local' '--with-apxs2=/usr/apache2/bin/apxs' '--enable-shared' '--without-openssl'&lt;BR /&gt;   Server API Apache 2.0 Filter&lt;BR /&gt;   Virtual Directory Support disabled&lt;BR /&gt;   Configuration File (php.ini) Path /usr/php4/lib&lt;BR /&gt;   PHP API 20020918&lt;BR /&gt;   PHP Extension 20020429&lt;BR /&gt;   Zend Extension 20021010&lt;BR /&gt;   Debug Build no&lt;BR /&gt;   Thread Safety disabled&lt;BR /&gt;   Registered PHP Streams php, http, ftp, compress.zlib&lt;BR /&gt;   Zend logo This program makes use of the Zend Scripting Language Engine:&lt;BR /&gt;   Zend Engine v1.3.0, Copyright (c) 1998-2002 Zend Technologies&lt;BR /&gt;</description>
      <pubDate>Wed, 04 May 2005 23:30:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/apache-2-0-54-php-4-3-0-and-hp-ux-11-11/m-p/3535265#M842025</guid>
      <dc:creator>Derek Whitten</dc:creator>
      <dc:date>2005-05-04T23:30:13Z</dc:date>
    </item>
  </channel>
</rss>

