NightMeer Posted October 17, 2023 Share Posted October 17, 2023 (edited) Heyho This is a support thread for my ApachePHP8 Docker. Repository: https://github.com/NightMeer/ApachePHP8-Docker All questions/issues related to getting any of my images running on unRAID can be asked here. I will do my best to answer you in a short delay. Edited November 6, 2023 by NightMeer Quote Link to comment
Lionel60 Posted November 2, 2023 Share Posted November 2, 2023 Hello, I've installed your ApachePHP8-docker but I can't find where the php.ini is to indicate the extension to use to access my MariaDB database? Sincerely PS: Since I'm not fluent in English, I used a translation program. Quote Link to comment
NightMeer Posted November 2, 2023 Author Share Posted November 2, 2023 (edited) 8 hours ago, Lionel60 said: Hello, I've installed your ApachePHP8-docker but I can't find where the php.ini is to indicate the extension to use to access my MariaDB database? Sincerely PS: Since I'm not fluent in English, I used a translation program. Hey, Good question. I will try to add it today or tomorrow so that it will be available in 1-2 days. Unfortunately I forgot to include/export the PHP folder. Per Default the Mysqli Extension is installed and enabled. So you can use PHP commands to Connect to the Database. I hope this is the Answer you want/need. Edited November 2, 2023 by NightMeer Quote Link to comment
4rest Posted November 5, 2023 Share Posted November 5, 2023 Hello, can you add the gd and zip Extension? Is needed for a cms. thx Quote Link to comment
NightMeer Posted November 5, 2023 Author Share Posted November 5, 2023 4 hours ago, 4rest said: Hello, can you add the gd and zip Extension? Is needed for a cms. thx Hey, I have added the two extensions. 1 Quote Link to comment
Lionel60 Posted November 7, 2023 Share Posted November 7, 2023 Hello, I have modified the PHP.ini file to allow the PDO_MySQL extension. After restarting the Docker, the problem is still the same, PDO_MySQL does not exist. Can you add this extension? Thanks in advance. Quote Link to comment
NightMeer Posted November 7, 2023 Author Share Posted November 7, 2023 10 hours ago, Lionel60 said: Hello, I have modified the PHP.ini file to allow the PDO_MySQL extension. After restarting the Docker, the problem is still the same, PDO_MySQL does not exist. Can you add this extension? Thanks in advance. Hey, I have added the two extensions. Quote Link to comment
Bovive Posted November 10, 2023 Share Posted November 10, 2023 Thanks for this. Is it possible to add the PHP extensions psql and soap? Thanks again! Quote Link to comment
NightMeer Posted November 10, 2023 Author Share Posted November 10, 2023 5 hours ago, Bovive said: Thanks for this. Is it possible to add the PHP extensions psql and soap? Thanks again! Hey, I have added the two extensions. Quote Link to comment
tertaim Posted December 27, 2023 Share Posted December 27, 2023 (edited) hi, Thx for the great container! could you add gmp? Edited January 3 by tertaim Quote Link to comment
piyper Posted January 11 Share Posted January 11 Hi, Thank you for the container, nice to a one that has PHP 8. I am writing something in PHP and wanted to fork some child processes for certain http requests using pcntl_fork, however, it does not look like it is enabled in your container. Would you happen to have a version where pcntl is enabled or could you enable it and include the module? Thank you Piyper Quote Link to comment
NightMeer Posted January 14 Author Share Posted January 14 On 12/27/2023 at 7:29 PM, tertaim said: hi, Thx for the great container! could you add gmp? Hey, I have added gmp Quote Link to comment
NightMeer Posted January 14 Author Share Posted January 14 On 1/11/2024 at 8:12 PM, piyper said: Hi, Thank you for the container, nice to a one that has PHP 8. I am writing something in PHP and wanted to fork some child processes for certain http requests using pcntl_fork, however, it does not look like it is enabled in your container. Would you happen to have a version where pcntl is enabled or could you enable it and include the module? Thank you Piyper Hey, I have added pcntl Quote Link to comment
unconscious-leech1642 Posted February 9 Share Posted February 9 How do you enable additional sites? I tried following the standard Apache2 method of enabling an additional site on a different port but it fails. I also tried adding an additional port to the configuration and it does not map host to container. I would like to host an addition site in /var/www/html/site2 on port 81. How do I do this? Thanks in advance. Quote Link to comment
DutchTee86 Posted February 17 Share Posted February 17 Hi, Can you add the ioncube loader plugin? Quote Link to comment
Michele Pietsch Posted February 23 Share Posted February 23 Hello, I want to set port 443, how can I do that? When I add it in the settings nothing happens. Quote Link to comment
piyper Posted February 29 Share Posted February 29 (edited) On 2/22/2024 at 7:46 PM, Michele Pietsch said: Hello, I want to set port 443, how can I do that? When I add it in the settings nothing happens. Assuming your network type on the docker is bridged, you probably want to stay away from using 80 or 443 to avoid any conflicts with unraid itself. You could use 443 and 80 if you like, but you should then setup the docker to have a different IP address than your unraid server. To do this, you have to create a custom docker network, then choose that as your network type, you can then assign a new IP address. Make sure it is not within the range of your DHCP server IP range if you are using an IP within the same subnet. You would use the "docker network create SOMENAME" command to create a custom network, then you can specify a different IP in your docker when you select that network type. Steps: 1) Check that in your docker settings (settings->docker->advanced view) you have "Preserve user defined networks" set to yes. 2) Create custom docker network 3) select that custom network in your docker container settings 4) assign an IP (that will not conflict with your DHCP range) 5) set the container ports to be 80 and 443 Your web app should now respond on the browser default ports at that new IP address. Edited February 29 by piyper Quote Link to comment
piyper Posted March 10 Share Posted March 10 (edited) I am working a utility that connects to multiple databases. Could you please some data database driver extensions ? pdo_odbc.so odbc.so if there are specific ones for MS SQL Server or Oracle, I wouldn't mind those, but I think ODBC would cover those. Thank you! Edited March 11 by piyper Quote Link to comment
exwebjunkie Posted March 12 Share Posted March 12 Sorry for a bit of a newbie question, but how would I go about installing python support for apache using this Docker? I think I need to add a2enmod cgid - is it possible to do this from the setup so I can do across multiple sites rather than doing any manual configuration? Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.