Internal Server Error on PHP 8.4

Hello

i have problem with a username example: admin1 …. in this username all websites which is using php 8.4 its showing error …Internal Server Error

Oops! Something went wrong…. Error Code: 500 … only in this user.. other users working fine. on php 8.4 … please help me to fix … how to solve this issue

we need to rebuild this username or where is miss-config

how to solve this problem please help urgent need to fix this my all websites are down because of this issue

thank you

error log

[Mon Mar 23 21:14:29.885022 2026] [proxy:error] [pid 6971:tid 6991] (2)No such file or directory: AH02454: FCGI: attempt to connect to Unix domain socket /run/php/php8.4-fpm-domain.com.sock\r (localhost:8000) failed
[Mon Mar 23 21:14:29.885058 2026] [proxy_fcgi:error] [pid 6971:tid 6991] [client 3.230.253.54:0] AH01079: failed to make connection to backend: localhost
[Mon Mar 23 21:14:39.921893 2026] [proxy:error] [pid 6970:tid 7019] (2)No such file or directory: AH02454: FCGI: attempt to connect to Unix domain socket /run/php/php8.4-fpm-domain.com.sock\r (localhost:8000) failed
[Mon Mar 23 21:14:39.921945 2026] [proxy_fcgi:error] [pid 6970:tid 7019] [client 44.205.208.84:0] AH01079: failed to make connection to backend: localhost

Hi,

Show the output of these commands (replace example.com with the actual domain):

