|
Posted by Jerry Stuckle on 10/27/07 15:02
AnrDaemon wrote:
> Greetings, Jerry Stuckle.
> In reply to Your message dated Saturday, October 27, 2007, 18:15:16,
>
>> I always use php.ini to set the basic commands. I'll use the httpd.conf
>> to modify specific directories for specific commands, but that's all.
>
>> It's stupid to load all of your configuration stuff in httpd.conf. And
>> even worse to put it in .htaccess!
>
> We're speaking about specific needs (say, handling dynamic signatures and file
> downloads).
>
> Why I said
>
>>> Use php-apache2handler.ini or php-apache2filter.ini (depends on which SAPI You
>>> use) to create default environment.
>
>
Try your full comment:
>>> Hm. Please tell me why You bothering with PHP.ini if You using PHP
>>> as web scripting engine?
>>>
>>> Install PHP as Apache module and use httpd.conf/.htaccess to control
>>> it's behaviour.
>>>
>>> Use php-apache2handler.ini or php-apache2filter.ini (depends on
>>> which SAPI You use) to create default environment.
I restate. It is stupid to place everything in your httpd.conf,
directly or indirectly by placing it in a file called in your
httpd.conf. PHP.INI is the initialization file for PHP, and should be
used as such.
Everything in the world does not belong in your httpd.conf, directly or
indirectly. It is the Apache configuration file, not the PHP, Perl,
MySQL and the rest-of-the-world configuration file. It should be used as
such - for configuring Apache and things which are specific to the
server, a virtual host or a directory.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Navigation:
[Reply to this message]
|