• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

Upload file size returns error after loading Plesk

S

Strider@

Guest
Hi,

Newbie to Plesk here, can someone help possibly?

I have a form on a web site that uploaded files to the server quite happily until we installed Plesk. Now we get the error below. php.ini has memory_limit set to 32Mb and the file we're trying to upload is just 171Kb. If we upload a file of say 80Kb, no problem. Am I checking the right php.ini file in /usr/local/psa/admin/conf ?

Any help or pointers very much appreciated.

Thanks in advance.
Paul.


Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 12288 bytes) in /usr/local/psa/home/vhosts/domain-name/httpdocs/includes/common/lib/image/KT_Image.class.php on line 1324
 
/usr/local/psa/admin/conf is for Plesk's internal php engine, and has nothing to do with your websites.
You'll need to locate your Web's php.ini file (through SSH with "php -i |grep php.ini") and make the edit checks there.
Alternatively, create a php file, and put this in it:
PHP:
<?php phpinfo() ?>
and browse to it through a webpage, and it will echo back the proper file.
 
Back
Top