1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Upload file size returns error after loading Plesk

Discussion in 'Plesk for Linux - 8.x and Older' started by Strider@, May 3, 2006.

  1. Strider@

    Strider@ Guest

    0
     
    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
     
  2. johnboypro

    johnboypro Guest

    0
     
    Did you ever find an answer to this?
     
  3. NightStorm

    NightStorm Guest

    0
     
    /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.
     
Loading...