osTicket v1.10 (stable) and Maintenance Release v1.9.15 are now available! Go
get it now
osTicket 1.10.1 / Apache 2.4 / php7.0-fpm
I'm having problems getting my osTicket to work using PHP7-fpm.
I had an old osTicket 1.9.8 installation on Debian6/PHP5.4, and used intermediate Debian8/PHP5.6 to perform an upgrade for 1.10 in order to gain PHP7 support. The updated version 1.10.1 works fine on that intermediate PHP 5.6 FPM server.
I copied both files and SQL database on the new server. At least all the AJAX queries aren't working and I get strange PHP and SQL errors.
Environment:
osTicket Version | v1.10.1 (9ae093d) — Up to date |
Web Server Software | Apache/2.4.25 (Debian) |
MySQL Version | 10.1.26 |
PHP Version | 7.0.19-1 |
and every PHP extension and settings check under this shows checkbox for OK.
However,
- all the AJAX tooltips & tools are empty.
- every ticket gives error when trying to write reply/comment:
Unable to lock the ticket.
Someone else could be working on the same ticket. - Apache error.log shows this kind of messages:
[Wed Dec 13 17:56:33.343052 2017] [proxy_fcgi:error] [pid 18088:tid 139734630242048] [client XXXXX] AH01071: Got error 'PHP message: PHP Warning: Declaration of AssignmentForm::render($options) should be compatible with Form::render($staff = true, $title = false, $options = Array) in /home/srotiketti/public_html/include/class.forms.php on line 4367\nPHP message: PHP Warning: Declaration of TransferForm::render($options) should be compatible with Form::render($staff = true, $title = false, $options = Array) in /home/<user>/public_html/include/class.forms.php on line 4487\n'
The php7.0-fpm is using exactly the same kind of proxy_fcgi setup, only the location of the unix socket is different:
- ProxyPassMatch ^/(.*\.php(/.*)?)$ unix:/var/run/php5-fpm-user.sock|fcgi://localhost/home/user/public_html
- ProxyPassMatch ^/(.*\.php(/.*)?)$ unix:/run/php/user.sock|fcgi://localhost/home/user/public_html
Comments
ProxyPassMatch ^/(.*\.php(/.*)?)$ unix:/run/php/osticket.sock|fcgi://localhost/home/osticket/public_html