Skip to content

PHP Extension "rar" could not be installed via PECL despite it is available... #6635

Answered by szaimen
cristo357 asked this question in Questions
Discussion options

You must be logged in to vote

Hey, I just tried to test-install the rar extension and it looks like it is not compatible with php8.3:

  787 |                         zend_string *arc_str = zend_resolve_path(tmp_archive, tmp_arch_len);
      |                                                                  ^~~~~~~~~~~
      |                                                                  |
      |                                                                  char *
/tmp/pear/temp/rar/rar_stream.c:787:66: note: expected 'zend_string *' {aka 'struct _zend_string *'} but argument is of type 'char *'
/tmp/pear/temp/rar/rar_stream.c:787:48: error: too many arguments to function 'zend_resolve_path'
  787 |             …

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by szaimen
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants
Converted from issue

This discussion was converted from issue #6632 on July 09, 2025 10:59.