#NativePHP fails to install PHP 8.3 binary on Windows (had to manually download zip)

1 messages · Page 1 of 1 (latest)

signal cove
#
  • Hi, I’ve run into a problem while setting up NativePHP on Windows.
    When I run:
    php artisan native:serve -v
    NativePHP tries to unzip php-8.3.zip from
    vendor/nativephp/php-bin/bin/win/x64/php-8.3.zip
    but the file is missing. The process then fails with:
    ENOENT: no such file or directory, open ...\php-8.3.zip
    On older projects, the installation seems to bring down a different PHP binary, but not 8.3.

How I solved it :

  • I manually downloaded the correct PHP 8.3 Windows x64 zip from GitHub, and placed it in the expected folder:
    vendor/nativephp/php-bin/bin/win/x64/php-8.3.zip
    After that, NativePHP successfully unzipped and started.

Question :

  • Why doesn’t composer install / composer update automatically fetch the correct PHP 8.3 zip on Windows for existing projects?
  • Is this an issue with the nativephp/php-bin package not resolving to the latest version?
  • Should we force an update or is there a configuration step I’m missing?
bleak coral
#

You are right, 8.3 on Windows x64 seems to be missing in v1.1.0 🤔 will investigate