Uploading issue in PLESK CentOS with joomla


While i was  working in joomla using “plesk  with centOS” ,

faced this problem ,no file was uploaded on the server . No error displayed..

I checked php.ini ,  all is correct !!

So the problem was nothing, server need some configuration for uploading.

The same issue found in prestashop and wordpress.
hope this helps out you with the same problem.

So finally solution of this error is:

First of all check your php.ini .
Set your upload_tmp_dir in php.ini , where your site temp directory.

it is located in “/etc/php.ini”    in Linux ( CentOS )

Now its time for more

open your domain directory with notepad++ or any editor you like.

conf dir

Create two new files there





inside both file put these lines

php_admin_flag engine on
php_admin_value open_basedir none

conf file centos

Save and close.

Next thing execute putty to access terminal of centOS
add domain or ip in putty and open

potty domain

Now once you open the terminal

execute command  cd ..    

you will be now root path

now open the directory of your domain
by executing command :
cd   /var/www/vhosts/yourdomain/


now enter three more commands
chown -R apache:psacln httpdocs

chmod -R g+w httpdocs

find httpdocs -type d -exec chmod g+s {} ;

last cmmnd

Restart the server
and that’s it