Author Topic: PHP Switcher ERROR  (Read 2617 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
PHP Switcher ERROR
« on: March 20, 2024, 12:47:36 AM »
Hello, I have been trying to install cwp as always but on my last two machines when trying to change the PHP version from the PHP Switcher it gives me a single error at the end and I cannot find the cause, I attach the log. I tried the free and pro versions and I got the same result.

"Failed to Download PHP version 8.2.17!" , If I try to download another version I get the same result and with the PHP 8.2 message even if I don't choose this one. Has this ever happened to you? Do you know what it could be?, thanks .

cut the beginning of the log since it does not fit
Code: [Select]

[100%] Linking C executable tryopen

[100%] Built target tryopen

[100%] Built target testinput

[100%] Building C object examples/CMakeFiles/in-memory.dir/in-memory.c.o

[100%] Linking C executable in-memory

[100%] Built target in-memory

[ 46%] Built target zip

[ 85%] Built target man

[ 87%] Built target zipcmp

[ 87%] Built target zipmerge

[ 89%] Built target ziptool

[ 89%] Built target can_clone_file

[ 89%] Built target add_from_filep

[ 91%] Built target fopen_unchanged

[ 92%] Built target fseek

[ 92%] Built target nonrandomopentest

[ 94%] Built target hole

[ 96%] Built target ziptool_regress

[ 98%] Built target nonrandomopen

[ 98%] Built target fread

[100%] Built target tryopen

[100%] Built target testinput

[100%] Built target in-memory

Install the project...

-- Install configuration: ""

-- Installing: /usr/local/lib64/pkgconfig/libzip.pc

-- Installing: /usr/local/include/zipconf.h

-- Up-to-date: /usr/local/include/zip.h

-- Installing: /usr/local/lib64/libzip.so.5.0

-- Up-to-date: /usr/local/lib64/libzip.so.5

-- Up-to-date: /usr/local/lib64/libzip.so

-- Installing: /usr/local/share/man/man3/ZIP_SOURCE_GET_ARGS.3

-- Installing: /usr/local/share/man/man3/libzip.3

-- Installing: /usr/local/share/man/man3/zip_add.3

-- Installing: /usr/local/share/man/man3/zip_add_dir.3

-- Installing: /usr/local/share/man/man3/zip_close.3

-- Installing: /usr/local/share/man/man3/zip_delete.3

-- Installing: /usr/local/share/man/man3/zip_dir_add.3

-- Installing: /usr/local/share/man/man3/zip_discard.3

-- Installing: /usr/local/share/man/man3/zip_error_clear.3

-- Installing: /usr/local/share/man/man3/zip_error_code_system.3

-- Installing: /usr/local/share/man/man3/zip_error_code_zip.3

-- Installing: /usr/local/share/man/man3/zip_error_fini.3

-- Installing: /usr/local/share/man/man3/zip_error_get.3

-- Installing: /usr/local/share/man/man3/zip_error_get_sys_type.3

-- Installing: /usr/local/share/man/man3/zip_error_init.3

-- Installing: /usr/local/share/man/man3/zip_error_set.3

-- Installing: /usr/local/share/man/man3/zip_error_strerror.3

-- Installing: /usr/local/share/man/man3/zip_error_system_type.3

-- Installing: /usr/local/share/man/man3/zip_error_to_data.3

-- Installing: /usr/local/share/man/man3/zip_error_to_str.3

-- Installing: /usr/local/share/man/man3/zip_errors.3

-- Installing: /usr/local/share/man/man3/zip_fclose.3

-- Installing: /usr/local/share/man/man3/zip_fdopen.3

-- Installing: /usr/local/share/man/man3/zip_file_add.3

-- Installing: /usr/local/share/man/man3/zip_file_extra_field_delete.3

-- Installing: /usr/local/share/man/man3/zip_file_extra_field_get.3

-- Installing: /usr/local/share/man/man3/zip_file_extra_field_set.3

-- Installing: /usr/local/share/man/man3/zip_file_extra_fields_count.3

-- Installing: /usr/local/share/man/man3/zip_file_get_comment.3

-- Installing: /usr/local/share/man/man3/zip_file_get_error.3

-- Installing: /usr/local/share/man/man3/zip_file_get_external_attributes.3

-- Installing: /usr/local/share/man/man3/zip_file_rename.3

-- Installing: /usr/local/share/man/man3/zip_file_set_comment.3

-- Installing: /usr/local/share/man/man3/zip_file_set_encryption.3

-- Installing: /usr/local/share/man/man3/zip_file_set_external_attributes.3

-- Installing: /usr/local/share/man/man3/zip_file_set_mtime.3

-- Installing: /usr/local/share/man/man3/zip_file_strerror.3

-- Installing: /usr/local/share/man/man3/zip_fopen.3

-- Installing: /usr/local/share/man/man3/zip_fopen_encrypted.3

-- Installing: /usr/local/share/man/man3/zip_fread.3

-- Installing: /usr/local/share/man/man3/zip_fseek.3

-- Installing: /usr/local/share/man/man3/zip_ftell.3

-- Installing: /usr/local/share/man/man3/zip_get_archive_comment.3

-- Installing: /usr/local/share/man/man3/zip_get_archive_flag.3

-- Installing: /usr/local/share/man/man3/zip_get_error.3

-- Installing: /usr/local/share/man/man3/zip_get_file_comment.3

-- Installing: /usr/local/share/man/man3/zip_get_name.3

-- Installing: /usr/local/share/man/man3/zip_get_num_entries.3

-- Installing: /usr/local/share/man/man3/zip_get_num_files.3

-- Installing: /usr/local/share/man/man3/zip_libzip_version.3

-- Installing: /usr/local/share/man/man3/zip_name_locate.3

-- Installing: /usr/local/share/man/man3/zip_open.3

-- Installing: /usr/local/share/man/man3/zip_register_progress_callback.3

-- Installing: /usr/local/share/man/man3/zip_register_progress_callback_with_state.3

-- Installing: /usr/local/share/man/man3/zip_rename.3

-- Installing: /usr/local/share/man/man3/zip_set_archive_comment.3

-- Installing: /usr/local/share/man/man3/zip_set_archive_flag.3

-- Installing: /usr/local/share/man/man3/zip_set_default_password.3

-- Installing: /usr/local/share/man/man3/zip_set_file_comment.3

-- Installing: /usr/local/share/man/man3/zip_set_file_compression.3

-- Installing: /usr/local/share/man/man3/zip_source.3

-- Installing: /usr/local/share/man/man3/zip_source_begin_write.3

-- Installing: /usr/local/share/man/man3/zip_source_buffer.3

-- Installing: /usr/local/share/man/man3/zip_source_buffer_fragment.3

-- Installing: /usr/local/share/man/man3/zip_source_close.3

-- Installing: /usr/local/share/man/man3/zip_source_commit_write.3

-- Installing: /usr/local/share/man/man3/zip_source_error.3

-- Installing: /usr/local/share/man/man3/zip_source_file.3

-- Installing: /usr/local/share/man/man3/zip_source_filep.3

-- Installing: /usr/local/share/man/man3/zip_source_free.3

-- Installing: /usr/local/share/man/man3/zip_source_function.3

-- Installing: /usr/local/share/man/man3/zip_source_is_deleted.3

-- Installing: /usr/local/share/man/man3/zip_source_keep.3

-- Installing: /usr/local/share/man/man3/zip_source_make_command_bitmap.3

-- Installing: /usr/local/share/man/man3/zip_source_open.3

-- Installing: /usr/local/share/man/man3/zip_source_read.3

-- Installing: /usr/local/share/man/man3/zip_source_rollback_write.3

-- Installing: /usr/local/share/man/man3/zip_source_seek.3

-- Installing: /usr/local/share/man/man3/zip_source_seek_compute_offset.3

-- Installing: /usr/local/share/man/man3/zip_source_seek_write.3

-- Installing: /usr/local/share/man/man3/zip_source_stat.3

-- Installing: /usr/local/share/man/man3/zip_source_tell.3

-- Installing: /usr/local/share/man/man3/zip_source_tell_write.3

-- Installing: /usr/local/share/man/man3/zip_source_win32a.3

-- Installing: /usr/local/share/man/man3/zip_source_win32handle.3

-- Installing: /usr/local/share/man/man3/zip_source_win32w.3

-- Installing: /usr/local/share/man/man3/zip_source_write.3

-- Installing: /usr/local/share/man/man3/zip_source_zip.3

-- Installing: /usr/local/share/man/man3/zip_stat.3

-- Installing: /usr/local/share/man/man3/zip_stat_init.3

-- Installing: /usr/local/share/man/man3/zip_unchange.3

-- Installing: /usr/local/share/man/man3/zip_unchange_all.3

-- Installing: /usr/local/share/man/man3/zip_unchange_archive.3

-- Installing: /usr/local/share/man/man1/zipcmp.1

-- Installing: /usr/local/share/man/man1/zipmerge.1

-- Installing: /usr/local/share/man/man1/ziptool.1

-- Installing: /usr/local/share/man/man3/zip_replace.3

-- Installing: /usr/local/share/man/man3/zip_file_error_clear.3

-- Installing: /usr/local/share/man/man3/zip_file_error_get.3

-- Installing: /usr/local/share/man/man3/zip_error_init_with_code.3

-- Installing: /usr/local/share/man/man3/zip_file_replace.3

-- Installing: /usr/local/share/man/man3/zip_file_extra_field_delete_by_id.3

-- Installing: /usr/local/share/man/man3/zip_file_extra_field_get_by_id.3

-- Installing: /usr/local/share/man/man3/zip_file_extra_fields_count_by_id.3

-- Installing: /usr/local/share/man/man3/zip_strerror.3

-- Installing: /usr/local/share/man/man3/zip_fopen_index.3

-- Installing: /usr/local/share/man/man3/zip_fopen_index_encrypted.3

-- Installing: /usr/local/share/man/man3/zip_open_from_source.3

-- Installing: /usr/local/share/man/man3/zip_source_begin_write_cloning.3

-- Installing: /usr/local/share/man/man3/zip_source_buffer_create.3

-- Installing: /usr/local/share/man/man3/zip_source_buffer_fragment_create.3

-- Installing: /usr/local/share/man/man3/zip_source_file_create.3

-- Installing: /usr/local/share/man/man3/zip_source_filep_create.3

-- Installing: /usr/local/share/man/man3/zip_source_function_create.3

-- Installing: /usr/local/share/man/man3/zip_source_win32a_create.3

-- Installing: /usr/local/share/man/man3/zip_source_win32handle_create.3

-- Installing: /usr/local/share/man/man3/zip_source_win32w_create.3

-- Installing: /usr/local/share/man/man3/zip_stat_index.3

-- Installing: /usr/local/bin/zipcmp

-- Set runtime path of "/usr/local/bin/zipcmp" to ""

-- Installing: /usr/local/bin/zipmerge

-- Set runtime path of "/usr/local/bin/zipmerge" to ""

-- Installing: /usr/local/bin/ziptool

-- Set runtime path of "/usr/local/bin/ziptool" to ""

Failed to Download PHP version 8.2.17!

Offline
*
Re: PHP Switcher ERROR
« Reply #1 on: March 20, 2024, 12:24:31 PM »
What machine do you use? Is there any network issue from accessing the PHP repository?

Offline
*
Re: PHP Switcher ERROR
« Reply #2 on: March 20, 2024, 05:59:14 PM »
I was able to solve it by installing the system again and not updating the yum, I installed cwp and it worked there  ::)

