Ready to get started?Download WordPress


Pb Uploading an image (3 posts)

  1. aouziel
    Posted 5 years ago #


    i am not able to upload images anymore.
    I tried the flash one and the browser one...

    I have an error message: a temp folder is missing...

    Could you help me ?

    thank you

  2. pawsingleton
    Posted 5 years ago #

    Have you gone looking for the folder it says is missing?

  3. Shane G
    Posted 5 years ago #


    You can easily overcome this problem by editing the php.ini file located in etc/ folder, uncommenting the line upload_tmp_dir (by deleting the semi-colon “;”) and pointing the variable to a folder using an absolute path. In Linux possible steps are:

    1. open a terminal
    2. create a temporary folder for all apache tasks in your user folder and grant all right to all users:

    mkdir wwwtmp && chmod 0777 wwwtmp

    3. edit php.ini with your text editor and set the temporary folder (you must switch to root user)

    vim /opt/lampp/etc/php.ini
    upload_tmp_dir = /home/my_user/wwwtmp/
    Remeber to remove preceding “;”

    4. save the file (in vim type :wq an press enter) and restart xampp

    /opt/lampp/./lampp restart


    Shane G.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.