dpkg -l | grep php8.4
systemctl status php8.4-fpm --no-pager -l
cat /etc/php/8.4/fpm/pool.d/example.com.conf
ls -l /run/php/ | grep php8.4
 root@vmi2444:\~# dpkg -l | grep php8.4
 ii  php8.4-apcu                            5.1.26-1+ubuntu22.04.1+deb.sury.org+1        amd64        APC User Cache for PHP
 ii  php8.4-bcmath                          8.4.11-1+ubuntu22.04.1+deb.sury.org+1        amd64        Bcmath module for PHP
 ii  php8.4-bz2                             8.4.11-1+ubuntu22.04.1+deb.sury.org+1        amd64        bzip2 module for PHP
 ii  php8.4-cli                             8.4.11-1+ubuntu22.04.1+deb.sury.org+1        amd64        command-line interpreter for the PHP scripting language
 ii  php8.4-common                          8.4.11-1+ubuntu22.04.1+deb.sury.org+1        amd64        documentation, examples and common module for PHP
 ii  php8.4-curl                            8.4.11-1+ubuntu22.04.1+deb.sury.org+1        amd64        CURL module for PHP
 ii  php8.4-fpm                             8.4.11-1+ubuntu22.04.1+deb.sury.org+1        amd64        server-side, HTML-embedded scripting language (FPM-CGI binary)
 ii  php8.4-gd                              8.4.11-1+ubuntu22.04.1+deb.sury.org+1        amd64        GD module for PHP
 ii  php8.4-imagick                         3.8.0-1+ubuntu22.04.1+deb.sury.org+1         amd64        Provides a wrapper to the ImageMagick library
 ii  php8.4-imap                            3:1.0.3-1+ubuntu22.04.1+deb.sury.org+1       amd64        This package provides the IMAP module(s) for PHP
 ii  php8.4-intl                            8.4.11-1+ubuntu22.04.1+deb.sury.org+1        amd64        Internationalisation module for PHP
 ii  php8.4-ldap                            8.4.11-1+ubuntu22.04.1+deb.sury.org+1        amd64        LDAP module for PHP
 ii  php8.4-mbstring                        8.4.11-1+ubuntu22.04.1+deb.sury.org+1        amd64        MBSTRING module for PHP
 ii  php8.4-mysql                           8.4.11-1+ubuntu22.04.1+deb.sury.org+1        amd64        MySQL module for PHP
 ii  php8.4-opcache                         8.4.11-1+ubuntu22.04.1+deb.sury.org+1        amd64        Zend OpCache module for PHP
 ii  php8.4-pspell                          3:1.0.1-3+ubuntu22.04.1+deb.sury.org+1       amd64        This package provides the pspell module(s) for PHP
 ii  php8.4-readline                        8.4.11-1+ubuntu22.04.1+deb.sury.org+1        amd64        readline module for PHP
 ii  php8.4-soap                            8.4.11-1+ubuntu22.04.1+deb.sury.org+1        amd64        SOAP module for PHP
 ii  php8.4-xml                             8.4.11-1+ubuntu22.04.1+deb.sury.org+1        amd64        DOM, SimpleXML, XML, and XSL module for PHP
 ii  php8.4-zip                             8.4.11-1+ubuntu22.04.1+deb.sury.org+1        amd64        Zip module for PHP
 root@vmi2444:\~# systemctl status php8.4-fpm --no-pager -l
 ● php8.4-fpm.service - The PHP 8.4 FastCGI Process Manager
 Loaded: loaded (/lib/systemd/system/php8.4-fpm.service; enabled; vendor preset: enabled)
 Active: active (running) since Tue 2026-03-24 05:26:56 CET; 14min ago
 Docs: man:php-fpm8.4(8)
 Process: 836 ExecStartPost=/usr/lib/php/php-fpm-socket-helper install /run/php/php-fpm.sock /etc/php/8.4/fpm/pool.d/www.conf 84 (code=exited, status=0/SUCCESS)
 Process: 14776 ExecReload=/bin/kill -USR2 $MAINPID (code=exited, status=0/SUCCESS)
 Main PID: 598 (php-fpm8.4)
 Status: “Processes active: 0, idle: 0, Requests: 169, slow: 0, Traffic: 0.00req/sec”
 Tasks: 2 (limit: 28741)
 Memory: 603.4M
 CPU: 5min 44.859s
 CGroup: /system.slice/php8.4-fpm.service
 ├─  598 “php-fpm: master process (/etc/php/8.4/fpm/php-fpm.conf)” “” “” “” “” “” “” “” “” “” “” “” “” “” “” “” “” “” “” “” “” “” “”
 └─21607 “php-fpm: pool getflix.online” “” “” “” “” “” “” “” “” “” “” “” “” “” “” “” “” “” “” “” “” “” “” “” “” “” “” “” “” “” “” “” “” “” “” “” “” “” “” “” “” “” “” “” “” “” “” “” “” “”

 Mar 24 05:26:55 vmi2444.contaboserver.net systemd\[1\]: Starting The PHP 8.4 FastCGI Process Manager…
 Mar 24 05:26:56 vmi2444.contaboserver.net php-fpm8.4\[598\]: \[24-Mar-2026 05:26:56\] NOTICE: PHP message: PHP Warning:  JIT is incompatible with third party extensions that setup user opcode handlers. JIT disabled. in Unknown on line 0
 Mar 24 05:26:56 vmi2444.contaboserver.net systemd\[1\]: Started The PHP 8.4 FastCGI Process Manager.
 Mar 24 05:32:12 vmi2444.contaboserver.net systemd\[1\]: Reloading The PHP 8.4 FastCGI Process Manager…
 Mar 24 05:32:12 vmi2444.contaboserver.net systemd\[1\]: Reloaded The PHP 8.4 FastCGI Process Manager.
 Mar 24 05:32:12 vmi2444.contaboserver.net php-fpm8.4\[598\]: \[24-Mar-2026 05:32:12\] NOTICE: PHP message: PHP Warning:  JIT is incompatible with third party extensions that setup user opcode handlers. JIT disabled. in Unknown on line 0
 Mar 24 05:35:20 vmi2444.contaboserver.net systemd\[1\]: Reloading The PHP 8.4 FastCGI Process Manager…
 Mar 24 05:35:20 vmi2444.contaboserver.net systemd\[1\]: Reloaded The PHP 8.4 FastCGI Process Manager.
 Mar 24 05:35:21 vmi2444.contaboserver.net php-fpm8.4\[598\]: \[24-Mar-2026 05:35:21\] NOTICE: PHP message: PHP Warning:  JIT is incompatible with third party extensions that setup user opcode handlers. JIT disabled. in Unknown on line 0
 root@vmi2444:\~# cat /etc/php/8.4/fpm/pool.d/123clonescripts.com.conf
 ; origin-src: deb/php-fpm/multiphp.tpl
 ;#=========================================================================#
 ;# Default Web Domain Template                                             #
 ;# DO NOT MODIFY THIS FILE! CHANGES WILL BE LOST WHEN REBUILDING DOMAINS   #
 ;# https://hestiacp.com/docs/server-administration/web-templates.html      #
 ;#=========================================================================#

 \[123clonescripts.com\]
 listen = /run/php/php8.4-fpm-123clonescripts.com.sock
 listen.owner = admin2
 listen.group = www-data
 listen.mode = 0660

 user = admin2
 group = admin2

 pm = ondemand
 pm.max_children = 8
 pm.max_requests = 4000
 pm.process_idle_timeout = 10s
 pm.status_path = /status

 php_admin_value\[upload_tmp_dir\] = /home/admin2/tmp
 php_admin_value\[session.save_path\] = /home/admin2/tmp
 php_admin_value\[open_basedir\] = /home/admin2/.composer:/home/admin2/web/123clonescripts.com/public_html:/home/admin2/web/123clonescripts.com/private:/home/admin2/web/123clonescripts.com/public_shtml:/home/admin2/tmp:/tmp:/var/www/html:                                                                                  /bin:/usr/bin:/usr/local/bin:/usr/share:/opt
 php_admin_value\[sendmail_path\] = /usr/sbin/sendmail -t -i -f [email protected]

 env\[PATH\] = /usr/local/bin:/usr/bin:/bin
 env\[TMP\] = /home/admin2/tmp
 env\[TMPDIR\] = /home/admin2/tmp
 env\[TEMP\] = /home/admin2/tmp
 root@vmi2444:\~# ls -l /run/php/ | grep php8.4
 srw-rw---- 1 admin2            www-data  0 Mar 24 05:26 php8.4-fpm-123clonescripts.com.sock
 srw-rw---- 1 admin2            www-data  0 Mar 24 05:26 php8.4-fpm-123hub.123clonescripts.com.sock
 srw-rw---- 1 admin2            www-data  0 Mar 24 05:26 php8.4-fpm-123movies10.com.sock
 srw-rw---- 1 admin2            www-data  0 Mar 24 05:26 php8.4-fpm-123movies10.online.sock
 srw-rw---- 1 admin2            www-data  0 Mar 24 05:26 php8.4-fpm-domain.com.sock
 srw-rw---- 1 hestiamail        www-data  0 Mar 24 05:26 php8.4-fpm-dummy.sock
 srw-rw---- 1 admin2            www-data  0 Mar 24 05:26 php8.4-fpm-filekeeper.link.sock
 srw-rw---- 1 admin2            www-data  0 Mar 24 05:26 php8.4-fpm-getflix.online.sock
 srw-rw---- 1 admin4            www-data  0 Mar 24 05:35 php8.4-fpm-gplcoder.com.sock
 srw-rw---- 1 adminapi          www-data  0 Mar 24 05:26 php8.4-fpm-livetv.myflixerapi.com.sock
 srw-rw---- 1 admin2            www-data  0 Mar 24 05:26 php8.4-fpm-old.123clonescripts.com.sock
 -rw-r–r-- 1 root              root      3 Mar 24 05:35 php8.4-fpm.pid
 srw-rw---- 1 admin2            www-data  0 Mar 24 05:26 php8.4-fpm-domain.com.sock
 srw-rw---- 1 admin2            www-data  0 Mar 24 05:26 php8.4-fpm-prime.filekeeper.link.sock
 srw-rw---- 1 admin2            www-data  0 Mar 24 05:26 php8.4-fpm-videodownloader.top.sock
 srw-rw---- 1 xfans        www-data  0 Mar 24 05:26 php8.4-fpm-domain.com.sock

