#30100 [Bgs]: Is there a possibility to load php modules per virtualhost directives?
| From: | php-answer at karolyi dot hu | Date: | Thu, 16 Sep 2004 08:13:07 +0000 |
| Subject: | #30100 [Bgs]: Is there a possibility to load php modules per virtualhost directives? | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-66267@lists.php.net to get a copy of this message | ||
ID: 30100
User updated by: php-answer at karolyi dot hu
Reported By: php-answer at karolyi dot hu
Status: Bogus
Bug Type: Dynamic loading
Operating System: Linux
PHP Version: 5.0.1
New Comment:
I want to restrict access to functions, without putting it in
disable_functions.
In other view, this would cause lesser memory usage. Loading modules
which the user won't use has no meaning.
Is it still a senseless question?
--
Regards,
Laszlo KAROLYI
Previous Comments:
------------------------------------------------------------------------
[2004-09-16 05:48:18] rasmus@php.net
Why do you think it would be more efficient? When you load in an
extension it gets loaded into the Apache process which serves requests
for all your virtual hosts anyway. There would be no difference
between doing it per-vhost at startup vs. just doing it from your
php.ini.
------------------------------------------------------------------------
[2004-09-16 02:16:22] php-answer at karolyi dot hu
Description:
------------
I wonder if there is an option to load external php modules like gd,
mysql and imap into php below a <VirtualHost> section with
php_admin_value directives.
I think it could be possible, like dl()-ing from php scripts.
But as i've tried with "php_admin_value extension gd.so", it doesn't
works at this moment.
Please report back if this is a solvable problem, because
virtualhosting would be much more efficient if this option would work.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=30100&edit=1