Wappler Local Server, PHP & PHP Composer cannot be installed (5.6.0 version)

Wappler Version : 5.6.0
Operating System : Windows 10 / 64 Bits
Server Model: PHP
Database Type: MySql
Hosting Type: Local

Hi everyone!

I’ve been waiting for an update of the PHP features for Wappler for a long time.

I’m still disappointed.

  • Should I reinstall Wappler on a blank Windows environment because of minor changes?

Indeed, after the 5.6.0 update, I was eager to try Wappler without external input with its Wappler Local Server and PHP Composer…

I find myself once again at the starting point. Although Wappler is great and allows to speed up the production… Installing it for standalone PHP use is not easy. Everything is easier with NodeJS…

I want to use NodeJS and everything Javascript as little as possible.

Here is the silly mistake:

Scoop uses Git to update itself. Run ‘scoop install git’ and try again.
WARN Purging previous failed installation of php.
ERROR ‘php’ isn’t installed correctly.
Removing older version (8.1.10).
‘php’ was uninstalled.
Installing ‘php’ (8.1.10) [64bit] from main bucket
Le serveur distant a retourné une erreur : (404) Introuvable.
URL https://windows.php.net/downloads/releases/php-8.1.10-Win32-vs16-x64.zip is not valid

It is clear that this depends only on the source server for the packages. Let’s look at the source folder:
https://windows.php.net/downloads/releases/

php error 02

php-8.1.10-Win32-vs16-x64.zip is not there.:pensive:

This is annoying…

I made this post a bit to prick the developers of this great tool in order not to forget that if the web arrived at this level today, it is largely thanks to PHP. And that we should not forget that it is still very represented. Especially in the Web 3.

This problem is not your fault. URLs change all the time. :hot_face:

It is very good to evolve… But many are those who remain on the side of the road.
The devil is in the little details.

Please excuse me for this too serious area. I felt “naked” and “helpless” after the update :sweat_smile:

Seems you have somehow a corrupted or incomplete installation of scoop the windows installer we use to automatically install needed software.

So maybe try as it suggest to install git with it and then update scoop or remove scoop completely first and install it clean or let Wappler do so.

Hello George,

I have neither Git nor Scoop installed on my machine.
I always let Wappler install third party applications.

Installing git

After a quick visual error :hot_face:

I close my project and re-open it

PHP Error
Then click on => System Check button

Re-opening my project:

Error:

‘php’ n’est pas reconnu en tant que commande interne
ou externe, un programme exécutable ou un fichier de commandes.
=>
‘php’ is not recognized as an internal or external command
or external command, an executable program or a command file.

=>Click on Install PHP package button

After 2 seconds, the light turns red again.
Unable to run the server

‘php’ is not recognized as an internal or external command
or external command, an executable program or a command file.

I found a non-academic solution (some bugs)

Terminal
scoop uninstall php
php error 04 - scoop unistall php

reinstall php
scoop install php

Run server

1 Like

@George, it’s the solution but some bugs.

Ex: routing do not works…

good to hear it is all solved. Yes having a good scoop installation is important.

As for routing it will be available in the next update

2 Likes

Fixed in Wappler 5.6.1

1 Like

This topic was automatically closed after 47 hours. New replies are no longer allowed.