0

I try glide sign image with Yii 2 Glide extendsion

That my url: Url demo

So has error:

tempnam(): open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/home/admin/web/cenleasing.vn/public_html:/home/admin/tmp)

So how can i fix it

dungphanxuan
  • 595
  • 5
  • 18
  • i see sample problem here, so i can't know exact solution https://stackoverflow.com/questions/1846882/open-basedir-restriction-in-effect-file-is-not-within-the-allowed-paths – dungphanxuan Aug 25 '17 at 09:29
  • I folow guider so it work https://www.digitalocean.com/community/questions/open_basedir-and-safe_mode – dungphanxuan Aug 26 '17 at 01:56

1 Answers1

0

Solution with vestacp.

The file to edit was:

/home/admin/conf/web/httpd.conf

And I had to comment:

php_admin_value open_basedir /home/admin/web/xxx.com/public_html:/home/admin/tmp
dungphanxuan
  • 595
  • 5
  • 18