Re: auto_prepend_file on PHP 4.0
| From: | Rasmus Lerdorf | Date: | Tue, 01 Aug 2000 00:04:30 +0000 |
| Subject: | Re: auto_prepend_file on PHP 4.0 | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-9319@lists.php.net to get a copy of this message | ||
What exactly is confusing you? This is what I tend to use:
<IfModule mod_php3.c>
php3_include_path .:./include:../include
</IfModule>
<IfModule mod_php4.c>
php_value include_path .:./include:../include:..:../..
</IfModule>
-Rasmus
On Mon, 31 Jul 2000, Beltran Cambronero wrote:
> Hi Rasmus,
>
> That's what I've used to configure PHP4.0. Do you know where I can find
> some configuration examples??
>
> Thanks,
> Beltran
>
>
>
> On Mon, 31 Jul 2000, Rasmus Lerdorf wrote:
> > Please read: http://www.php.net/manual/configuration.php
> >
> > On Mon, 31 Jul 2000, Beltran Cambronero wrote:
> >
> > > Hi,
> > >
> > > I'm having a hard time configuring auto_prepend_file on PHP4.0.
> > >
> > > Before I was using PHP3.0 and it was working fine, I had a configuration
> > > line in the http.conf file like:
> > >
> > > <Directory "/usr/local/apache/htdocs/sales">
> > > php3_auto_prepend_file /usr/local/apache/htdocs/sales/logon.php3
> > > </Directory>
> > >
> > > so, every time, I access the directory /usr/local/apache/htdocs/sales it
> > > will be loaded first the file logon.php3.
> > >
> > > The command used, "php3_auto_prepend_file", was defined in the php3
> > > module mod_php3.c loaded by httpd.
> > >
> > >
> > > Now, in PHP4.0, there is no "auto_prepend_file" command in the mod_php4.c
> > > loaded by httpd.
> > >
> > >
> > > Thanks,
> > > Beltran Cambronero
> > >
> > >
> > >
> >
>
> ---------------------------------------------------------------------
> Beltran Cambronero e-mail: beltran@cyclades.com
> Technical Support Manager phone:... (510)770-9727 x258
> Cyclades Corporation fax:.......... (510)770-0355
> ---------------------------------------------------------------------
>
>