Error updating to PHP 8.0.1

Pieter

Verified User
Joined
Mar 27, 2016
Messages
18
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?
 

Everterstraat

Verified User
Joined
Mar 21, 2015
Messages
25
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!
 

Pieter

Verified User
Joined
Mar 27, 2016
Messages
18
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
 

smtalk

Administrator
Staff member
Joined
Aug 22, 2006
Messages
9,974
Location
LT, EU
Found one issue with PHP8, fixed in CB 2.0 rev. 2651. So, it should be fine now.
 

bdacus01

Verified User
Joined
Jul 22, 2017
Messages
2,692
Location
Murfreesboro
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.
 
Top