Skip to content

Host PHP version php-5.6.9 -> newer and adding VC_redist.x64.exe as requirement #231

Open
@medmek

Description

@medmek

When I execute manually :
curl http://windows.php.net/downloads/releases/archives/php-5.6.9-nts-Win32-VC11-x86.zip -o lib/php.zip
it creates a small file (1kb)

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   207  100   207    0     0   1510      0 --:--:-- --:--:-- --:--:--  1522

a file that is clearly not the whole php5.6 zip (trying to unzip it manually tells me that it's not a zip file)

So I had to curl manually another version of PHP :
curl https://windows.php.net/downloads/releases/php-7.4.16-nts-Win32-vc15-x64.zip -o lib/php.zip

I also had to install VC_redist.x64.exe like advised in this stackoverflow answer
otherwise I get this :

php --version
PHP Warning: 'vcruntime140.dll' 14.0 is not compatible with this PHP build linked with 14.16 in Unknown on line 0

So it might be a good idea to add VC_redist.x64.exe it to the requirement and update the PHP version to download.
(Or maybe to make a list of versions (list of urls) to try before renouncing the Automatic PHP host installation)

Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions