• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    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.

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