FastCGI sent in stderr: "PHP message: PHP Fatal error: #2325

Closed
opened 2026-02-05 03:40:09 +03:00 by OVERLORD · 9 comments
Owner

Originally created by @GrooveDevops on GitHub (Jul 14, 2021).

I am getting issue with composer

2021/07/14 17:16:24 [error] 3456#3456: *48 FastCGI sent in stderr: "PHP message: PHP Fatal error: Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 7.3.0". You are running 7.0.33. in /var/www/BookStack/vendor/composer/platform_check.php on line 24" while reading response header from upstream, client: 172.30.7.71, server: km.bmonmove.icicibank.com, request: "GET /
HTTP/1.1", upstream: "fastcgi://unix:/var/run/php-fpm/php-fpm.sock:", host:

I try to update the PHP version to 7.3 but getting the below error

Error: Package: gd-last-2.3.2-1.el7.remi.x86_64 (remi-safe)
Requires: libraqm.so.0()(64bit)
You could try using --skip-broken to work around the problem

Originally created by @GrooveDevops on GitHub (Jul 14, 2021). I am getting issue with composer 2021/07/14 17:16:24 [error] 3456#3456: *48 FastCGI sent in stderr: "PHP message: PHP Fatal error: Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 7.3.0". You are running 7.0.33. in /var/www/BookStack/vendor/composer/platform_check.php on line 24" while reading response header from upstream, client: 172.30.7.71, server: km.bmonmove.icicibank.com, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/var/run/php-fpm/php-fpm.sock:", host: I try to update the PHP version to 7.3 but getting the below error Error: Package: gd-last-2.3.2-1.el7.remi.x86_64 (remi-safe) Requires: libraqm.so.0()(64bit) You could try using --skip-broken to work around the problem
Author
Owner

@ssddanbrown commented on GitHub (Jul 14, 2021):

Hi @BirenGroove,
Any PHP version greater than PHP7.3 should do it, You could install PHP8 now so you don't have to upgrade it again for a while (Unless you're running other applications on the same server that require a lower PHP version).

What operating system are you using? The Remirepo site has quite a straightforward wizard to provide you the commands for installing a specific PHP version, which can be found here: https://rpms.remirepo.net/wizard/

@ssddanbrown commented on GitHub (Jul 14, 2021): Hi @BirenGroove, Any PHP version greater than PHP7.3 should do it, You could install PHP8 now so you don't have to upgrade it again for a while (Unless you're running other applications on the same server that require a lower PHP version). What operating system are you using? The Remirepo site has quite a straightforward wizard to provide you the commands for installing a specific PHP version, which can be found here: https://rpms.remirepo.net/wizard/
Author
Owner

@GrooveDevops commented on GitHub (Jul 15, 2021):

I have Redhat 7, but there is check on Bookstack for PHP 7.3 it's checking that always !! can't we override the check ??

@GrooveDevops commented on GitHub (Jul 15, 2021): I have Redhat 7, but there is check on Bookstack for PHP 7.3 it's checking that always !! can't we override the check ??
Author
Owner

@ssddanbrown commented on GitHub (Jul 15, 2021):

There is technically a way to ignore the php version during install, but bookstack does require PHP >= 7.3 so the logical thing is to ensure the right PHP version exists and is in use.

@ssddanbrown commented on GitHub (Jul 15, 2021): There is technically a way to ignore the php version during install, but bookstack does require PHP >= 7.3 so the logical thing is to ensure the right PHP version exists and is in use.
Author
Owner

@GrooveDevops commented on GitHub (Jul 15, 2021):

If there PHP higher version, as you mention above install PHP 8 does it will work

@GrooveDevops commented on GitHub (Jul 15, 2021): If there PHP higher version, as you mention above install PHP 8 does it will work
Author
Owner

@ssddanbrown commented on GitHub (Jul 16, 2021):

@BirenGroove PHP8 should be fine. Remember to uninstall any other versions first to prevent confusion.

@ssddanbrown commented on GitHub (Jul 16, 2021): @BirenGroove PHP8 should be fine. Remember to uninstall any other versions first to prevent confusion.
Author
Owner

@GrooveDevops commented on GitHub (Jul 16, 2021):

Is this file required run bookstock on PHP8
79 connect to unix /var/run/php-fpm/php-fpm.sock

I found this file missing on my configuration

@GrooveDevops commented on GitHub (Jul 16, 2021): Is this file required run bookstock on PHP8 **79 connect to unix /var/run/php-fpm/php-fpm.sock** I found this file missing on my configuration
Author
Owner

@ssddanbrown commented on GitHub (Jul 17, 2021):

@BirenGroove Maybe, but it very much depends on your webserver and how it's using PHP.

@ssddanbrown commented on GitHub (Jul 17, 2021): @BirenGroove Maybe, but it very much depends on your webserver and how it's using PHP.
Author
Owner

@GrooveDevops commented on GitHub (Jul 20, 2021):

I have RHEL 7.9 there was some issue with PHP version and FPM as well I did fresh installation for php7.3 and install composer it's working fine now

@GrooveDevops commented on GitHub (Jul 20, 2021): I have RHEL 7.9 there was some issue with PHP version and FPM as well I did fresh installation for php7.3 and install composer it's working fine now
Author
Owner

@ssddanbrown commented on GitHub (Jul 21, 2021):

@BirenGroove Glad to hear you got it working. Just a warning, Keep an eye out for BookStack PHP version requirement changes since we'll likely require PHP7.4 as a minimum later this year or early next year.

@ssddanbrown commented on GitHub (Jul 21, 2021): @BirenGroove Glad to hear you got it working. Just a warning, Keep an eye out for BookStack PHP version requirement changes since we'll likely require PHP7.4 as a minimum later this year or early next year.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#2325