Error updating to PHP 8.0.1

Pieter

Verified User
Joined
Mar 27, 2016
Messages
19
Got a message to update PHP 8.0.0 to 8.0.1 (Custombuild 2.0.0 rev:2648)

Updating shows the following error:
checking if iconv supports errno... no
configure: error: iconv does not support errno

*** There was an error while trying to configure php. Check the configure file

Tried
cd /usr/local/directadmin/custombuild
./build update
./build php

But unfortunately it shows the same error. Any ideas?
 
You've got 3 options:

Option 1:
  1. cd /usr/local/directadmin/custombuild
  2. ./build iconv
Option 2:
  1. rm -f /usr/local/lib/libiconv*
    rm -f /usr/local/bin/iconv
    rm -f /usr/local/include/iconv.h
  2. cd /usr/local/directadmin/custombuild
  3. ./build all d
Option 3:
  1. Remove "--with-iconv-dir" from /usr/local/directadmin/custombuild/custom/php/configure.php80

Some bugs always come back, first notice was back in 2005!
 
You've got 3 options:

Option 1:
  1. cd /usr/local/directadmin/custombuild
  2. ./build iconv
Option 2:
  1. rm -f /usr/local/lib/libiconv*
    rm -f /usr/local/bin/iconv
    rm -f /usr/local/include/iconv.h
  2. cd /usr/local/directadmin/custombuild
  3. ./build all d
Option 3:
  1. Remove "--with-iconv-dir" from /usr/local/directadmin/custombuild/custom/php/configure.php80

Some bugs always come back, first notice was back in 2005!
Option 1 did nothing and the line in option 3 was not listed in my config.
Eventually renamed the files listed in option 2 and it worked!

Thank you for the suggestions!

All the best,
Pieter
 
More accurate: Do't install php 8 yet, once it's 5 monts or so in GA it'l be fine
Yes exactly. You have been reading my old posts.. Everytime a New PHP comes out. Just pretend its not there..for about 5-6 months. It's never bug free.
 
Back
Top