Uploading issue in PLESK CentOS with joomla

Centos Logo Uploading issue in PLESK CentOS with joomla

centos logo thumb 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.
path
“/var/www/vhosts/yourdomain/conf/”

conf dir thumb Uploading issue in PLESK CentOS with joomla

Create two new files there

vhost.conf

vhost_ssl.conf

 

files thumb Uploading issue in PLESK CentOS with joomla

inside both file put these lines

php_admin_flag engine on
php_admin_value open_basedir none

conf file centos thumb Uploading issue in PLESK CentOS with joomla

Save and close.

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

potty domain thumb Uploading issue in PLESK CentOS with joomla

Now once you open the terminal

execute command  cd ..    


and
you will be now root path
cd thumb Uploading issue in PLESK CentOS with joomla

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

httpdoc thumb1 Uploading issue in PLESK CentOS with joomla

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 thumb1 Uploading issue in PLESK CentOS with joomla

Restart the server
and that’s it