<?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: Apache and PHP - startup problem in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/apache-and-php-startup-problem/m-p/3183951#M163398</link>
    <description>LD_LIBARAY_PATH is a Sun parameter.&lt;BR /&gt;&lt;BR /&gt;SH_LIBRARY_PATH needs to include the shared libraries used to build the apache distribution.&lt;BR /&gt;&lt;BR /&gt;I'm assuming you used the Utah Depot because you wanted php and that functionality seems absent from the HP releases.&lt;BR /&gt;&lt;BR /&gt;Still Apache 1.3.x is a product in wide use being gradually replaced by 2.0.x&lt;BR /&gt;&lt;BR /&gt;I still have the old one on one last server and its days are numbered.&lt;BR /&gt;&lt;BR /&gt;I went with the latest HP Apache distribution for 2.0.x because the very same release you used gave me problems. I cut my losses and went to 2.0.X&lt;BR /&gt;&lt;BR /&gt;SEP</description>
    <pubDate>Mon, 09 Feb 2004 00:03:20 GMT</pubDate>
    <dc:creator>Steven E. Protter</dc:creator>
    <dc:date>2004-02-09T00:03:20Z</dc:date>
    <item>
      <title>Apache and PHP - startup problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/apache-and-php-startup-problem/m-p/3183948#M163395</link>
      <description>Dear experts,&lt;BR /&gt;&lt;BR /&gt;we have just downloaded and installed Apache+Php from:&lt;BR /&gt;&lt;A href="http://hpux.cs.utah.edu/hppd/hpux/Networking/WWW/apache+php-1327.430/" target="_blank"&gt;http://hpux.cs.utah.edu/hppd/hpux/Networking/WWW/apache+php-1327.430/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;We have also downloaded and installed all the required Run-time dependencies, namely:&lt;BR /&gt;db expat freetype gd gettext jpeg libiconv libpng mysql ncurses openssl perl xpm zlib &lt;BR /&gt;(as well as other underlying Run-time and Build-time dependencies)&lt;BR /&gt;&lt;BR /&gt;Now, when starting the HTTP server processes, we are getting the following errors:&lt;BR /&gt;i was trying to start the http server on port 8080 using the root user.&lt;BR /&gt;&lt;BR /&gt;I now switched to another user and am getting the following error messages:&lt;BR /&gt;=============================================&lt;BR /&gt;usr/local/apache+php/bin &amp;gt; ./apachectl start&lt;BR /&gt;/usr/lib/dld.sl: Unresolved symbol: jpeg_resync_to_restart (code) from /usr/local/apache+php/bin/httpd&lt;BR /&gt;./apachectl[71]: 684 Abort&lt;BR /&gt;./apachectl start: httpd could not be started &lt;BR /&gt;=============================================&lt;BR /&gt;&lt;BR /&gt;The last lines from my swlist:&lt;BR /&gt;=============================================&lt;BR /&gt;  apache+php        1327.430       apache+php&lt;BR /&gt;  autoconf             2.57        autoconf&lt;BR /&gt;  bison                1.875       bison&lt;BR /&gt;  bzip2                1.0.2       bzip2&lt;BR /&gt;  db                   4.2.52      db&lt;BR /&gt;  expat                1.95.7      expat&lt;BR /&gt;  flex                 2.5.4a      flex&lt;BR /&gt;  freetype             2.1.4       freetype&lt;BR /&gt;  gawk                 3.1.3       gawk&lt;BR /&gt;  gettext              0.14.1      gettext&lt;BR /&gt;  jpeg                 6b          jpeg&lt;BR /&gt;  libiconv             1.9.2       libiconv&lt;BR /&gt;  libpng               1.2.5       libpng&lt;BR /&gt;  lsof                   4.70      lsof&lt;BR /&gt;  m4                     1.4       m4&lt;BR /&gt;  make                   3.80      make&lt;BR /&gt;  mysql                4.0.15a     mysql&lt;BR /&gt;  ncurses                5.3       ncurses&lt;BR /&gt;  openssl              0.9.7c      openssl&lt;BR /&gt;  pdftohtml              0.34      pdftohtml&lt;BR /&gt;  perl                 5.8.3       perl&lt;BR /&gt;  tar                 1.13.25      tar&lt;BR /&gt;  texinfo                4.5       texinfo&lt;BR /&gt;  xpm                    3.4k      xpm&lt;BR /&gt;  zlib                 1.1.4       zlib&lt;BR /&gt;=============================================&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;NB. This thread is linked to my previous one at: &lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=422488" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=422488&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;how do i troubleshoot this problem?&lt;BR /&gt;&lt;BR /&gt;thank you for your replies.&lt;BR /&gt;best regards&lt;BR /&gt;Yogeeraj</description>
      <pubDate>Thu, 05 Feb 2004 07:54:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/apache-and-php-startup-problem/m-p/3183948#M163395</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2004-02-05T07:54:43Z</dc:date>
    </item>
    <item>
      <title>Re: Apache and PHP - startup problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/apache-and-php-startup-problem/m-p/3183949#M163396</link>
      <description>Hi Yogee:&lt;BR /&gt;&lt;BR /&gt;Some thoughts for troubleshooting&lt;BR /&gt;&lt;BR /&gt;1. Did you check proper settings for LD_LIBRARY_PATH and SHLIB_PATH?&lt;BR /&gt;&lt;BR /&gt;2. I think before the build the files were used UID -2. OR what are following Directive values in httpd.conf&lt;BR /&gt;&lt;BR /&gt;User &lt;BR /&gt;Group&lt;BR /&gt;&lt;BR /&gt;3. Any errors logged in error.log?&lt;BR /&gt;&lt;BR /&gt;-Vijay</description>
      <pubDate>Thu, 05 Feb 2004 08:15:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/apache-and-php-startup-problem/m-p/3183949#M163396</guid>
      <dc:creator>Vijaya Kumar_3</dc:creator>
      <dc:date>2004-02-05T08:15:50Z</dc:date>
    </item>
    <item>
      <title>Re: Apache and PHP - startup problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/apache-and-php-startup-problem/m-p/3183950#M163397</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;replies to Vijay's questions!&lt;BR /&gt;===============================&lt;BR /&gt;&lt;BR /&gt;=================================&lt;BR /&gt;1. LD_LIBRARY_PATH and SHLIB_PATH&lt;BR /&gt;=================================&lt;BR /&gt;what should they be?&lt;BR /&gt;&lt;BR /&gt;==============================&lt;BR /&gt;2. Settings for User and Group&lt;BR /&gt;==============================&lt;BR /&gt;root-L1000 #grep User /usr/local/apac*/etc/httpd.conf&lt;BR /&gt;# User/Group: The name (or #number) of the user/group to run httpd as.&lt;BR /&gt;#  . On SCO (ODT 3) use "User nouser" and "Group nogroup".&lt;BR /&gt;User nobody&lt;BR /&gt;# UserDir: The name of the directory which is appended onto a user's home&lt;BR /&gt;    UserDir public_html&lt;BR /&gt;# Control access to UserDir directories.  The following is an example&lt;BR /&gt;LogFormat "%h %l %u %t \"%r\" %&amp;gt;s %b \"%{Referer}i\" \"%{User-Agent}i\"" combine&lt;BR /&gt;d&lt;BR /&gt;LogFormat "%{User-agent}i" agent&lt;BR /&gt;root-L1000 #grep Group /usr/local/apac*/etc/httpd.conf&lt;BR /&gt;# User/Group: The name (or #number) of the user/group to run httpd as.&lt;BR /&gt;#  . On SCO (ODT 3) use "User nouser" and "Group nogroup".&lt;BR /&gt;#  NOTE that some kernels refuse to setgid(Group) or semctl(IPC_SET)&lt;BR /&gt;#  when the value of (unsigned)Group is above 60000;&lt;BR /&gt;#  don't use Group www on these systems!&lt;BR /&gt;Group www&lt;BR /&gt;root-L1000 #&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;================&lt;BR /&gt;3. The error_log&lt;BR /&gt;================&lt;BR /&gt;&lt;BR /&gt;#more /usr/local/apa*/adm/error_log&lt;BR /&gt;[Thu Feb  5 12:58:42 2004] [crit] (226)Address already in use: make_sock: could not bind to port 80&lt;BR /&gt;[Thu Feb  5 13:01:49 2004] [alert] (22)Invalid argument: setuid: unable to change to uid: -2&lt;BR /&gt;[Thu Feb  5 13:01:49 2004] [alert] (22)Invalid argument: setuid: unable to change to uid: -2&lt;BR /&gt;[Thu Feb  5 13:01:49 2004] [alert] (22)Invalid argument: setuid: unable to change to uid: -2&lt;BR /&gt;[Thu Feb  5 13:01:49 2004] [alert] (22)Invalid argument: setuid: unable to change to uid: -2&lt;BR /&gt;[Thu Feb  5 13:01:49 2004] [alert] (22)Invalid argument: setuid: unable to change to uid: -2&lt;BR /&gt;[Thu Feb  5 13:01:49 2004] [notice] Apache/1.3.27 (Unix) PHP/4.3.0 configured -- resuming normal operations&lt;BR /&gt;[Thu Feb  5 13:01:49 2004] [notice] Accept mutex: fcntl (Default: fcntl)&lt;BR /&gt;[Thu Feb  5 13:01:49 2004] [alert] Child 419 returned a Fatal error...&lt;BR /&gt;Apache is exiting!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Further guidances will be most welcomed.&lt;BR /&gt;&lt;BR /&gt;best regards&lt;BR /&gt;yogeeraj</description>
      <pubDate>Sun, 08 Feb 2004 23:47:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/apache-and-php-startup-problem/m-p/3183950#M163397</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2004-02-08T23:47:59Z</dc:date>
    </item>
    <item>
      <title>Re: Apache and PHP - startup problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/apache-and-php-startup-problem/m-p/3183951#M163398</link>
      <description>LD_LIBARAY_PATH is a Sun parameter.&lt;BR /&gt;&lt;BR /&gt;SH_LIBRARY_PATH needs to include the shared libraries used to build the apache distribution.&lt;BR /&gt;&lt;BR /&gt;I'm assuming you used the Utah Depot because you wanted php and that functionality seems absent from the HP releases.&lt;BR /&gt;&lt;BR /&gt;Still Apache 1.3.x is a product in wide use being gradually replaced by 2.0.x&lt;BR /&gt;&lt;BR /&gt;I still have the old one on one last server and its days are numbered.&lt;BR /&gt;&lt;BR /&gt;I went with the latest HP Apache distribution for 2.0.x because the very same release you used gave me problems. I cut my losses and went to 2.0.X&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 09 Feb 2004 00:03:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/apache-and-php-startup-problem/m-p/3183951#M163398</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2004-02-09T00:03:20Z</dc:date>
    </item>
    <item>
      <title>Re: Apache and PHP - startup problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/apache-and-php-startup-problem/m-p/3183952#M163399</link>
      <description>Dear SEP,&lt;BR /&gt;&lt;BR /&gt;thank you for your reply.&lt;BR /&gt;&lt;BR /&gt;If fact, does not really matter which version of Apache we are using. Most important is the PHP. This is becoming a real nightmare base on all the runtime and build time dependencies that need to be configured before building the PHP from the source.&lt;BR /&gt;&lt;BR /&gt;I already have HPWS on my production server, i guess i will have to download the PHP Source and spend some tough time rebuilding that....&lt;BR /&gt;&lt;BR /&gt;further guidances will be most appreciated.&lt;BR /&gt;&lt;BR /&gt;best regards&lt;BR /&gt;Yogeeraj&lt;BR /&gt;</description>
      <pubDate>Mon, 09 Feb 2004 23:07:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/apache-and-php-startup-problem/m-p/3183952#M163399</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2004-02-09T23:07:30Z</dc:date>
    </item>
    <item>
      <title>Re: Apache and PHP - startup problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/apache-and-php-startup-problem/m-p/3183953#M163400</link>
      <description>Hi,&lt;BR /&gt;Here is what versions i have used for building my own PHP+apache+informix+ldap+ftp..&lt;BR /&gt;&lt;BR /&gt;binutils                      2.11.2         binutils  &lt;BR /&gt;bison                         1.875          bison     &lt;BR /&gt;flex                          2.5.4a         flex      &lt;BR /&gt;freetype                      2.1.4          freetype  &lt;BR /&gt;gcc                           3.2.3          gcc       &lt;BR /&gt;gd                            1.8.4          gd        &lt;BR /&gt;jpeg                          6b             jpeg      &lt;BR /&gt;libpng                        1.2.5          libpng    &lt;BR /&gt;openldap                      2.0.11         openldap  &lt;BR /&gt;perl                          5.6.1          perl      &lt;BR /&gt;xpm                           3.4k           xpm       &lt;BR /&gt;zlib                          1.1.4          zlib      &lt;BR /&gt;&lt;BR /&gt;If you need more regarding downloading them or compiling syntax let me know..by the way apache is 1.3.26 and php version i am using is 4.3.2&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;Rajeev</description>
      <pubDate>Mon, 09 Feb 2004 23:20:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/apache-and-php-startup-problem/m-p/3183953#M163400</guid>
      <dc:creator>Rajeev  Shukla</dc:creator>
      <dc:date>2004-02-09T23:20:00Z</dc:date>
    </item>
    <item>
      <title>Re: Apache and PHP - startup problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/apache-and-php-startup-problem/m-p/3183954#M163401</link>
      <description>hi Rajeev,&lt;BR /&gt;&lt;BR /&gt;I would be grateful if you can help me through.&lt;BR /&gt;&lt;BR /&gt;if i have:&lt;BR /&gt;  hpuxwsApache   A.1.0.10.01    HP-UX Apache-based Web Server&lt;BR /&gt;  hpuxwsTomcat   A.1.0.10.01    HP-UX Tomcat-based Servlet Engine&lt;BR /&gt;  hpuxwsWebmin   A.1.0.05.02    HP-UX Webmin-based Admin&lt;BR /&gt;&lt;BR /&gt;How should i go along integrating PHP 4.3.2 with this setup?&lt;BR /&gt;&lt;BR /&gt;thank you in advance.&lt;BR /&gt;&lt;BR /&gt;best regards&lt;BR /&gt;Yogeeraj</description>
      <pubDate>Mon, 09 Feb 2004 23:40:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/apache-and-php-startup-problem/m-p/3183954#M163401</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2004-02-09T23:40:59Z</dc:date>
    </item>
    <item>
      <title>Re: Apache and PHP - startup problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/apache-and-php-startup-problem/m-p/3183955#M163402</link>
      <description>Hi Yogeeraj,&lt;BR /&gt;&lt;BR /&gt;To integrate PHP with the existing setup, you would require their source code, which i am affraid because HP gives them as Depot files. So the easiest way to get going would be to download the apache's source code from the HP-UX porting center, configure php with apache and them make and install, this setup will definately work.</description>
      <pubDate>Tue, 10 Feb 2004 00:45:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/apache-and-php-startup-problem/m-p/3183955#M163402</guid>
      <dc:creator>Rajeev  Shukla</dc:creator>
      <dc:date>2004-02-10T00:45:46Z</dc:date>
    </item>
    <item>
      <title>Re: Apache and PHP - startup problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/apache-and-php-startup-problem/m-p/3183956#M163403</link>
      <description>Hi Yogee,&lt;BR /&gt;&lt;BR /&gt;I think your main aim is to install Apache with PHP. Why dont you download apache and PHP source and do a build from the scratch.&lt;BR /&gt;&lt;BR /&gt;Option1:&lt;BR /&gt;&lt;BR /&gt;From the post you typed above, seems to be some build issue with HP-UX. I am sure you have already required tools installed. Why dont you you build your own? I know it is little bit tedious process... anyway follow this procedure and see how it goes.&lt;BR /&gt;&lt;BR /&gt;1. Download Apache source from &lt;A href="http://httpd.apache.org" target="_blank"&gt;http://httpd.apache.org&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;When you build apache, there are some specific options to be enabled when you do a ./configure. You may require DSO support, i hope.&lt;BR /&gt;&lt;BR /&gt;2. Download PHP source from &lt;BR /&gt;&lt;A href="http://www.php.net/releases.php" target="_blank"&gt;http://www.php.net/releases.php&lt;/A&gt; and build it with Apache&lt;BR /&gt;&lt;BR /&gt;Option 2:&lt;BR /&gt;&lt;BR /&gt;Use the apache delivered with HP and enable the PHP module support&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Vijay&lt;BR /&gt;</description>
      <pubDate>Tue, 10 Feb 2004 00:46:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/apache-and-php-startup-problem/m-p/3183956#M163403</guid>
      <dc:creator>Vijaya Kumar_3</dc:creator>
      <dc:date>2004-02-10T00:46:05Z</dc:date>
    </item>
    <item>
      <title>Re: Apache and PHP - startup problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/apache-and-php-startup-problem/m-p/3183957#M163404</link>
      <description>hi Rajeev, Vijay,&lt;BR /&gt;&lt;BR /&gt;Will this work?&lt;BR /&gt;&lt;BR /&gt;1. Download PHP 4.3.2 source&lt;BR /&gt;2. Rebuild it&lt;BR /&gt;3. enable the PHP module support in my hpws&lt;BR /&gt;&lt;BR /&gt;If yes, how?&lt;BR /&gt;&lt;BR /&gt;thank you again for your replies&lt;BR /&gt;&lt;BR /&gt;best regards&lt;BR /&gt;Yogeeraj</description>
      <pubDate>Tue, 10 Feb 2004 01:13:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/apache-and-php-startup-problem/m-p/3183957#M163404</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2004-02-10T01:13:01Z</dc:date>
    </item>
    <item>
      <title>Re: Apache and PHP - startup problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/apache-and-php-startup-problem/m-p/3183958#M163405</link>
      <description>I think It should if it is enabled with apxs ( apache extension script support )&lt;BR /&gt;&lt;BR /&gt;Just check your apache distribution, having "apxs"? I am not sure about hpws.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Vijay</description>
      <pubDate>Tue, 10 Feb 2004 01:36:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/apache-and-php-startup-problem/m-p/3183958#M163405</guid>
      <dc:creator>Vijaya Kumar_3</dc:creator>
      <dc:date>2004-02-10T01:36:25Z</dc:date>
    </item>
    <item>
      <title>Re: Apache and PHP - startup problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/apache-and-php-startup-problem/m-p/3183959#M163406</link>
      <description>Just found an URL for you.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.onlamp.com/pub/a/php/2001/03/15/php_admin.html" target="_blank"&gt;http://www.onlamp.com/pub/a/php/2001/03/15/php_admin.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 10 Feb 2004 01:39:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/apache-and-php-startup-problem/m-p/3183959#M163406</guid>
      <dc:creator>Vijaya Kumar_3</dc:creator>
      <dc:date>2004-02-10T01:39:36Z</dc:date>
    </item>
    <item>
      <title>Re: Apache and PHP - startup problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/apache-and-php-startup-problem/m-p/3183960#M163407</link>
      <description>Hi Yogeeraj,&lt;BR /&gt;&lt;BR /&gt;Follow this procedure to build your own apache with php.&lt;BR /&gt;1. Download all the dependencies for php and apache like gcc, bison, binutils etc..i posted before.&lt;BR /&gt;2. untar the source code of apache and php&lt;BR /&gt;3. cd to apache source directory then&lt;BR /&gt;4. configure --prefix=/opt/apache &lt;BR /&gt;5. cd to php source directory and &lt;BR /&gt;6. configure --with-informix --with-apache=../apache.1.3.x&lt;BR /&gt;7. make and then make install&lt;BR /&gt;8. go to apache directory again and configure --perfix=/opt/apache --activate-module=src/modules/php4/libphp4.a&lt;BR /&gt;9. make and then make install&lt;BR /&gt;&lt;BR /&gt;this will install your apache in /opt/apache with php</description>
      <pubDate>Tue, 10 Feb 2004 18:34:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/apache-and-php-startup-problem/m-p/3183960#M163407</guid>
      <dc:creator>Rajeev  Shukla</dc:creator>
      <dc:date>2004-02-10T18:34:21Z</dc:date>
    </item>
  </channel>
</rss>