Offline
*****
Re: PHP Switcher ERROR
« Reply #3 on: March 20, 2024, 08:10:11 PM »
If you're starting with a fresh installation, I would suggest AlmaLinux 8 as a better foundation for a server. As a rolling release, CentOS 8 Stream is not suitable for server duty, even with delayed repos.

Offline
*
Re: PHP Switcher ERROR
« Reply #4 on: March 20, 2024, 11:15:45 PM »
I am having the same problem.
centos 8 stream latest cpw version,

a fresh updated vm system that runs nothing and is only being used to test and try out.

-- Set runtime path of "/usr/local/bin/ziptool" to ""

Failed to Download PHP version 8.2.17!

that is the mssage i get. the firewall is empty / no blocks so that cant be the issue.

whats happening ?

Offline
*****
Re: PHP Switcher ERROR
« Reply #5 on: March 20, 2024, 11:22:37 PM »
Install a NON-beta operating system like AlmaLinux 8 like @overseer recommended and you won't have a problem.

CentOS 8 is dead, and has been dead. CentOS Stream is a beta operating system for RHEL.
Fedora is the alpha.

Fedora (alpha) -> Stream (beta) -> RHEL

Offline
*
Re: PHP Switcher ERROR
« Reply #6 on: March 20, 2024, 11:38:37 PM »
i do not know Alma Linux. I am a total linux noob any ways. I used centos because a friend of me used it for some servers we used back in the time and i learned some over the years. but it keeps changing and drives me crazy, just when i finally memorised procedures and commands.. they gone and replaced again with just a little different syntax.

