User Tools

Site Tools


php-fpm_centos7

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
php-fpm_centos7 [2015/10/20 05:52] – created luke7858php-fpm_centos7 [2024/05/23 07:26] (current) – external edit 127.0.0.1
Line 5: Line 5:
 \\ \\
 This means that php-fpm will be using files (sockets) to run which could be considered slower because of potential slow HDDs however the files are mostly stored in RAM so it makes accessing them significantly quicker. This means that php-fpm will be using files (sockets) to run which could be considered slower because of potential slow HDDs however the files are mostly stored in RAM so it makes accessing them significantly quicker.
 +\\ 
 +\\ 
 + CentOS 7, Ubuntu 12.04 LTS, Ubuntu 14.04 LTS uses FHS 3.0, this means that it uses /run for accessing RAM 
 ^ Sockets ^  fastcgi_pass unix:/run/php-fpm/example.com.sock ^ ^ Sockets ^  fastcgi_pass unix:/run/php-fpm/example.com.sock ^
 ^ Ports    fastcgi_pass 127.0.0.1:9000; ^ ^ Ports    fastcgi_pass 127.0.0.1:9000; ^
 +\\ 
 +You are still able to refer to the FHS 2.4 as before however you are also able to access /run which is the new structure for 3.0 
 +\\ 
 +For example the output of df -h on CentOS 7 looks like: 
 +<sxh bash> 
 +# df -h 
 +Filesystem      Size  Used Avail Use% Mounted on 
 +/dev/sda2       1.8T  195G  1.6T  12% / 
 +devtmpfs        1.9G      1.9G   0% /dev 
 +tmpfs           1.9G  4.0K  1.9G   1% /dev/shm 
 +tmpfs           1.9G   41M  1.8G   3% /run 
 +tmpfs           1.9G      1.9G   0% /sys/fs/cgroup 
 +/dev/sda1       190M   95M   82M  54% /boot 
 +</sxh>
 \\ \\
 \\ \\
php-fpm_centos7.1445320343.txt.gz · Last modified: 2024/05/23 07:26 (external edit)

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki