Justtechjobs.com Find a programming school near you






Online Campus Both


php-general | 2000071

Re: [PHP] Re: [PHP-INST] Problems w/ APXS script From: cnb (cnb <email protected>)
Date: 07/10/00

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 <email protected>>
> To: "php-general" <php-general <email protected>>; "Gary Huntress"
> <ghuntress <email protected>>
> 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 <email protected>>
> > To: <php-install <email protected>>
> > 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 <email protected> Webmaster. ICQ : 7616948

FreeOS.com - The Resource Center for Free Operating Systems. ------------------------------------------------------------

-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>