Skip to content

Commit 21df8a5

Browse files
committed
Merge pull request #7 from mattva01/master
Added compile option --with-mysqli in versions with Apache
2 parents cca8553 + 7d61fd5 commit 21df8a5

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

5.3/apache/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ RUN set -x \
5252
&& echo "<html><head></head><body><?php echo '<h1>Hello, World!</h1>'; ?></body></html>" >> /var/www/html/index.php \
5353
&& cd /usr/src/php \
5454
&& make clean \
55-
&& ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql \
55+
&& ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql --with-mysqli --with-pdo-mysql \
5656
&& make -j"$(nproc)" \
5757
&& make install \
5858
&& cp php.ini-development /usr/local/lib/php.ini \

5.4/apache/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ RUN set -x \
5151
&& echo "<html><head></head><body><?php echo '<h1>Hello, World!</h1>'; ?></body></html>" >> /var/www/html/index.php \
5252
&& cd /usr/src/php \
5353
&& make clean \
54-
&& ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql \
54+
&& ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql --with-mysqli --with-pdo-mysql \
5555
&& make -j"$(nproc)" \
5656
&& make install \
5757
&& cp php.ini-development /usr/local/lib/php.ini \

5.5/apache/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ RUN set -x \
5151
&& echo "<html><head></head><body><?php echo '<h1>Hello, World!</h1>'; ?></body></html>" >> /var/www/html/index.php \
5252
&& cd /usr/src/php \
5353
&& make clean \
54-
&& ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql \
54+
&& ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql --with-mysqli --with-pdo-mysql \
5555
&& make -j"$(nproc)" \
5656
&& make install \
5757
&& cp php.ini-development /usr/local/lib/php.ini \

5.6/apache/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ RUN set -x \
5151
&& echo "<html><head></head><body><?php echo '<h1>Hello, World!</h1>'; ?></body></html>" >> /var/www/html/index.php \
5252
&& cd /usr/src/php \
5353
&& make clean \
54-
&& ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql \
54+
&& ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql --with-mysqli --with-pdo-mysql \
5555
&& make -j"$(nproc)" \
5656
&& make install \
5757
&& cp php.ini-development /usr/local/lib/php.ini \

Dockerfile-apache-insert

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
&& echo "<html><head></head><body><?php echo '<h1>Hello, World!</h1>'; ?></body></html>" >> /var/www/html/index.php \
2929
&& cd /usr/src/php \
3030
&& make clean \
31-
&& ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql \
31+
&& ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql --with-mysqli --with-pdo-mysql \
3232
&& make -j"$(nproc)" \
3333
&& make install \
3434
&& cp php.ini-development /usr/local/lib/php.ini \

0 commit comments

Comments
 (0)