Service Unavailable The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.

osafax

New member
Joined
Oct 2, 2024
Messages
1
I am having problem with my Directadmin Cpanel, I tried updating my PHP version to 8.3 and it failed and currently all my website with PHP is down showing :

Service Unavailable
The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.


I really need help in resolving this, its been over 5 day now. When I try running this command

cd /usr/local/directadmin/custombuild/
./build php_expert 8.3 php-fpm


I get this Error below:

checking if iconv supports errno... configure: error: iconv does not support errno
no
install_php: failed to compile '/usr/local/directadmin/custombuild/cache/php-8.3.12.tar.gz' inside '/usr/local/directadmin/custombuild/tmp/tmp.60D35DDgvW.php-8.3.12.tar.gz'



Also when I tried running this command

cd /usr/local/directadmin/custombuild/
./build php_expert 7.2 php-fpm


I get this error as well


checking for pkg-config... (cached) /usr/bin/pkg-config
checking for libsodium... found in /usr
checking for sodium_add in -lsodium... no
configure: error: wrong libsodium lib version (< 1.0.8) or lib not found
install_php: failed to compile '/usr/local/directadmin/custombuild/cache/php-7.2.34.tar.gz' inside '/usr/local/directadmin/custombuild/tmp/tmp.KVrRp39KFr.php-7.2.34.tar.gz'



And lastly when I tried running this command

cd /usr/local/directadmin/custombuild/
./build php_expert 5.6 php-fpm



I get this Error:

ext/iconv/.libs/iconv.o: In function `_php_iconv_strpos':
iconv.c:(.text+0x46e9): undefined reference to `libiconv_open'
iconv.c:(.text+0x4790): undefined reference to `libiconv'
iconv.c:(.text+0x494b): undefined reference to `libiconv_close'
collect2: error: ld returned 1 exit status
make: *** [sapi/litespeed/php] Error 1
install_php: failed to compile '/usr/local/directadmin/custombuild/cache/php-5.6.40.tar.gz' inside '/usr/local/directadmin/custombuild/tmp/tmp.hXYOgXbZ9U.php-5.6.40.tar.gz'



When the problem started after 2 days of reading through many messages on the forum, I ran this code :

cd /usr/local/directadmin/custombuild/
./build php_expert 7.2 php-fpm


and the system was restored to normal functioning.

After which, then input this code

da build list_removals
da build remove_items
da build remove_old_local libiconv
da build restore_old_local libiconv
rm -f /usr/local/include/{iconv.h,libcharset.h,localcharset.h}
da build all
da build remove_old_local libiconv


to see if the PHP 8.3 can work because I have some website that needed it and then this error code of 503 Service Unavailable came back
 
Back
Top