Here is all detail, actually i dont know whats wrong, whats going on, which domain was on 8.4 im change it to 8.3 then its start work then im make it back to 8.4 , its still working but not proper worked, some time its worked , some time images not load, some time error,

Problem was start from i was try to install GDplyar script for that upgrade ioncube 14 to ioncube 15 then try to edit /usr/local/hestia/data/templates/web/php-fpm/PHP-8_4.tpl … after update it start probblem .. so i was have backup of this file/PHP-8_4.tpl im undo the file but still server not working proper. please help me to fix it … and make it work properly thank you … or possible we can reinstall 8.4 ? or better way to fix this … thank you for help … (for security reason im hide the server name/ip ect ..)

Show the output of this command:

cat -A /etc/php/8.4/fpm/pool.d/123clonescripts.com.conf

Note: When pasting the output, don’t use quotes. Instead, select the pasted text and press Ctrl+E or click the </> button to format it properly.

root@vmi2444:~# cat -A /etc/php/8.4/fpm/pool.d/123clonescripts.com.conf
; origin-src: deb/php-fpm/multiphp.tpl^M$
;#=========================================================================#^M$
;# Default Web Domain Template                                             #^M$
;# DO NOT MODIFY THIS FILE! CHANGES WILL BE LOST WHEN REBUILDING DOMAINS   #^M$
;# https://hestiacp.com/docs/server-administration/web-templates.html      #^M$
;#=========================================================================#^M$
^M$
[123clonescripts.com]^M$
listen = /run/php/php8.4-fpm-123clonescripts.com.sock^M$
listen.owner = admin2^M$
listen.group = www-data^M$
listen.mode = 0660^M$
^M$
user = admin2^M$
group = admin2^M$
^M$
pm = ondemand^M$
pm.max_children = 8^M$
pm.max_requests = 4000^M$
pm.process_idle_timeout = 10s^M$
pm.status_path = /status^M$
^M$
php_admin_value[upload_tmp_dir] = /home/admin2/tmp^M$
php_admin_value[session.save_path] = /home/admin2/tmp^M$
php_admin_value[open_basedir] = /home/admin2/.composer:/home/admin2/web/123clonescripts.com/public_html:/home/admin2/web/123clonescripts.com/private:/home/admin2/web/123clonescripts.com/public_shtml:/home/admin2/tmp:/tmp:/var/www/html:/bin:/usr/bin:/usr/local/bin:/usr/share:/opt^M$
php_admin_value[sendmail_path] = /usr/sbin/sendmail -t -i -f [email protected]^M$
^M$
env[PATH] = /usr/local/bin:/usr/bin:/bin^M$
env[TMP] = /home/admin2/tmp^M$
env[TMPDIR] = /home/admin2/tmp^M$
env[TEMP] = /home/admin2/tmp^M$

