Solved php-fpm82 is currently down.

Tomy666

Verified User
Joined
Jan 12, 2020
Messages
29
Location
Poland
Hi:)

I changed php to 8.2. However, it cannot compile correctly.
I try to reinstall php in fpm mode, same error
I have php1 - 8.2 - not compile and install
php2 - 7.2 - install and compile good !
Please how to fix it?

Code:
[root@server043195 ~]# cd /usr/local/directadmin/custombuild
[root@server043195 custombuild]# ./build update
[root@server043195 custombuild]# ./build rewrite_confs
Checking to ensure /etc/httpd/conf/ssl.crt/server.ca is set.
2023/11/25 18:24:32  info executing task            task=action=rewrite&value=ips
Using 77.55.235.93 for your server IP
mktemp: failed to create file via template '/usr/local/php82/etc/tmp.XXXXXXXXXX.php-fpm.conf': No such file or directory
install_custom_file: failed to create temp file for '/usr/local/php82/etc/php-fpm.conf'
Failed to execute operation: No such file or directory
Failed to restart php-fpm82.service: Unit not found.
PHP has been secured.
Restarting php-fpm82.
Failed to restart php-fpm82.service: Unit not found.
Restarting php-fpm72.
mktemp: failed to create file via template '/usr/local/php82/etc/tmp.XXXXXXXXXX.php-fpm.conf': No such file or directory
install_custom_file: failed to create temp file for '/usr/local/php82/etc/php-fpm.conf'
2023/11/25 18:24:38  info executing task            task=action=rewrite&value=httpd
Restarting apache.
2023/11/25 18:24:40  info executing task            task=action=directadmin&value=reload
 
Last edited:
This is not how to build
[root@server043195 custombuild]# ./build update
[root@server043195 custombuild]# ./build rewrite_confs

Try:
Code:
./build update
./build update_versions
and then the newly added php will be installed.

Or try to install seperately:
./build php_expert php82 php_fpm
or maybe I made a typo and it must be
./build php_expert php_82 php_fpm
test it out.
 
Oh the iconv issue... then you might need to do a complete trick first. Don't worry, it's fairly easy.
I would suggest to use the "more cautious approach" mentioned in this post to fix this.
 
Oh the iconv issue... then you might need to do a complete trick first. Don't worry, it's fairly easy.
I would suggest to use the "more cautious approach" mentioned in this post to fix this.
Yes, that solutions is working. Thanks so much Richard :)
 
Back
Top