Line 23: |
Line 23: |
| === Version === | | === Version === |
| <!-- keep this first element as is, you can add some if needed --> | | <!-- keep this first element as is, you can add some if needed --> |
− | {{#smeversion: {{#var:smecontribname}} }} | + | {{#smeversion: smeserver-php-fpm }} |
− | {{#smeversion: {{#var:contribname}} }}
| + | |
| | | |
| === Description === | | === Description === |
Line 40: |
Line 40: |
| signal-event webapps-update | | signal-event webapps-update |
| service php-fpm start | | service php-fpm start |
− | service php-56 start | + | service php56-php-fpm start |
− | service php-70 start | + | service php70-php-fpm start |
− | service php-71 start | + | service php71-php-fpm start |
− | service php-72 start | + | service php72-php-fpm start |
− | service php-73 start | + | service php73-php-fpm start |
| | | |
| </syntaxhighlight> | | </syntaxhighlight> |
Line 370: |
Line 370: |
| | | | | |
| |- | | |- |
− | |DisableFunctions | + | |DisabledFunctions |
− | |system,show_source, symlink,exec,dl,shell_exec,passthru,phpinfo,escapeshellarg,escapeshellcmd | + | |system,show_source,symlink,exec,dl,shell_exec,passthru,phpinfo,escapeshellarg,escapeshellcmd |
| | | | | |
| |- | | |- |
Line 390: |
Line 390: |
| | | | | |
| |} | | |} |
− | you will then need two httpd.conf custom template fragment to use your pool. You will need to change '''VERSION''' and '''MYPOOL''' to what you want<syntaxhighlight lang="bash"> | + | you will then need two httpd.conf custom template fragment to use your pool. You will need to change '''MYPOOL''' to what you want<syntaxhighlight lang="bash"> |
− | mkdir -p /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/
| |
− | vim /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/68FastCGIConfig15myphppool
| |
− | </syntaxhighlight><syntaxhighlight>
| |
− | Action phpMYPOOL-fastcgi /php-cgi-bin/phpMYPOOL-wrapper
| |
− | Alias /php-cgi-bin/phpMYPOOL-wrapper /var/www/php-cgi-bin/phpMYPOOL-wrapper
| |
− | FastCgiExternalServer /var/www/php-cgi-bin/phpMYPOOL-wrapper -socket /var/run/php-fpm/phpVERSION-MYPOOL.sock -pass-header Authorization -idle-timeout 120
| |
− | </syntaxhighlight><syntaxhighlight lang="bash">
| |
| mkdir -p /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/ | | mkdir -p /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/ |
| vim /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/98mypoolusage | | vim /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/98mypoolusage |
| </syntaxhighlight><syntaxhighlight lang="perl"> | | </syntaxhighlight><syntaxhighlight lang="perl"> |
− | <Directory "/home/e-smith/ibays/Primary/html/myfolder">
| + | <Directory /home/e-smith/files/ibays/test/html> |
| + | SSLRequireSSL |
| + | Options None |
| + | Options +Indexes |
| Options +FollowSymLinks | | Options +FollowSymLinks |
| + | DirectoryIndex index.php index.shtml index.htm index.html |
| + | AddHandler phpMYPOOL-fastcgi .php |
| AllowOverride All | | AllowOverride All |
− | AddHandler phpnextcloud-fastcgi .php\n"; | + | order deny,allow |
− | </Directory>
| + | deny from all |
− | | + | allow from all |
| + | </Directory> |
| | | |
− | </syntaxhighlight> | + | </syntaxhighlight>then just do signal-event webapps-update |
| | | |
| === Uninstall === | | === Uninstall === |