<?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 HPWS problem with PHP in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/hpws-problem-with-php/m-p/4167298#M320785</link>
    <description>Hello,&lt;BR /&gt;&lt;BR /&gt;I have a problem with a server running HP-UX 11v3, Apache 2.0.58 and&lt;BR /&gt;PHP 5.0.4.&lt;BR /&gt;&lt;BR /&gt;My application requires some PHP extensions : calendar, xml, zlib and&lt;BR /&gt;other ones...&lt;BR /&gt;&lt;BR /&gt;My goal is to install the Calendar extension.&lt;BR /&gt;&lt;BR /&gt;I wanted to do it with the PEAR package system, so I needed first the&lt;BR /&gt;zlib extension. It is included in the Apache/PHP bundle so I installed&lt;BR /&gt;the zlib library 1.2.3 (as required for the dependencies), in the&lt;BR /&gt;file /opt/hpws/apache/conf/php.ini I removed the ';' at the beginning of&lt;BR /&gt;the line&lt;BR /&gt;extension = zlib.sl&lt;BR /&gt;&lt;BR /&gt;and I restarted the Apache server.&lt;BR /&gt;&lt;BR /&gt;But whenever I try to use the PEAR package manager, I get the following&lt;BR /&gt;error :&lt;BR /&gt;&lt;BR /&gt;# ./pear install Calendar-0.5.3.tgz         &lt;BR /&gt;The extension 'zlib' couldn't be found.&lt;BR /&gt;Please make sure your version of PHP was built with 'zlib' support.&lt;BR /&gt;&lt;BR /&gt;Moreover, the phpinfo() function does not mention zlib at all.&lt;BR /&gt;&lt;BR /&gt;Fyi :&lt;BR /&gt;# cat /opt/hpws/apache/conf/php.ini | fgrep zlib&lt;BR /&gt;zlib.output_compression = 1 &lt;BR /&gt;extension = zlib.sl&lt;BR /&gt;&lt;BR /&gt;As far as I know, the zlib extension only works when the parameter&lt;BR /&gt;--enable-zlib is appended at the ./configure step of the PHP-compilation&lt;BR /&gt;and it is not mentioned on the phpinfo() page at the "Configure Command"&lt;BR /&gt;row. Are there other flavors of PHP compiled for HP-UX ? Or do you have&lt;BR /&gt;any other solution in order us to let the zlib extension work ?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance for your help</description>
    <pubDate>Tue, 25 Mar 2008 11:13:39 GMT</pubDate>
    <dc:creator>Hervé Marcy</dc:creator>
    <dc:date>2008-03-25T11:13:39Z</dc:date>
    <item>
      <title>HPWS problem with PHP</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hpws-problem-with-php/m-p/4167298#M320785</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;I have a problem with a server running HP-UX 11v3, Apache 2.0.58 and&lt;BR /&gt;PHP 5.0.4.&lt;BR /&gt;&lt;BR /&gt;My application requires some PHP extensions : calendar, xml, zlib and&lt;BR /&gt;other ones...&lt;BR /&gt;&lt;BR /&gt;My goal is to install the Calendar extension.&lt;BR /&gt;&lt;BR /&gt;I wanted to do it with the PEAR package system, so I needed first the&lt;BR /&gt;zlib extension. It is included in the Apache/PHP bundle so I installed&lt;BR /&gt;the zlib library 1.2.3 (as required for the dependencies), in the&lt;BR /&gt;file /opt/hpws/apache/conf/php.ini I removed the ';' at the beginning of&lt;BR /&gt;the line&lt;BR /&gt;extension = zlib.sl&lt;BR /&gt;&lt;BR /&gt;and I restarted the Apache server.&lt;BR /&gt;&lt;BR /&gt;But whenever I try to use the PEAR package manager, I get the following&lt;BR /&gt;error :&lt;BR /&gt;&lt;BR /&gt;# ./pear install Calendar-0.5.3.tgz         &lt;BR /&gt;The extension 'zlib' couldn't be found.&lt;BR /&gt;Please make sure your version of PHP was built with 'zlib' support.&lt;BR /&gt;&lt;BR /&gt;Moreover, the phpinfo() function does not mention zlib at all.&lt;BR /&gt;&lt;BR /&gt;Fyi :&lt;BR /&gt;# cat /opt/hpws/apache/conf/php.ini | fgrep zlib&lt;BR /&gt;zlib.output_compression = 1 &lt;BR /&gt;extension = zlib.sl&lt;BR /&gt;&lt;BR /&gt;As far as I know, the zlib extension only works when the parameter&lt;BR /&gt;--enable-zlib is appended at the ./configure step of the PHP-compilation&lt;BR /&gt;and it is not mentioned on the phpinfo() page at the "Configure Command"&lt;BR /&gt;row. Are there other flavors of PHP compiled for HP-UX ? Or do you have&lt;BR /&gt;any other solution in order us to let the zlib extension work ?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance for your help</description>
      <pubDate>Tue, 25 Mar 2008 11:13:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hpws-problem-with-php/m-p/4167298#M320785</guid>
      <dc:creator>Hervé Marcy</dc:creator>
      <dc:date>2008-03-25T11:13:39Z</dc:date>
    </item>
  </channel>
</rss>

