0 Members and 1 Guest are viewing this topic.
]# sh /script/sysinfoA. Kloxo-MR: 6.5.0.f-2014102601B. OS: CentOS release 6.6 (Final) x86_64C. Apps: 1. MySQL: mysql55-5.5.40-1.ius.el6.x86_64 2. PHP: php54-5.4.34-1.ius.el6.x86_64 3. Httpd: httpd-2.2.29-1.mr.el6.x86_64 4. Lighttpd: --uninstalled-- 5. Nginx: nginx-1.7.7-1.el6.ngx.x86_64 6. Qmail: qmail-toaster-1.03-1.3.38.mr.el6.x86_64 - with: courier-imap-toaster-4.1.2-1.3.16.mr.el6.x86_64 7. Dns: djbdns-1.05-17.4.mr.el6.x86_64D. Php-type (for Httpd/proxy): php-fpm_event
What's the reason?.Disable open_basedir make unsecure website.
Better adjustment where modified '/opt/configs/php-fpm/tpl/custome.php53-fpm-pool.conf.tpl' (copy from 'php53-fpm-pool.conf.tpl')
So.. at the location where should I copy this file 'php53-fpm-pool.conf.tpl', or do not need to be copied because it's already there.. is it right? Please sorry to a lot questions of this...
Maybe rapidleech need access to certain directory where not include in open_basedir. So, you need add this directory path in custome.php53-fpm-pool.conf.tpl code and then run 'sh /script/restart-web -y'. That it.
if ($user === 'apache') { // MR -- for future purpose, apache user have uid 50000 $fpmport = 50000; $openbasedir = "/home/:/tmp/:/usr/share/pear/:/var/lib/php/session/"; } else { $userinfo = posix_getpwnam($user); $fpmport = (50000 + $userinfo['uid']); $openbasedir = "/home/$user/:/tmp/:/usr/share/pear/:/var/lib/php/session/:". "/home/kloxo/httpd/script/:/home/kloxo/httpd/disable/"; }
$openbasedir = "/home/$user/:/tmp/:/usr/share/pear/:/var/lib/php/session/:". "/home/kloxo/httpd/script/:/home/kloxo/httpd/disable/";
$openbasedir = "/home/$user/:/tmp/:/usr/share/pear/:/var/lib/php/session/:". "/home/kloxo/httpd/script/:/home/kloxo/httpd/disable/:/var/log";
Page created in 0.028 seconds with 22 queries.