• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

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