<?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: Error installing PHP... in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/error-installing-php/m-p/3050890#M136489</link>
    <description>Okay... I'm sorry for being such a goof.  I had added these to the global PATH instead of my own... I figured it would've taken precedence but evidently it didn't.  It's working now.</description>
    <pubDate>Mon, 18 Aug 2003 16:24:49 GMT</pubDate>
    <dc:creator>Jeddel Yeras</dc:creator>
    <dc:date>2003-08-18T16:24:49Z</dc:date>
    <item>
      <title>Error installing PHP...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-installing-php/m-p/3050886#M136485</link>
      <description>Hi All,&lt;BR /&gt;&lt;BR /&gt;I installed depots for Bison, Make, and GCC before attempting to compile PHP, yet I receive the following error:&lt;BR /&gt;&lt;BR /&gt;# cd php-4.3.2&lt;BR /&gt;# ./configure&lt;BR /&gt;loading cache ./config.cache&lt;BR /&gt;checking host system type... hppa2.0w-hp-hpux11.11&lt;BR /&gt;checking for gcc... no&lt;BR /&gt;checking for cc... cc&lt;BR /&gt;checking whether the C compiler (cc  ) works... yes&lt;BR /&gt;checking whether the C compiler (cc  ) is a cross-compiler... no&lt;BR /&gt;checking whether we are using GNU C... no&lt;BR /&gt;checking whether cc accepts -g... no&lt;BR /&gt;checking whether cc understands -c and -o together... yes&lt;BR /&gt;checking how to run the C preprocessor... cc -E&lt;BR /&gt;checking for AIX... no&lt;BR /&gt;checking if compiler supports -R... no&lt;BR /&gt;checking if compiler supports -Wl,-rpath,... no&lt;BR /&gt;checking for ranlib... ranlib&lt;BR /&gt;checking whether ln -s works... yes&lt;BR /&gt;checking for gawk... no&lt;BR /&gt;checking for mawk... no&lt;BR /&gt;checking for nawk... no&lt;BR /&gt;checking for awk... awk&lt;BR /&gt;checking for bison... no&lt;BR /&gt;checking for byacc... no&lt;BR /&gt;configure: warning: You will need bison if you want to regenerate the PHP parsers.&lt;BR /&gt;checking for flex... lex&lt;BR /&gt;checking for yywrap in -ll... yes&lt;BR /&gt;checking lex output file root... ./configure[2356]: lex:  not found.&lt;BR /&gt;configure: error: cannot find output from lex; giving up&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;What am I doing wrong??&lt;BR /&gt;&lt;BR /&gt;J.</description>
      <pubDate>Mon, 18 Aug 2003 12:40:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-installing-php/m-p/3050886#M136485</guid>
      <dc:creator>Jeddel Yeras</dc:creator>
      <dc:date>2003-08-18T12:40:44Z</dc:date>
    </item>
    <item>
      <title>Re: Error installing PHP...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-installing-php/m-p/3050887#M136486</link>
      <description>configure: warning: You will need bison if you want to regenerate the PHP parsers.&lt;BR /&gt;checking for flex... lex&lt;BR /&gt;checking for yywrap in -ll... yes&lt;BR /&gt;checking lex output file root... ./configure[2356]: lex: not found.&lt;BR /&gt;configure: error: cannot find output from lex; giving up&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;from this output looks like bison and lex are not installed, or, at least, their path is not in the PATH of the user issuing the instruction.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Check where are the executables and add their path to PATH and retry.&lt;BR /&gt;&lt;BR /&gt;     Massimo&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 18 Aug 2003 13:22:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-installing-php/m-p/3050887#M136486</guid>
      <dc:creator>Massimo Bianchi</dc:creator>
      <dc:date>2003-08-18T13:22:26Z</dc:date>
    </item>
    <item>
      <title>Re: Error installing PHP...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-installing-php/m-p/3050888#M136487</link>
      <description>See this installation page&lt;BR /&gt;&lt;BR /&gt;--&amp;gt;&lt;A href="http://info.ccone.at/INFO/PHP4/install.hpux.html" target="_blank"&gt;http://info.ccone.at/INFO/PHP4/install.hpux.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;   Roland</description>
      <pubDate>Mon, 18 Aug 2003 13:26:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-installing-php/m-p/3050888#M136487</guid>
      <dc:creator>RolandH</dc:creator>
      <dc:date>2003-08-18T13:26:09Z</dc:date>
    </item>
    <item>
      <title>Re: Error installing PHP...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-installing-php/m-p/3050889#M136488</link>
      <description>I thought I already added these to my PATH.  Both gcc and bison install to /usr/local/bin and this is listed in my PATH statement... is there a specific order on how this should appear?  beginning of the path, etc?</description>
      <pubDate>Mon, 18 Aug 2003 14:26:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-installing-php/m-p/3050889#M136488</guid>
      <dc:creator>Jeddel Yeras</dc:creator>
      <dc:date>2003-08-18T14:26:25Z</dc:date>
    </item>
    <item>
      <title>Re: Error installing PHP...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-installing-php/m-p/3050890#M136489</link>
      <description>Okay... I'm sorry for being such a goof.  I had added these to the global PATH instead of my own... I figured it would've taken precedence but evidently it didn't.  It's working now.</description>
      <pubDate>Mon, 18 Aug 2003 16:24:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-installing-php/m-p/3050890#M136489</guid>
      <dc:creator>Jeddel Yeras</dc:creator>
      <dc:date>2003-08-18T16:24:49Z</dc:date>
    </item>
    <item>
      <title>Re: Error installing PHP...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-installing-php/m-p/3050891#M136490</link>
      <description>Log in as user you will be installing as (root?), cd to the php-4.3.2 directory and type "which gcc", "which bison", etc. If these are not found (which, judging from the "checking for... no" responses above, they won't), add their pathname(s) to PATH for that user (at least temporarily).  Try "export PATH=$PATH:/usr/local/bin". Make a serious evaluation of the directory, its contents, and who can write to both before adding this to root's path variable.&lt;BR /&gt;&lt;BR /&gt;Hope it helps,&lt;BR /&gt;Gus</description>
      <pubDate>Mon, 18 Aug 2003 16:51:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-installing-php/m-p/3050891#M136490</guid>
      <dc:creator>Gus Larsson</dc:creator>
      <dc:date>2003-08-18T16:51:41Z</dc:date>
    </item>
    <item>
      <title>Re: Error installing PHP...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-installing-php/m-p/3050892#M136491</link>
      <description>Okay, bison and gcc are now installed and listed in my path statement.  I did the following:&lt;BR /&gt;&lt;BR /&gt;#cd php-4.3.2&lt;BR /&gt;#./configure --with-apxs=/opt/hpws/apache/bin/apxs --with-mysql&lt;BR /&gt;#make&lt;BR /&gt;&lt;BR /&gt;and received the following errors:&lt;BR /&gt;&lt;BR /&gt;# make&lt;BR /&gt;        /bin/sh /php-4.3.2/libtool --silent --preserve-dup-deps --mode=compile gcc -I/php-4.3.2/ext/mysql/libmysql -Iext/mysql/ -I/php-4.3.2/ext/mysql/ -DPHP_ATOM_INC -I/php-4.3.2/include -I/php-4.3.2/main -I/php-4.3.2 -I/php-4.3.2/Zend -I/php-4.3.2/ext/xml/expat  -I/php-4.3.2/TSRM  -g -O2  -prefer-pic -c /php-4.3.2/ext/mysql/php_mysql.c -o ext/mysql/php_mysql.lo &lt;BR /&gt;In file included from /usr/include/netdb.h:72,&lt;BR /&gt;                 from /php-4.3.2/ext/mysql/php_mysql.c:52:&lt;BR /&gt;/usr/include/sys/socket.h:193: error: conflicting types for `socklen_t'&lt;BR /&gt;/php-4.3.2/main/php.h:139: error: previous declaration of `socklen_t'&lt;BR /&gt;/usr/include/sys/socket.h:439: error: parse error before "sendfile"&lt;BR /&gt;/usr/include/sys/socket.h:440: error: parse error before "bsize_t"&lt;BR /&gt;/usr/include/sys/socket.h:441: error: parse error before "sendpath"&lt;BR /&gt;/usr/include/sys/socket.h:442: error: parse error before "bsize_t"&lt;BR /&gt;*** Error exit code 1&lt;BR /&gt;&lt;BR /&gt;Stop.&lt;BR /&gt;&lt;BR /&gt;I'm just curious... I've been to all the links regarding PHP installations... has anyone been able to successfully install PHP on their system?  This is a clean install of HP_UX11i (11.11) so I would have expected to have most of what I needed already bundled... especially something as widely used as PHP... so, am I missing something?&lt;BR /&gt;&lt;BR /&gt;Any suggestions would be greatly appreciated as I am about to put my head through a wall right now...&lt;BR /&gt;&lt;BR /&gt;Thanks!&lt;BR /&gt;&lt;BR /&gt;J.</description>
      <pubDate>Tue, 19 Aug 2003 00:52:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-installing-php/m-p/3050892#M136491</guid>
      <dc:creator>Jeddel Yeras</dc:creator>
      <dc:date>2003-08-19T00:52:48Z</dc:date>
    </item>
    <item>
      <title>Re: Error installing PHP...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-installing-php/m-p/3050893#M136492</link>
      <description>Hi,&lt;BR /&gt;I'm running PHP + mysql on HP-UX 11.00 (not 11.11 !) and it's working fine.&lt;BR /&gt;First of all which version of Apache are you using  (Apache 1.3.. or Apache 2...) ?&lt;BR /&gt;&lt;BR /&gt;if it's 1.3., then the best way is to compile Apache+PHP staticaly ...(Yes, you need Apache sources....). See the INSTALL file from the donnloaded file&lt;BR /&gt;&lt;BR /&gt;if it's 2.0., then you have to build it as a module (DSO), wich is a little more complicated (I did it also with a previous release of PHP).&lt;BR /&gt;use with-apxs2 command and not with-apxs...&lt;BR /&gt; &lt;BR /&gt;Search on the forum, i posted the way to build it some times....&lt;BR /&gt;&lt;BR /&gt;hth &lt;BR /&gt;Benoit</description>
      <pubDate>Tue, 19 Aug 2003 08:44:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-installing-php/m-p/3050893#M136492</guid>
      <dc:creator>benoit Bruckert</dc:creator>
      <dc:date>2003-08-19T08:44:55Z</dc:date>
    </item>
    <item>
      <title>Re: Error installing PHP...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-installing-php/m-p/3050894#M136493</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I'm sorry but I'm new to HP_UX... what's a DSO? and how do I build that?&lt;BR /&gt;&lt;BR /&gt;Also, I searched the forums but didnt' find anything that really answered my problem... do you have a particular post you can direct me to?&lt;BR /&gt;&lt;BR /&gt;Thank you very much for your help!&lt;BR /&gt;&lt;BR /&gt;J.</description>
      <pubDate>Tue, 19 Aug 2003 14:31:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-installing-php/m-p/3050894#M136493</guid>
      <dc:creator>Jeddel Yeras</dc:creator>
      <dc:date>2003-08-19T14:31:42Z</dc:date>
    </item>
    <item>
      <title>Re: Error installing PHP...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-installing-php/m-p/3050895#M136494</link>
      <description>Hi Jerel,&lt;BR /&gt;&lt;BR /&gt;if you need Apache with PHP you can download this software package. It is ready compiled by HP with mod_php4 module.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;   Roland&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo.pl?productNumber=HPUXWSATW100601" target="_blank"&gt;http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo.pl?productNumber=HPUXWSATW100601&lt;/A&gt;</description>
      <pubDate>Tue, 19 Aug 2003 15:13:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-installing-php/m-p/3050895#M136494</guid>
      <dc:creator>RolandH</dc:creator>
      <dc:date>2003-08-19T15:13:54Z</dc:date>
    </item>
    <item>
      <title>Re: Error installing PHP...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-installing-php/m-p/3050896#M136495</link>
      <description>Hi Roland,&lt;BR /&gt;&lt;BR /&gt;I have that installed, yet if I create a file with the following:&lt;BR /&gt;&lt;BR /&gt;phpinfo()&lt;BR /&gt;?&amp;gt;&lt;BR /&gt;&lt;BR /&gt;and place this in my htdocs folder i get nothing.  So this tells me php wasn't installed or not configured properly.  I did SWLIST and didn't see it listed among the packages installed on my system.  So, if it is embedded with HP's version of Apache... where is it installed and do I need to make any changes to my PATH in order for PHP scripts to work?&lt;BR /&gt;&lt;BR /&gt;Thanks!&lt;BR /&gt;&lt;BR /&gt;J.</description>
      <pubDate>Tue, 19 Aug 2003 16:26:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-installing-php/m-p/3050896#M136495</guid>
      <dc:creator>Jeddel Yeras</dc:creator>
      <dc:date>2003-08-19T16:26:20Z</dc:date>
    </item>
    <item>
      <title>Re: Error installing PHP...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-installing-php/m-p/3050897#M136496</link>
      <description>Hi,&lt;BR /&gt;In your PHP script you forgot the ";" at the end of the command :&lt;BR /&gt;phpinfo();&lt;BR /&gt;?&amp;gt;&lt;BR /&gt;&lt;BR /&gt;Concerning Compilation with apxs2 (As DSO module) these thread should help you :&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x32d6cdec06f1d61190050090279cd0f9,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x32d6cdec06f1d61190050090279cd0f9,00.html&lt;/A&gt;&lt;BR /&gt;and&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x531c36e69499d611abdb0090277a778c,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x531c36e69499d611abdb0090277a778c,00.html&lt;/A&gt;&lt;BR /&gt;versions concerned are old, I think that the newest should work better (I posted the changes i made in sources at php.net)&lt;BR /&gt;&lt;BR /&gt;Nota : With the built-in php, I think you have also to uncomment in the httpd.conf the php module to make it work :&lt;BR /&gt;LoadModule php4_module modules/libphp4.so&lt;BR /&gt;and&lt;BR /&gt;AddType application/x-httpd-php .php  &lt;BR /&gt;&lt;BR /&gt;To check httpd :&lt;BR /&gt;# ./httpd -v&lt;BR /&gt;Server version: Apache/2.0.44&lt;BR /&gt;Server built:   Feb  3 2003 14:50:55&lt;BR /&gt;# ./httpd -l&lt;BR /&gt;Compiled in modules:&lt;BR /&gt;  core.c&lt;BR /&gt;  mod_access.c&lt;BR /&gt;  mod_auth.c&lt;BR /&gt;  mod_include.c&lt;BR /&gt;  mod_log_config.c&lt;BR /&gt;  mod_env.c&lt;BR /&gt;  mod_setenvif.c&lt;BR /&gt;  prefork.c&lt;BR /&gt;  http_core.c&lt;BR /&gt;  mod_mime.c&lt;BR /&gt;  mod_status.c&lt;BR /&gt;  mod_autoindex.c&lt;BR /&gt;  mod_asis.c&lt;BR /&gt;  mod_cgi.c&lt;BR /&gt;  mod_negotiation.c&lt;BR /&gt;  mod_dir.c&lt;BR /&gt;  mod_imap.c&lt;BR /&gt;  mod_actions.c&lt;BR /&gt;  mod_userdir.c&lt;BR /&gt;  mod_alias.c&lt;BR /&gt;  mod_so.c&lt;BR /&gt;These config can change, but you need mostly mod_so.c to run php as DSO (Dynamic Share Object).&lt;BR /&gt;&lt;BR /&gt;And, as ever, read the INSTALL file from php to see all you have to do...&lt;BR /&gt;&lt;BR /&gt;hope that help.&lt;BR /&gt;Benoit</description>
      <pubDate>Wed, 20 Aug 2003 09:04:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-installing-php/m-p/3050897#M136496</guid>
      <dc:creator>benoit Bruckert</dc:creator>
      <dc:date>2003-08-20T09:04:58Z</dc:date>
    </item>
    <item>
      <title>Re: Error installing PHP...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-installing-php/m-p/3050898#M136497</link>
      <description>Benoit,&lt;BR /&gt;&lt;BR /&gt;You "rock" dude,&lt;BR /&gt;&lt;BR /&gt;Your suggestion: "Nota : With the built-in php, I think you have also to uncomment in the httpd.conf the php module to make it work :&lt;BR /&gt;LoadModule php4_module modules/libphp4.so"&lt;BR /&gt;&lt;BR /&gt;Fixed my issue.&lt;BR /&gt;&lt;BR /&gt;Thanks a million!&lt;BR /&gt;&lt;BR /&gt;J.</description>
      <pubDate>Wed, 20 Aug 2003 11:51:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-installing-php/m-p/3050898#M136497</guid>
      <dc:creator>Jeddel Yeras</dc:creator>
      <dc:date>2003-08-20T11:51:23Z</dc:date>
    </item>
    <item>
      <title>Re: Error installing PHP...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-installing-php/m-p/3050899#M136498</link>
      <description>Hi Jeddel,&lt;BR /&gt;&lt;BR /&gt;we all are happy that your problem is solved.&lt;BR /&gt;But could it be that you have somthing forgotten to do after that?!!!&lt;BR /&gt;&lt;BR /&gt;Do not forgett to assign points.&lt;BR /&gt;Please, the the forum etiquettes from Patrick Walleck.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;   Roland&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://66.34.90.71/ITRCForumsEtiquette/" target="_blank"&gt;http://66.34.90.71/ITRCForumsEtiquette/&lt;/A&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 20 Aug 2003 12:03:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-installing-php/m-p/3050899#M136498</guid>
      <dc:creator>RolandH</dc:creator>
      <dc:date>2003-08-20T12:03:15Z</dc:date>
    </item>
    <item>
      <title>Re: Error installing PHP...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-installing-php/m-p/3050900#M136499</link>
      <description>I thought I had... I'm sorry... I'm assigning them on this post... let me know if they don't go through.&lt;BR /&gt;&lt;BR /&gt;Thanks again!&lt;BR /&gt;&lt;BR /&gt;J.</description>
      <pubDate>Wed, 20 Aug 2003 12:28:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-installing-php/m-p/3050900#M136499</guid>
      <dc:creator>Jeddel Yeras</dc:creator>
      <dc:date>2003-08-20T12:28:22Z</dc:date>
    </item>
  </channel>
</rss>