That’s the problem, those ^M mean you edited the template on Windows and that’s not a valid format in Linux.

As you said you replaced the modified php84 template with the original, just rebuild your web domain:

v-rebuild-web-domain admin2 123clonescripts.com yes

And check again the pool:

cat -A /etc/php/8.4/fpm/pool.d/123clonescripts.com.conf

If it works you should do the same for all the domains using PHP 8.4.

2 Likes

yes after rebuild ^M$ is gone. i will update same way on all domains and let u know if again im seen error.

i was try to fix this error

[proxy_fcgi:error] [pid 22633:tid 22664] [client 146.70.215.74:0] AH01071: Got error 'PHP message: PHP Warning:  fopen(): open_basedir restriction in effect. File(/dev/null) is not within the allowed path(s): (/home/admin2/.composer:/home/admin2/web/player.getflix.online/public_html:/home/admin2/web/player.getflix.online/private:/home/admin2/web/player.getflix.online/public_shtml:/home/admin2/tmp:/tmp:/var/www/html:/bin:/usr/bin:/usr/local/bin:/usr/share:/opt) in /home/admin2/web/player.getflix.online/public_html/vendor/symfony/process/Pipes/UnixPipes.php on line 56; PHP message: PHP Warning:  fopen(/dev/null): Failed to open stream: Operation not permitted in /home/admin2/web/player.getflix.online/public_html/vendor/symfony/process/Pipes/UnixPipes.php on line 56; PHP message: PHP Fatal error:  Uncaught ValueError: proc_open(): Argument #2 ($descriptor_spec) must only contain arrays and streams in /home/admin2/web/player.getflix.online/public_html/vendor/symfony/process/Process.php:348\nStack trace:\n#0 /home/admin2/web/player.getflix.online/public_html/vendor/symfony/process/Process.php(348): proc_open()\n#1 /home/admin2/web/player.getflix.online/public_html/includes/classes/Service/Background.php(11): Symfony\\Component\\Process\\Process->start()\n#2 /home/admin2/web/player.getflix.online/public_html/includes/classes/Core/API.php(0): GDPlayer\\Service\\Background->runVideoSourcesParser()\n#3 /home/admin2/web/player.getflix.online/public_html/includes/views/frontend/api.php(11): GDPlayer\\Core\\API->response()\n#4 /home/admin2/web/player.getflix.online/public_html/includes/classes/Presentation/Views.php(11): require_once('/home/admin2/we...')\n#5 /home/admin2/web/player.getflix.online/public_html/public/index.php(11): GDPlayer\\Presentation\\Views::requireFile()\n#6 {main}\n  throw...'

