YunoHost-Apps / my_webapp_ynh

Custom Web app with SFTP access
GNU General Public License v3.0
48 stars 39 forks source link

How to activate PHP modules #22

Closed gryckelynck closed 2 years ago

gryckelynck commented 6 years ago

I'd like to activate sqlite driver. Is it possible? How to access to php.ini to do this, please?

Thatoo commented 2 years ago

How could I install and use these following modules php-curl php-gd php-mysql php-mbstring?

ericgaspar commented 2 years ago

try sudo apt install php8.0-curl php8.0-gd php8.0-mysql php8.0-mbstring replace whith the PHP version you want

Thatoo commented 2 years ago

php7.3-curl php7.3-gd php7.3-mysql php7.3-mbstring are already installed but when I go to the webapp page, I get this error : Fatal error: Uncaught Error: Class 'mysqli' not found in

ericgaspar commented 2 years ago

What about installing php7.3-mysqli

Thatoo commented 2 years ago

php7.3-mysqli doesn't exist, I believe it is included in php7.3-mysql. I guess something need to be set in php.ini

Thatoo commented 2 years ago

I uninstall custom webapp and reinstall and it seems to work now