This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Pages: [1]
1
CentOS 8 Problems / Re: PHP compiling fails, strange ld / ldconfig behaviour?
« on: July 09, 2025, 07:54:27 PM »
Thank you for your reply.
PHP switcher also did not work correctly, i tried it, same error messages in logfile regarding bz2... seems i am stuck at 7.4.33?
My end goal/s would be to (depends on solution/s)
- keep PHP 7.4.33 for compatibility issues as "base version"
- be able to compile (php >8.2 needed) other versions with php selector
- and maybe php-fpm selector too
Or a way how i can add alternate php versions manually?
What is your end goal? Which mode are you going to use -- PHP switcher, suPHP, or php-fpm? Which versions of PHP would you like to have? Each case is a bit different.
PHP switcher also did not work correctly, i tried it, same error messages in logfile regarding bz2... seems i am stuck at 7.4.33?
My end goal/s would be to (depends on solution/s)
- keep PHP 7.4.33 for compatibility issues as "base version"
- be able to compile (php >8.2 needed) other versions with php selector
- and maybe php-fpm selector too
Or a way how i can add alternate php versions manually?
2
CentOS 8 Problems / PHP compiling fails, strange ld / ldconfig behaviour?
« on: July 09, 2025, 11:04:46 AM »
Hello,
since i am trying to fix my troubles with recompiling different php versions in CWPpro, i maybe found some strange things.
I always get error-messages in the php build logs like "bz2" not found.
So i tried to "ld -libbz2 --verbose" and see
So libibbz2.so is definiteley not installed, because there is no libibbz2 lib, right?
I tested with other libs like librt, and found out, that ld is also searching for the libIBrt.so file? Where is this coming from and
how to fix that?
OS: AlmaLinux 8
Update:
The output of ldconfig is correct...
Thank you very much,
regards
since i am trying to fix my troubles with recompiling different php versions in CWPpro, i maybe found some strange things.
I always get error-messages in the php build logs like "bz2" not found.
So i tried to "ld -libbz2 --verbose" and see
Code: [Select]
attempt to open //usr/lib64/libibbz2.so
So libibbz2.so is definiteley not installed, because there is no libibbz2 lib, right?
I tested with other libs like librt, and found out, that ld is also searching for the libIBrt.so file? Where is this coming from and
how to fix that?
Code: [Select]
attempt to open //usr/lib64/libibrt.so failed
OS: AlmaLinux 8
Update:
The output of ldconfig is correct...
Code: [Select]
[root@s1 ~]# ldconfig -p | grep bz2
libbz2.so.1 (libc6,x86-64) => /usr/lib64/libbz2.so.1
libbz2.so (libc6,x86-64) => /usr/lib64/libbz2.so
Thank you very much,
regards
3
PHP Selector / Unable to compile ANY version with PHP Switcher and Selector / FPM selector
« on: July 08, 2025, 12:43:52 PM »
Hello,
just upgraded my CWP version to Pro to be able to switch easy between php versions.
On first installation - some time ago - i decided for php version 7.4.33 for compatibily reasons.
Now i wanted to install new sub-domain for a service which requires php >8.2.
After upgrading to pro, i tried to compile with the php selector version 8.2.28 - not working , also i can not compile a fpm version.
Then i tried to change the main version from 7.4.33 to 8.2 - it compiles (like the selectors did) with the end message
Also some errors in the log:
I am running CWP Pro on AlmaLinux8 - everything updated all the time.
I contacted the support why i can not compile ANY other version - someone tried to solve it, but it did not work.
Now they want me to pay for support - for getting what i am paying for the pro version...
just upgraded my CWP version to Pro to be able to switch easy between php versions.
On first installation - some time ago - i decided for php version 7.4.33 for compatibily reasons.
Now i wanted to install new sub-domain for a service which requires php >8.2.
After upgrading to pro, i tried to compile with the php selector version 8.2.28 - not working , also i can not compile a fpm version.
Then i tried to change the main version from 7.4.33 to 8.2 - it compiles (like the selectors did) with the end message
Code: [Select]
Build Completed
###################
Error:Can't add notification!
Also some errors in the log:
Code: [Select]
Package openldap-devel-2.4.46-21.el8_10.x86_64 is already installed.
Error: Unable to find a match: compat-openldap openldap-servers-sql
ln: failed to create symbolic link '/usr/lib/libldap.so': File exists
ln: failed to create symbolic link '/usr/lib/libldap_r.s': File exists
checking for BZ2_bzerror in -lbz2... no
configure: error: bz2 module requires libbz2 >= 1.0.0
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target 'install'. Stop.
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
checking target system type... x86_64-pc-linux-gnu
configure: error: Cannot find php-config. Please use --with-php-config=PATH
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target 'install'. Stop.
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Package ImageMagick-perl-6.9.13.25-1.el8.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
chdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Cloning into 'imagick'...
/usr/local/cwpsrv/htdocs/resources/conf/el8/php_selector/external_modules/8.2/imagick.sh: line 8: /opt/alt/php82/usr/bin/phpize: No such file or directory
ln: failed to create symbolic link '/usr/local/include/ImageMagick': File exists
/usr/local/cwpsrv/htdocs/resources/conf/el8/php_selector/external_modules/8.2/imagick.sh: line 10: ./configure: No such file or directory
cat clean.sh >clean
chmod a+x clean
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target 'install'. Stop.
I am running CWP Pro on AlmaLinux8 - everything updated all the time.
I contacted the support why i can not compile ANY other version - someone tried to solve it, but it did not work.
Now they want me to pay for support - for getting what i am paying for the pro version...
Pages: [1]