RE: [PHP-INST] Re: PHP and HP-UNix
| From: | Mark Newnham | Date: | Tue, 23 Oct 2001 20:34:28 +0000 |
| Subject: | RE: [PHP-INST] Re: PHP and HP-UNix | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-4721@lists.php.net to get a copy of this message | ||
PHP/Apache compiles ok under HPUX. here is my configure
PHP
./configure --with-iodbc=/opt/openlink4/odbcsdk --without-mysql
--with-pdflib=/usr/local --without-gd --with-apache=../apache_1.3.20
--enable-trans-sid --with-xml --with-imap --enable-track-vars
Apache
./configure --prefix=/opt/apache --datadir=/opt/apache/lib
--logfiledir=/opt/apache/adm --runtimedir=/opt/apache/adm
--sysconfdir=/opt/apache/etc --activate-module=src/modules/php4/libphp4.a
--enable-module=imap
Also, heres a note from httpd.conf that might be relevent
#
# User/Group: The name (or #number) of the user/group to run httpd as.
# . On SCO (ODT 3) use "User nouser" and "Group nogroup".
# . On HPUX you may not be able to use shared memory as nobody, and the
# suggested workaround is to create a user www and use that user.
# NOTE that some kernels refuse to setgid(Group) or semctl(IPC_SET)
# when the value of (unsigned)Group is above 60000;
# don't use Group nogroup on these systems!
> -----Original Message-----
> From: Michael Chan [mailto:scrub@starcd.com]
> Sent: Tuesday, October 23, 2001 11:23 AM
> To: php-install@lists.php.net
> Subject: [PHP-INST] Re: PHP and HP-UNix
>
>
> Hi, I am in the same boat. I've compiled apache as an oracle
> user and php as
> root user, but after editing httpd.conf file for php and
> restarting it, it
> cored on me. Do you think I should have compiled php as a
> regular user?
> Thanks.
>
>
> "Brian Mauter" <maute001@bama.ua.edu> wrote in message
> news:000a01c157d1$35ad8470$0b00a8c0@godfather...
> > Hi, I think the reason behind all of this is that I cannot
> find where in
> the
> > httpd.conf file you actually reference the module. You
> should have these
> > two lines in conf file somewhere:
> > LoadModule php_module lib/modules/lib_php4.so
> > AddModule mod_php4.c
> >
> > You'll see sections near the top. Verify that the files do
> exist in those
> > paths and then put each line in the similar section
> (preferably at the end
> > of each section), then restart Apache. You should then be set.
> >
> > Good luck,
> > -Brian
> >
> > -----Original Message-----
> > From: amacar01@uoguelph.ca [mailto:amacar01@uoguelph.ca]
> > Sent: Thursday, October 18, 2001 7:19 AM
> > To: Brian Mauter
> > Subject: RE: PHP and HP-UNix
> >
> >
> > Hi Brian,
> >
> > Please find attached my httpd.conf file.
> >
> > Thanks for the idea.
> >
> > Andrew
> >
> > Quoting Brian Mauter <maute001@bama.ua.edu>:
> >
> > > Why don't you include your httpd.conf file? I'm betting
> that there is
> > some
> > > small error in it that is preventing it from working for you.
> > >
> > > -Brian
> > >
> > > -----Original Message-----
> > > From: amacar01@uoguelph.ca [mailto:amacar01@uoguelph.ca]
> > > Sent: Wednesday, October 17, 2001 3:40 PM
> > > To: php-install@lists.php.net
> > > Subject: PHP and HP-UNix
> > >
> > >
> > > Hello,
> > >
> > > If anyone has PHP 4.04 was statically or dynamically
> installed with
> Apache
> > > ver
> > > 1.3.20 on HP-Unix could you let me know. The reason being
> is I am still
> > > trying
> > > to figure out why PHP is not being interpreted (basically no PHP
> commands
> > > work)
> > > even though Apache and PHP were complied was succesfully.
> > >
> > > Any help would be greatly appreciated.
> > >
> > > Thanks
> > >
> > > Andrew
> > >
> >
>
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-install-unsubscribe@lists.php.net
> For additional commands, e-mail: php-install-help@lists.php.net
> To contact the list administrators, e-mail:
> php-list-admin@lists.php.net
>