RE: [PHP-DEV] Inclusion of PHP LiteSpeed SAPI in the standard PHP distribution?
| From: | Uwe Schindler | Date: | Tue, 25 Mar 2008 19:43:29 +0000 |
| Subject: | RE: [PHP-DEV] Inclusion of PHP LiteSpeed SAPI in the standard PHP distribution? | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-36516@lists.php.net to get a copy of this message | ||
> > > As of php 5.3, it is possible to have a per directory configuration,
> > > either using the system php.ini or using a .htaccess-like php.ini
> > > (.user.ini). The concept is based on what you have in htscanner but
> in
> > > a much better way (same syntax than in any php.ini). The goal is to
> > > enable this feature in all SAPIs.
>
> > I am sure the new per directory configuration should work with
> LiteSpeed
> > SAPI. However, if it needs to scan each directory repeatedly for each
> > request, it will slow down PHP even further.
>
> It is cached using a user defined ttl.
Hi Pierre,
How do I enable another SAPIs for this per-dir ini files? How are they
named? Found no documentation about it.
I would like to upgrade my NSAPI module (Sun Webservers) for it. As Sun
Webservers do not know .htaccess files, PHP is hard to configure for
specific directories (it is possible, but you must map all ini entries as
extra parameters in the php5_execute NSAPI call, which can be made per-dir,
in the central config files). A per-dir config by "magic files" like
".php.ini" in script folder would be good.
Is there a generic solution for SAPIs?
Uwe