Welcome! Log In Create A New Profile

Advanced

File Includes in FPM in php-5.3.3!?

Posted by Thomas Fritz 
Thomas Fritz
File Includes in FPM in php-5.3.3!?
July 25, 2010 05:42AM
Hi i just read that fpm in php-5.3.3 supports file includes. So something
like this will workd "Include configs/*.conf"?
Or what is the syntax?
Is this anywhere documented?


Kind regards



---

*Thomas FRITZ*
*web* http://fritzthomas.com
*twitter* http://twitter.com/thomasf



2010/7/24 Dayo <dakanji@gmail.com>

> Yes, I meant to ask "will it be possible ....?".
>
> Great that it can. Means setting up for virtual hosts will be
> straightforward. Will just add an "include pool/*.pool" or similar.
>
> Looking forward to going to 5.3.3.
>
> Thanks
>
>
>
> On Jul 24, 8:15 pm, Michael Shadle <mike...@gmail.com> wrote:
> > You asking if php 5.3.3 has include support in the conf? Yes. :)
> >
> > On Jul 24, 2010, at 10:07 AM, Dayo <daka...@gmail.com> wrote:
> >
> >
> >
> > > Noticed the patch is up ... Thanks.
> >
> > > Separate issue ... Will be possible to include other files into the
> > > new fpm conf as in nginx.
>
Jérôme Loyet
Re: File Includes in FPM in php-5.3.3!?
July 25, 2010 06:38AM
2010/7/25 Thomas Fritz <fritztho@gmail.com>:
> Hi i just read that fpm in php-5.3.3 supports file includes. So something
> like this will workd "Include configs/*.conf"?
> Or what is the syntax?
> Is this anywhere documented?

all configuration items are documented in the default conf file. You
can check here:
http://svn.php.net/viewvc/php/php-src/branches/PHP_5_3/sapi/fpm/php-fpm.conf.in?revision=299932&view=markup

You have also a page on the PHP doc:
http://www.php.net/manual/en/install.fpm.configuration.php but it
needs to be completed.

to answer your question: yes it'll work with config/*.conf (only if
glob(3) is available on your system which should not be a problem)

>
> Kind regards
>
>
>
> ---
> Thomas FRITZ
> web http://fritzthomas.com
> twitter http://twitter.com/thomasf
>
>
> 2010/7/24 Dayo <dakanji@gmail.com>
>>
>> Yes, I meant to ask "will it be possible ....?".
>>
>> Great that it can.  Means setting up for virtual hosts will be
>> straightforward. Will just add an "include pool/*.pool" or similar.
>>
>> Looking forward to going to 5.3.3.
>>
>> Thanks
>>
>>
>>
>> On Jul 24, 8:15 pm, Michael Shadle <mike...@gmail.com> wrote:
>> > You asking if php 5.3.3 has include support in the conf? Yes. :)
>> >
>> > On Jul 24, 2010, at 10:07 AM, Dayo <daka...@gmail.com> wrote:
>> >
>> >
>> >
>> > > Noticed the patch is up ... Thanks.
>> >
>> > > Separate issue ... Will be possible to include other files into the
>> > > new fpm conf as in nginx.
>
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 112
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready