PDA

View Full Version : looking for my php.ini file


Heeter
13th February 2009, 03:42
Hi all,

I am looking to edit my php.ini file for one of my ispconfig sites.

I need to increase the memory for php.

Thanks

Heeter

till
13th February 2009, 13:06
There are no individual php.ini files foor sites. You can einter set values with php_admin_flag and php_admin_values directives in the apache directives field of the website or you edit the global php.ini file.

Heeter
13th February 2009, 16:48
Thanks Till,

Is there a howto on the use of those apache directives?

Thanks again,

Heeter

_X_
13th February 2009, 17:36
I think that you need to add:
php_value memory_limit 24M

into Apache Directives (Optional) for that site.

so it should look something like this:

change XXX with your value

<Directory "/var/www/webXXX/web">
php_value memory_limit 24M
</Directory>

_X_
13th February 2009, 17:45
or
php_admin_value memory_limit 24M

Heeter
13th February 2009, 19:11
Thanks X,


I get this error when I drop into the apache directive


You cannot assign HTTPD Includes to this website.



Heeter

_X_
14th February 2009, 01:10
Well i tried and it worked with

php_admin_value memory_limit 24M

with no error displayed by ISPConfig and bigger memory limit for site that I entered it for.