Welcome, Guest
Please Login or Register.
Lost Password?
Re: Configuring /etc/php.ini (1 viewing)
Post Reply

TOPIC: Re: Configuring /etc/php.ini

#1345
KevinHeatwole (User)
Posts: 23
graphgraph
Configuring /etc/php.ini 2006/02/06 10:21  
Maybe I missed it in the many modules, but I don't see a module for configuring PHP.

Specifically, setting things like memory limit, upload file size, post file size, etc.

Of course, it is easy enough to edit the /etc/php.ini file directly, but if Virtualmin is targeted toward web hosts, you might want to beef up configuring PHP (as many sites are PHP based these days).
  The administrator has disabled public write access.
#1348
KevinRauth (User)
Posts: 47
graphgraph
Re: Configuring /etc/php.ini 2006/02/06 19:20  
Kevin,

I think this is a good idea. However I beleve it should be in the webmin side as it will effect all the virtual servers.

Just my thoughts.
  The administrator has disabled public write access.
#1350
ChrisBlackwell (User)
Posts: 122
graphgraph
Re: Configuring /etc/php.ini 2006/02/07 03:09  
I'd actualy like to see options to configure php on a per-vhost basis, and i think most ooptions can be changed with the 'php_flag' and 'php_value' directives.
  The administrator has disabled public write access.
#1352
KevinRauth (User)
Posts: 47
graphgraph
Re: Configuring /etc/php.ini 2006/02/07 09:31  
After some looking found this:

Runtime Configuration

The behaviour of the Apache PHP module is affected by settings in php.ini. Configuration settings from php.ini may be overridden by php_flag settings in the server configuration file or local .htaccess files.


source: http://us3.php.net/manual/en/ref.apache.php

This would allow a per server settings I think.
  The administrator has disabled public write access.
#1353
KevinRauth (User)
Posts: 47
graphgraph
Re: Configuring /etc/php.ini 2006/02/07 09:36  
If a configuration page were to be included it should show the value sets in the php.ini file and any values set in the vhost conf file side by side. If no values are set in the vhost conf a blank space to enter the values that need to be changed.

My take :-)
  The administrator has disabled public write access.
#1354
KevinRauth (User)
Posts: 47
graphgraph
Re: Configuring /etc/php.ini 2006/02/07 09:46  
The values can currently be set in the webmin, servers, apache webserver, edit config files, select the vhost from the drop down memu, select edit directives in file. This will bring up the vhost.conf file you can then enter the php flags.
  The administrator has disabled public write access.
Post Reply
get the latest posts directly to your desktop

Talk and Get Help

Support
Forums
Bugs and Issues

Get Virtualmin

OS Support
Buy Online
Download
Copyright 2005-2007 Virtualmin, Inc. All rights reserved.