• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Incresing php memory limit

calbasi

New Pleskian
Hello,

I have a Debian 6 VPS hosting with Plesk 11. I wonder how can I increase php memory limit from 128Mb to 192Mb. I've edited /etc/php5/apache2 but my drupal status page still shows 128Mb.

And, second, where/how can I know the php memory limit?

Regards
 
Maybe you're editing the wrong php.ini.

If your domain runs as Apache module, then sure, you're editing the correct file ("/etc/php5/apache2/php.ini").
If your domain runs as FastCGI application, then you have to edit "/etc/php5/cgi/php.ini".

You can check that by clicking on your domain name (when you're on tab "Websites & Domain in your control panel), and there under "Web Scripting and Statistics" is "PHP support" (also make sure that drupal support is checked if you're doing something with that).

Or create new ".php" file, something like "test.php" and type there:
<?php phpinfo(); ?>

Save the file and check it in your browser, and you can check there also for "Configuration File (php.ini) Path".
 
Update: I've managed it throw Plesk panel:

Domains > mydomain.??? > Web sites and domains > Show advanced settings > Security and scripting > PHP config

Ps.: but I can not find "drupal support" there, as you suggested ;-)
 
I had a similar problem with a site that require this increase memory. I asked my hosting provider and they repaired it
 
It fixed when I use the Plesk panel:

Domains > mydomain.??? > Web sites and domains > Show advanced settings > Security and scripting > PHP config
 
Back
Top