Help with corrupted? PHP environment

Also after installing php 8.1 manually you need to create the following wappler_extensions.ini file in:

C:\Users\username\scoop\apps\php81\current\cli\conf.d

# Wappler needed extensions
extension_dir = "C:\Users\username\scoop\apps\php81\current\ext"
extension=curl
extension=gd
extension=mbstring
extension=openssl
extension=gettext
extension=intl
extension=pdo_mysql
extension=pdo_odbc
extension=pdo_pgsql
extension=pdo_sqlite
extension=pgsql

note you need to adjust the extension_dir to match your own path

Thank you, that was one missing piece of the puzzle, 8.1 running now

php -v
PHP 8.1.31 (cli) (built: Nov 19 2024 16:44:13) (ZTS Visual C++ 2019 x64)
Copyright (c) The PHP Group
Zend Engine v4.1.31, Copyright (c) Zend Technologies

BUT still seeing this in dev console when running API actions

<b>Fatal error</b>
:  Composer detected issues in your platform: Your Composer dependencies require the following PHP extensions to be installed: curl, gd, mbstring, openssl. in <b>E:\webs\mysite\www\vendor\composer\platform_check.php</b>
on line <b>41</b>
<br/>

sorry you need to edit the wappler_extensions.ini file and adjust the extension_dir to match your own path

edited the previous instructions

Sorry, i really should have spotted that but feeling a bit "brain fried" today

Still not working.

I think i will just wait for tomorrows update then do a clean re-install, wasted a full day on this

This should now be improved in Wappler 7 beta 13

Thank you, clean reinstall of beta 13 and all working perfectly

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

@patrick Not an issue as i am using 7 Beta now but the site i am working on is working correctly in Beta 13 but still gives the composer error if i use 6.8.0. Version 6.8.0 correctly reports php 8.1

Just in case anyone else has same issues