Browse Source

Use correct PHP_FPM socket paths for Debian

rpm
J. King 3 years ago
parent
commit
40a2856ae8
  1. 4
      dist/debian/arsse.install
  2. 3
      dist/debian/rules
  3. 2
      docs/en/020_Getting_Started/020_Download_and_Installation/020_On_Debian_and_Derivatives.md

4
dist/debian/arsse.install

@ -11,8 +11,8 @@ arsse.php usr/share/arsse/
config.defaults.php etc/arsse/
manual usr/share/doc/arsse/
dist/man/* usr/share/man/
dist/nginx etc/arsse/
dist/apache etc/arsse/
dist/debian/config.php etc/arsse/
dist/debian/dbconfig-common.php usr/share/arsse/
debian/bin/arsse usr/bin/
debian/nginx etc/arsse/
debian/apache etc/arsse/

3
dist/debian/rules

@ -21,3 +21,6 @@ execute_before_dh_install:
mkdir -p debian/bin
cp dist/arsse debian/bin/arsse
sed -i -se 's/posix_getpwnam("arsse"/posix_getpwnam("www-data"/' debian/bin/arsse
# Change PHP-FPM socket paths
cp -r dist/apache dist/nginx debian
sed -i -se 's/arsse\.sock/php-fpm.sock/' debian/apache/arsse.conf debian/nginx/arsse.conf

2
docs/en/020_Getting_Started/020_Download_and_Installation/020_On_Debian_and_Derivatives.md

@ -50,7 +50,7 @@ sudo dpkg-reconfigure arsse
# Web server configuration
Sample configuration for both Nginx and Apache HTTP Server can be found in `/etc/arsse/nginx/` and `/etc/arsse/apache/`, respectively. The `example.conf` files are basic virtual host examples; the other files they include should normally be usable without modification, but may be modified if desired.
Sample configuration for both Nginx and Apache HTTP Server can be found in `/etc/arsse/nginx/` and `/etc/arsse/apache/`, respectively. The `example.conf` files are basic virtual host examples; the other files they include should normally be usable without modification, but may be modified if needed or desired. In particularly users of older Debians may need to change the PHP-FPM socket path in Nginx or Apache's `arsse.conf`.
In order to use Apache HTTP Server the FastCGI proxy module must be enabled and the server restarted:

Loading…
Cancel
Save