Tagged Questions
0
votes
1answer
81 views
Apache + PHP-FPM + chroot results “File not found.” error
I want to set chroot to the DocumentRoot using PHP-FPM pools' chroot attribute. With the settings below, whatever I do I get only a "File not found." error:
/etc/php5/fpm/pool.d/example.conf
...
0
votes
0answers
54 views
What system files need to be in a jailed environment for php-fpm to function properly?
I'm using php5-fpm and have separate pools and chroot locations for each domain hosted with nginx. However, I know that some system files need to be directly in the jail, but which ones do I need?
I ...
0
votes
1answer
317 views
PHP-FPM Chroot jail corrupts timezone db?
I'm trying to setup a PHP-FPM Chroot jail on a new CentOS 6.3 box. I can get the chroot to work fine, in the sense that I can get php scripts to respond and echo things out. But, every time I use the ...
0
votes
2answers
228 views
nginx & php-fpm & clean urls
Hello i would like set up nginx like I want. I have read a lot of manuals (including official) but i can't make it work as I expect.
I have next urls: /user/register, /user/login, /user/logout etc ...
2
votes
3answers
2k views
chrooting php-fpm with nginx
I'm setting up a new server with PHP 5.3.9 and nginx, so I compiled PHP with the php-fpm SAPI options. By itself it works great using the following server entry in nginx:
server {
listen 80;
...
1
vote
2answers
417 views
Implications that come with chrooting php-fpm
I am creating a production server that will run nginx with php-fpm. I want to have a good mix between securing the server, and still having good quick workflow.
Now one thing that always secures the ...
1
vote
1answer
2k views
PHP-FPM's chroot and chdir directory
I am setting up php-fpm with chrooting enabled. Now I see that there are two options, and I want to know what the exact difference is.
The setup has:
chroot = /var/www/domains/domain.tld/
; Chdir to ...
2
votes
1answer
502 views
Setup secure shared hosting (Apache, PHP, MySQL)
So I'm setting up a shared hosting with Apache, PHP, MySQL and the biggest question mark is how to do with PHP, since there is a million options out there how to configure it securely.
The plan is:
...
1
vote
1answer
222 views
Secure PHP environments with PHP-FPM and SFTP
I'd like to set up secure environments for a small number of untrusted PHP websites on a Debian server. Right now everything runs on the same Apache2 with mod_php5 and vsftpd for administrative file ...