thats why i was edit the php 8.4 template … this problem is still same.. please tell me how to solve this error. ? (/dev/null) is not within the allowed path

Add /dev/null to open_basedir and rebuild again your web domain:

sed -i.original 's|:/opt|:/opt:/dev/null|' /usr/local/hestia/data/templates/web/php-fpm/PHP-8_4.tpl
v-rebuild-web-domain admin2 123clonescripts.com yes

thank you so much for your help. really appreciated its worked..

Add /dev/null to open_basedir and rebuild again your web domain:

thank you so much for your help. really appreciated its worked..

Add /dev/null to open_basedir and rebuild again your web domain:

now an other error start showing… Got error 'PHP message: PHP Warning: file_exists(): open_basedir restriction in effect. File(/proc/net/tcp) is not within the allowed path(s):

[Tue Mar 24 08:01:09.178431 2026] [proxy_fcgi:error] [pid 6693:tid 6710] [client 146.70.215.74:0] AH01071: Got error 'PHP message: PHP Warning:  file_exists(): open_basedir restriction in effect. File(/proc/net/tcp) is not within the allowed path(s): (/home/admin2/.composer:/home/admin2/web/player.getflix.online/public_html:/home/admin2/web/player.getflix.online/private:/home/admin2/web/player.getflix.online/public_shtml:/home/admin2/tmp:/tmp:/var/www/html:/bin:/usr/bin:/usr/local/bin:/usr/share:/opt:/dev/null) in /home/admin2/web/player.getflix.online/public_html/includes/classes/Service/Background.php on line 11; PHP message: PHP Warning:  file_exists(): open_basedir restriction in effect. File(/proc/net/tcp6) is not within the allowed path(s): (/home/admin2/.composer:/home/admin2/web/player.getflix.online/public_html:/home/admin2/web/player.getflix.online/private:/home/admin2/web/player.getflix.online/public_shtml:/home/admin2/tmp:/tmp:/var/www/html:/bin:/usr/bin:/usr/local/bin:/usr/share:/opt:/dev/null) in /home/admin2/web/player.getflix.online/public_html/includes/classes/Service/Background.php on line 11'  

please help me to solve this also

That’s the same, you must edit the template and add /proc/net/tcp to open_basedir

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.