FaserF / hassio-addons

My personal Homeassistant Add-Ons. For more details have a look at the sub-folders.
55 stars 20 forks source link

[Feature-Request]: Missing php extensions in Apache2 for prestashop #337

Open rysiulg opened 1 month ago

rysiulg commented 1 month ago

The problem

How can I add more php extensions in Apache2?

What version of Home Assistant Core has the issue?

latest

What version of the addon has the issue?

latest

What type of installation are you running?

Home Assistant Supervised

Add-On causing the issue

Apache2

Log information

I want to start prestashop, but there is missing php extensions ;( -how can i add ?

Additional information

No response

FaserF commented 1 month ago

What exactly extension are you missing for your Software?

rysiulg commented 4 weeks ago

after manually added:

RUN apk --no-cache add php83-simplexml php83-gd php83-json php83-iconv php83-php_posix php83-imap php83-apcu

app started to run... some redirects exists, but php is completed but is it possible to add

  1. apache mod_rewrite enabled to non ssl sites also -now is only available for ssl cites only?
  2. Increase php_input limit tp eg 128M or 256M?
  3. is it possible to add php xcache, apcache and/or memcached?
rysiulg commented 4 weeks ago

I also needed add full permission 777 to mapped html root folder -something is wrong with mapping to username and get permissions to write to folder from web ;( -update of prestashop addons wont work otherwise ;(

FaserF commented 1 week ago

For now you can add your php files with this: https://github.com/FaserF/hassio-addons/tree/master/apache2#option-init_commands For more instructions, have a look here: https://github.com/FaserF/hassio-addons/issues/124

I will have a look into adding them to the repo directly too.