Re: Re: Problems w/ APXS script
| From: | cnb | Date: | Mon, 10 Jul 2000 11:17:12 +0000 |
| Subject: | Re: Re: Problems w/ APXS script | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-5683@lists.php.net to get a copy of this message | ||
Only one difference in the FAQ and your setup.
Since you're installing with apache in /usr/local the stuff in your apxs
would not look like what's in the FAQ below.
my $CFG_LIBEXECDIR = '/usr/lib/apache'; # substituted via APACI
but like,
my $CFG_LIBEXECDIR = '/usr/local/apache/wherever_modules_dir_is';
assuming you've changed that, does your "make" succeed despite that error?
If it does you could just "make install" and it would setup PHP lib stuff
in /usr/local and if the PHP module has not been correctly copied into
the modules directory move it there manually and activate it in your
httpd.conf
# cp libs/libphp4.so /usr/local/apache/modules_dir
Refer to how other modules are referred to in http.conf for activation.
- cnb.
On Sun, 9 Jul 2000, Gary Huntress wrote:
> the script is already 0755 and owned by root.
>
> ----- Original Message -----
> From: "Mark A Mucha" <mmucha@cfl.rr.com>
> To: "php-general" <php-general@lists.php.net>; "Gary Huntress"
> <ghuntress@mediaone.net>
> Sent: Sunday, July 09, 2000 5:14 PM
> Subject: Re: [PHP-INST] Problems w/ APXS script
>
>
> > chmod the script 0755, that should fix the problem
> >
> > ----- Original Message -----
> > From: "Gary Huntress" <ghuntress@mediaone.net>
> > To: <php-install@lists.php.net>
> > Sent: Sunday, July 09, 2000 5:01 PM
> > Subject: [PHP-INST] Problems w/ APXS script
> >
> >
> > I'm trying to install php4 and apache 1.3.12. I've built and installed
> > apache with mod_so and everything on that end seems to be okay. However,
> > I'm getting an error when I try to build php4 with
> > "./configure --without-mysql --with-apxs=/usr/local/apache/bin/apxs".
> >
> > I get the error that my apxs script is "broken" and that I should check
> the
> > FAQ at php.net. I have done that and looked for the lines specified by
> the
> > FAQ (http://www.php.net/FAQ.php#6.11) everything in my apxs script
> *seems*
> > ok (not that I understand it very well though)
> >
> > Sorry that I can't supply much more information...I'm not really sure what
> > is relevant (oh...a Redhat box running 2.2.13)
> >
> > Regards,
> >
> > Gary H.
> >
> >
>
>
>
--
Chandrashekhar Bhosle. Email: cnb@freeos.com
Webmaster. ICQ : 7616948
FreeOS.com - The Resource Center for Free Operating Systems.
------------------------------------------------------------