File tree 4 files changed +12
-2
lines changed
4 files changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -236,7 +236,6 @@ RUN cd /usr/src/php/ext \
236
236
# RUN pecl install intl && docker-php-ext-enable intl
237
237
RUN pecl install imagick && docker-php-ext-enable imagick
238
238
RUN pecl install xdebug
239
- RUN echo "expose_php=Off" >> /usr/local/etc/php/conf.d/noexposure.ini
240
239
# libsodium needs 1.0.9 but had 1.0.0 only. So not using it at the moment
241
240
# RUN pecl install libsodium-2.0.21 && docker-php-ext-enable libsodium
242
241
@@ -258,6 +257,8 @@ RUN rm -f /etc/apache2/conf-enabled/security.conf /etc/apache2/conf-available/se
258
257
COPY etc/conf/ /etc/apache2/conf-enabled/
259
258
COPY apache2-foreground /usr/local/bin/
260
259
260
+ ADD etc/php/ /usr/local/etc/php/conf.d/
261
+
261
262
RUN apache2ctl -v
262
263
RUN php -v
263
264
RUN php -m
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ by default so most PHP applications can run without much tweaks. Check the [Dock
6
6
The Dockerhub image name is ` technicalguru/rs-php `
7
7
8
8
# Releases / Tags
9
- * 8.1.5-apache-2.4.53.1
9
+ * 8.1.5-apache-2.4.53.2
10
10
* 7.4.28-apache-2.4.53.1
11
11
* 7.4.28-apache-2.4.52.0
12
12
* 7.4.24-apache-2.4.48.1
@@ -55,6 +55,12 @@ xmlwriter
55
55
zip
56
56
zlib
57
57
58
+ # Modfied INI settings (varying from default)
59
+ ```
60
+ expose_php=Off
61
+ display_errors=Off
62
+ ```
63
+
58
64
# License
59
65
All scripts are either taken from PHP original Docker image and adapted to work with the latest Apache or created on my own. However, the main
60
66
credit goes to PHP and its prior work. The [ PHP LICENSE] ( PHP_LICENSE.txt ) is distributed here.
Original file line number Diff line number Diff line change
1
+ display_errors =Off
2
+ expose_php =Off
Original file line number Diff line number Diff line change
1
+ technicalguru/rs-php
You can’t perform that action at this time.
0 commit comments