<?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 Re: Is there a HP-UX PHP distro with copiled-in MySQL support? in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/is-there-a-hp-ux-php-distro-with-copiled-in-mysql-support/m-p/3731080#M102034</link>
    <description>Uncommenting the extension=mysql.sl &lt;BR /&gt;did the trick.&lt;BR /&gt; &lt;BR /&gt;# grep extension=mysql /opt/hpws/apache/conf/php.ini &lt;BR /&gt;extension=mysql.sl&lt;BR /&gt; &lt;BR /&gt;Now the PHP interpreter can connect to the MySQL backend, and I don't get the driver's fatal error anymore.&lt;BR /&gt; &lt;BR /&gt;Now I'm struggling with implementation details of our tool.&lt;BR /&gt;Though I still cannot login to our server roster I know that at least the PHP stuff gets executed.&lt;BR /&gt;I'll have to ask the person that wrote the tool tomorrow for the rest.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Tue, 14 Feb 2006 11:23:55 GMT</pubDate>
    <dc:creator>Ralph Grothe</dc:creator>
    <dc:date>2006-02-14T11:23:55Z</dc:date>
    <item>
      <title>Is there a HP-UX PHP distro with copiled-in MySQL support?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/is-there-a-hp-ux-php-distro-with-copiled-in-mysql-support/m-p/3731074#M102028</link>
      <description>Hello,&lt;BR /&gt; &lt;BR /&gt;due to a server swap I needed to move our little HP-UX/Apache/PHP/MySQL evolution roster (instead of LAMP I'd call it HAMPER ;-) tool which was accompanied with a reinstallation of HP's Apache suite on the new server.&lt;BR /&gt;  &lt;BR /&gt;I happened to have snatched this HP Apache release.&lt;BR /&gt;  &lt;BR /&gt;  &lt;BR /&gt;# swlist |grep -i apache&lt;BR /&gt;  hpuxwsApache                          A.2.0.55.00    HP-UX Apache-based Web Server &lt;BR /&gt;  &lt;BR /&gt;# /opt/hpws/apache/bin/httpd -l&lt;BR /&gt;Compiled in modules:&lt;BR /&gt;  core.c&lt;BR /&gt;  worker.c&lt;BR /&gt;  http_core.c&lt;BR /&gt;  mod_so.c&lt;BR /&gt;  &lt;BR /&gt;# ll /opt/hpws/apache/modules/*php*&lt;BR /&gt;-rwxr-xr-x   1 bin        bin        9339684 Nov  3 10:25 /opt/hpws/apache/modules/libphp5.so&lt;BR /&gt;  &lt;BR /&gt;  &lt;BR /&gt;When I invoke any URI of our tool now I get this.&lt;BR /&gt;  &lt;BR /&gt;Fatal error: Call to undefined function mysql_connect() in /opt/hpws/apache/htdocs/sv/config.inc.php on line 2&lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt;As it seems the PHP bundled with this particular HP Apache suite doesn't seem to have compiled in support for MySQL (the backend of our tool)&lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt;# find /opt -type f -name php&lt;BR /&gt;/opt/depot/hpuxws/hpuxwsAPACHE/PHP2/opt/hpws/apache/php/bin/php&lt;BR /&gt;/opt/hpws/apache/php/bin/php&lt;BR /&gt;  &lt;BR /&gt;# /opt/hpws/apache/php/bin/php -v&lt;BR /&gt;PHP 5.0.4 (cli) (built: Oct 24 2005 14:31:44)&lt;BR /&gt;Copyright (c) 1997-2004 The PHP Group&lt;BR /&gt;Zend Engine v2.0.4-dev, Copyright (c) 1998-2004 Zend Technologies&lt;BR /&gt;    &lt;BR /&gt;# /opt/hpws/apache/php/bin/php -m&lt;BR /&gt;[PHP Modules]&lt;BR /&gt;ctype&lt;BR /&gt;dom&lt;BR /&gt;iconv&lt;BR /&gt;libxml&lt;BR /&gt;pcre&lt;BR /&gt;posix&lt;BR /&gt;session&lt;BR /&gt;SimpleXML&lt;BR /&gt;SPL&lt;BR /&gt;SQLite&lt;BR /&gt;standard&lt;BR /&gt;tokenizer&lt;BR /&gt;xml&lt;BR /&gt;&lt;BR /&gt;[Zend Modules]&lt;BR /&gt;&lt;BR /&gt;Nice that they compiled for SQLite support&lt;BR /&gt;but I'd rather like to stick to our MySQL backend (too much fuss getting into yet another database and ex- and importing)&lt;BR /&gt;  &lt;BR /&gt;Actually, I wonder if they missed the MySQL support deliberately for any license issues?&lt;BR /&gt;On the other hand the MySQL that I installed is a HP bundle as well.&lt;BR /&gt;  &lt;BR /&gt; &lt;BR /&gt;# swlist|grep -i mysql&lt;BR /&gt;  ixMySQL                               A.06.00-4.1.15 MySQL Database &lt;BR /&gt; &lt;BR /&gt;  &lt;BR /&gt;Before I now delve into downloading the mod_php interpreter sources and building a MySQL aware binary I would like to check if there isn't a ready made bundle available from HP.&lt;BR /&gt;  &lt;BR /&gt;Rgds&lt;BR /&gt;Ralph</description>
      <pubDate>Tue, 14 Feb 2006 08:58:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/is-there-a-hp-ux-php-distro-with-copiled-in-mysql-support/m-p/3731074#M102028</guid>
      <dc:creator>Ralph Grothe</dc:creator>
      <dc:date>2006-02-14T08:58:23Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a HP-UX PHP distro with copiled-in MySQL support?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/is-there-a-hp-ux-php-distro-with-copiled-in-mysql-support/m-p/3731075#M102029</link>
      <description>Hi Ralph,&lt;BR /&gt;&lt;BR /&gt;Mysql-support should be already compiled in.&lt;BR /&gt;&lt;BR /&gt;Do you have the line "extension=mysql.sl"&lt;BR /&gt;in your php.ini?&lt;BR /&gt;&lt;BR /&gt;And a mysql.sl file in your php/extensions directory?&lt;BR /&gt;&lt;BR /&gt;Check if your software references "mysql.so", but HP-UX has a "mysql.sl".&lt;BR /&gt;&lt;BR /&gt;rgds&lt;BR /&gt;HGH</description>
      <pubDate>Tue, 14 Feb 2006 09:40:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/is-there-a-hp-ux-php-distro-with-copiled-in-mysql-support/m-p/3731075#M102029</guid>
      <dc:creator>Hemmetter</dc:creator>
      <dc:date>2006-02-14T09:40:41Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a HP-UX PHP distro with copiled-in MySQL support?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/is-there-a-hp-ux-php-distro-with-copiled-in-mysql-support/m-p/3731076#M102030</link>
      <description>Meanwhile I downloaded the IPv6 capable depot for HP-UX 11.11 PARISC, and it looks that they have furnished this depot with mysql support.&lt;BR /&gt;  &lt;BR /&gt;# swlist -l file -s /tmp/HPUXWSATW-B215-1111.depot hpuxwsAPACHE.PHP\*|grep -i mysql&lt;BR /&gt;  hpuxwsAPACHE.PHP: /opt/hpws/apache/php/lib/php/DB/mysql.php                  &lt;BR /&gt;  hpuxwsAPACHE.PHP2: /opt/hpws/apache/php/lib/php/extensions/mysql.sl                 &lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt;But wait, these libs are also in my installed depot&lt;BR /&gt; &lt;BR /&gt;# swlist -l file hpuxwsApache|grep -i mysql&lt;BR /&gt;  hpuxwsApache.hpuxwsAPACHE.PHP: /opt/hpws/apache/php/lib/php/DB/mysql.php                      &lt;BR /&gt;   hpuxwsApache.hpuxwsAPACHE.PHP2: /opt/hpws/apache/php/lib/php/extensions/mysql.sl                   &lt;BR /&gt; &lt;BR /&gt;So have I missed something, like registering these libs in httpd.conf?&lt;BR /&gt;But there's no even commented reference to them in it.&lt;BR /&gt;    &lt;BR /&gt;# ll /opt/hpws/apache/php/lib/php/DB/mysql.php  &lt;BR /&gt;-rw-r--r--   1 bin        bin          32295 Nov  3 10:28 /opt/hpws/apache/php/lib/php/DB/mysql.php&lt;BR /&gt;   &lt;BR /&gt;# grep -ci mysql /opt/hpws/apache/conf/httpd.conf&lt;BR /&gt;0&lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt;I'm not into PHP.&lt;BR /&gt;Is there a global config file or so where I could include the path to those mysql libs?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;</description>
      <pubDate>Tue, 14 Feb 2006 09:48:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/is-there-a-hp-ux-php-distro-with-copiled-in-mysql-support/m-p/3731076#M102030</guid>
      <dc:creator>Ralph Grothe</dc:creator>
      <dc:date>2006-02-14T09:48:20Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a HP-UX PHP distro with copiled-in MySQL support?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/is-there-a-hp-ux-php-distro-with-copiled-in-mysql-support/m-p/3731077#M102031</link>
      <description>Hello Hemmeter,&lt;BR /&gt; &lt;BR /&gt;I found a php.ini&lt;BR /&gt;But I can't remember to have tinkered with that file on my previous install where things worked.&lt;BR /&gt;Yes, you are right.&lt;BR /&gt;Looks like a comment prepending the extension=mysql.sl line.&lt;BR /&gt;Do you know what else I would need to set here (apart from removing the semicolon)?&lt;BR /&gt;   &lt;BR /&gt;# grep -i mysql /opt/hpws/apache/conf/php.ini&lt;BR /&gt;;extension=mysql.sl&lt;BR /&gt;[MySQL]&lt;BR /&gt;mysql.allow_persistent = On&lt;BR /&gt;mysql.max_persistent = -1&lt;BR /&gt;mysql.max_links = -1&lt;BR /&gt;; Default port number for mysql_connect().  If unset, mysql_connect() will use&lt;BR /&gt;; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the&lt;BR /&gt;; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look&lt;BR /&gt;; at MYSQL_PORT.&lt;BR /&gt;mysql.default_port =&lt;BR /&gt;; Default socket name for local MySQL connects.  If empty, uses the built-in&lt;BR /&gt;; MySQL defaults.&lt;BR /&gt;mysql.default_socket =&lt;BR /&gt;; Default host for mysql_connect() (doesn't apply in safe mode).&lt;BR /&gt;mysql.default_host =&lt;BR /&gt;; Default user for mysql_connect() (doesn't apply in safe mode).&lt;BR /&gt;mysql.default_user =&lt;BR /&gt;; Default password for mysql_connect() (doesn't apply in safe mode).&lt;BR /&gt;; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")&lt;BR /&gt;mysql.default_password =&lt;BR /&gt;mysql.connect_timeout = 60&lt;BR /&gt;mysql.trace_mode = Off&lt;BR /&gt;[MySQLI]&lt;BR /&gt;mysqli.max_links = -1&lt;BR /&gt;; Default port number for mysqli_connect().  If unset, mysqli_connect() will use&lt;BR /&gt;; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the&lt;BR /&gt;; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look&lt;BR /&gt;; at MYSQL_PORT.&lt;BR /&gt;mysqli.default_port = 3306&lt;BR /&gt;; Default socket name for local MySQL connects.  If empty, uses the built-in&lt;BR /&gt;; MySQL defaults.&lt;BR /&gt;mysqli.default_socket =&lt;BR /&gt;; Default host for mysql_connect() (doesn't apply in safe mode).&lt;BR /&gt;mysqli.default_host =&lt;BR /&gt;; Default user for mysql_connect() (doesn't apply in safe mode).&lt;BR /&gt;mysqli.default_user =&lt;BR /&gt;; Default password for mysqli_connect() (doesn't apply in safe mode).&lt;BR /&gt;; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_password")&lt;BR /&gt;mysqli.default_password =&lt;BR /&gt;mysqli.reconnect = Off&lt;BR /&gt;</description>
      <pubDate>Tue, 14 Feb 2006 09:55:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/is-there-a-hp-ux-php-distro-with-copiled-in-mysql-support/m-p/3731077#M102031</guid>
      <dc:creator>Ralph Grothe</dc:creator>
      <dc:date>2006-02-14T09:55:46Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a HP-UX PHP distro with copiled-in MySQL support?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/is-there-a-hp-ux-php-distro-with-copiled-in-mysql-support/m-p/3731078#M102032</link>
      <description>Hi again Ralph&lt;BR /&gt;&lt;BR /&gt;Did you check your&lt;BR /&gt;/opt/hpws/apache/conf/php.ini&lt;BR /&gt;&lt;BR /&gt;for that "extension=mysql.sl" line?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Whats in your config.inc.php on/around line 2 where the fatal error occurs?&lt;BR /&gt;&lt;BR /&gt;HGH&lt;BR /&gt;</description>
      <pubDate>Tue, 14 Feb 2006 10:02:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/is-there-a-hp-ux-php-distro-with-copiled-in-mysql-support/m-p/3731078#M102032</guid>
      <dc:creator>Hemmetter</dc:creator>
      <dc:date>2006-02-14T10:02:17Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a HP-UX PHP distro with copiled-in MySQL support?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/is-there-a-hp-ux-php-distro-with-copiled-in-mysql-support/m-p/3731079#M102033</link>
      <description>Shalom Ralph,&lt;BR /&gt;&lt;BR /&gt;I think one of the other hpws distributions has this support.&lt;BR /&gt;&lt;BR /&gt;mysql is an open source database, there are no license or use issues at all.&lt;BR /&gt;&lt;BR /&gt;I know that the hpws 2.13 rlease has Mysql 5.x and php 5.x&lt;BR /&gt;&lt;BR /&gt;If this is not good for your project then one of the other hpws releases should do it.&lt;BR /&gt;&lt;BR /&gt;Frankly, it seems to be a rather glariing error. I didn't have to change this at all on my Linux machines.&lt;BR /&gt;&lt;BR /&gt;My mysql/php combos on my play hp-9000 machines at home is out of date, but I'll look at it. I believe that there should be no configuration change to support php/mysql data read/write/update.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Tue, 14 Feb 2006 10:11:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/is-there-a-hp-ux-php-distro-with-copiled-in-mysql-support/m-p/3731079#M102033</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2006-02-14T10:11:16Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a HP-UX PHP distro with copiled-in MySQL support?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/is-there-a-hp-ux-php-distro-with-copiled-in-mysql-support/m-p/3731080#M102034</link>
      <description>Uncommenting the extension=mysql.sl &lt;BR /&gt;did the trick.&lt;BR /&gt; &lt;BR /&gt;# grep extension=mysql /opt/hpws/apache/conf/php.ini &lt;BR /&gt;extension=mysql.sl&lt;BR /&gt; &lt;BR /&gt;Now the PHP interpreter can connect to the MySQL backend, and I don't get the driver's fatal error anymore.&lt;BR /&gt; &lt;BR /&gt;Now I'm struggling with implementation details of our tool.&lt;BR /&gt;Though I still cannot login to our server roster I know that at least the PHP stuff gets executed.&lt;BR /&gt;I'll have to ask the person that wrote the tool tomorrow for the rest.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 14 Feb 2006 11:23:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/is-there-a-hp-ux-php-distro-with-copiled-in-mysql-support/m-p/3731080#M102034</guid>
      <dc:creator>Ralph Grothe</dc:creator>
      <dc:date>2006-02-14T11:23:55Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a HP-UX PHP distro with copiled-in MySQL support?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/is-there-a-hp-ux-php-distro-with-copiled-in-mysql-support/m-p/3731081#M102035</link>
      <description>Hi Ralph, &lt;BR /&gt;&lt;BR /&gt;Which version of PHP you are using ? HP ended support for PHP4 on or after Dec 31'05. You may have to download the latest version of HP-UX Webserver suite. &lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=HPUXWSARCHIVE" target="_blank"&gt;http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=HPUXWSARCHIVE&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;It comes with PHP5. &lt;BR /&gt;&lt;BR /&gt;Main Site, &lt;BR /&gt;&lt;A href="http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=HPUXWSSUITE" target="_blank"&gt;http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=HPUXWSSUITE&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=HPUXWSATW215" target="_blank"&gt;http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=HPUXWSATW215&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;-Arun &lt;BR /&gt;</description>
      <pubDate>Tue, 14 Feb 2006 11:49:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/is-there-a-hp-ux-php-distro-with-copiled-in-mysql-support/m-p/3731081#M102035</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2006-02-14T11:49:39Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a HP-UX PHP distro with copiled-in MySQL support?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/is-there-a-hp-ux-php-distro-with-copiled-in-mysql-support/m-p/3731082#M102036</link>
      <description>Here is what I have determined.&lt;BR /&gt;&lt;BR /&gt;The current 64-bit version compiled for 11.23 was not compiled with mysql support.  I could only find reference to it after the install, finding out it didn't work, and then looking at the online documentation that they provide with the package.&lt;BR /&gt;&lt;BR /&gt;Interestingly; while they are telling you in the documentation that they didn't compile the 64-bit with mysql support, they mention that it is compiled in the 32-bit version.&lt;BR /&gt;&lt;BR /&gt;Now with the 32-bit version for 11.23, you get php 5.0.4 and apache 2.0.55.  It does work with the ixMySQL A.06.00-4.1.15 MySQL Database that you have installed.  This seems to be as close as I can get with the current HP offering.&lt;BR /&gt;&lt;BR /&gt;So I am still left with the puzzling question as to why they choose not to compile the 64-bit with mysql support.  Why is the php5 version as old as it is?  Current version is like 5.1.2?  The packages come with gd.sl but not gd2.sl which almost everyone putting out graphing wrappers needs with php5?&lt;BR /&gt;&lt;BR /&gt;So do I understand correctly, that this compiling omission isn't in the 11.11 version of the package?&lt;BR /&gt;&lt;BR /&gt;Using software packages downloaded from the net leads to a terrible amount of effort to get them working.  Some don't mind using HP ANSI C compiler and others don't.  And those seem to work fine with gcc.  I would much rather have HP depot packages as I need to apply this to over 60 servers.  Even if I had HP's source code, I doubt that I could pull it together to give me the exact packaging the HP is supplying with just mySQL support for the 11.23 64-bit.&lt;BR /&gt;&lt;BR /&gt;I've been at an impasse on this for a while now.&lt;BR /&gt;</description>
      <pubDate>Thu, 13 Apr 2006 08:20:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/is-there-a-hp-ux-php-distro-with-copiled-in-mysql-support/m-p/3731082#M102036</guid>
      <dc:creator>Michael L Williams_1</dc:creator>
      <dc:date>2006-04-13T08:20:54Z</dc:date>
    </item>
  </channel>
</rss>