So i guess im going to set upa alma linux vm and see how that goes.

Im not running production, i just use for my own websites and website creation and such,  so i simply reinstall my baremetal server when Alma runs better.

Lets see.

Offline
*****
Re: PHP Switcher ERROR
« Reply #7 on: March 20, 2024, 11:44:24 PM »
If you know RH commands, then they are all the same.
RHEL, AlmaLinux/CloudLInux, RockyLinux, etc.

The only real major one is yum is now dnf. But yum still works in 8.

AlmaLinux runs the best out of all the distros. We have it running on all of the productions and mirror servers.

Offline
*****
Re: PHP Switcher ERROR
« Reply #8 on: March 21, 2024, 03:55:51 PM »
First, I aplogize @gabrielwz and @Dutch_Mike


OK, there is a MAJOR BUG in 0.9.8.1177
Just posted it under bugs, and reported it to CWP.

I just tried to start updating PHP to 8.2.17, running AlmaLinux 8.9, "Failed to Download PHP version 8.2.17!"

As you can see ziptool is installed. :/
And no other updates are available.


Offline
*****
Re: PHP Switcher ERROR
« Reply #9 on: March 22, 2024, 02:37:17 PM »
CWP got the bug fixed.  :)

Offline
*****
Re: PHP Switcher ERROR
« Reply #10 on: March 26, 2024, 02:04:35 PM »
It turned out to be a CWP bug in the backend that has since been resolved on 2024-03-22.

Cute try to hide an ad link in your post, which BTW is a word salad.
« Last Edit: March 26, 2024, 02:13:03 PM by Starburst »

Offline
*****
Re: PHP Switcher ERROR
« Reply #11 on: March 26, 2024, 04:52:39 PM »
Most AI bots can only churn out word salad. I say the emporer has no clothes -- pass the dressing!