• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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