Skip to content

Conversation

kakserpom
Copy link
Contributor

cargo-php fails to detect extension directory if there's a startup error in PHP.

Error: Failed to create extension directory at "\nWarning: PHP Startup: Invalid library (maybe not a PHP library) \'libuntitled5.dylib\' in Unknown on line 0\n/opt/homebrew/lib/php/pecl/20240924-zts"

Caused by:
    No such file or directory (os error 2)

It's pretty annoying as it makes you go to php.ini and remove extension=... manually.

@Xenira Xenira added the bug Something isn't working label Jun 20, 2025
@coveralls
Copy link

coveralls commented Jun 20, 2025

Pull Request Test Coverage Report for Build 15997416613

Details

  • 0 of 2 (0.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 20.545%

Changes Missing Coverage Covered Lines Changed/Added Lines %
crates/cli/src/lib.rs 0 2 0.0%
Totals Coverage Status
Change from base Build 15997128936: 0.0%
Covered Lines: 761
Relevant Lines: 3704

💛 - Coveralls

@ptondereau
Copy link
Collaborator

you have some clippy related to your addition. Can you please fix it?

@kakserpom kakserpom force-pushed the cargo_php_stdout_noise_tolerance branch from e4f6805 to e91fcc6 Compare June 27, 2025 10:16
@kakserpom
Copy link
Contributor Author

@ptondereau done

@Xenira Xenira force-pushed the cargo_php_stdout_noise_tolerance branch from e91fcc6 to 502bf5d Compare July 1, 2025 10:58
@Xenira Xenira merged commit 3dd870a into davidcole1340:master Jul 1, 2025
55 checks passed
@davidcole1340 davidcole1340 mentioned this pull request Jul 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants