mirror of
https://github.com/danog/php.git
synced 2024-11-27 04:14:56 +01:00
Added mysql PDO support to compile flags in versions with Apache
This commit is contained in:
parent
8e361ec201
commit
7d61fd53df
@ -52,7 +52,7 @@ RUN set -x \
|
||||
&& echo "<html><head></head><body><?php echo '<h1>Hello, World!</h1>'; ?></body></html>" >> /var/www/html/index.php \
|
||||
&& cd /usr/src/php \
|
||||
&& make clean \
|
||||
&& ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql --with-mysqli \
|
||||
&& ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql --with-mysqli --with-pdo-mysql \
|
||||
&& make -j"$(nproc)" \
|
||||
&& make install \
|
||||
&& cp php.ini-development /usr/local/lib/php.ini \
|
||||
|
@ -51,7 +51,7 @@ RUN set -x \
|
||||
&& echo "<html><head></head><body><?php echo '<h1>Hello, World!</h1>'; ?></body></html>" >> /var/www/html/index.php \
|
||||
&& cd /usr/src/php \
|
||||
&& make clean \
|
||||
&& ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql --with-mysqli \
|
||||
&& ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql --with-mysqli --with-pdo-mysql \
|
||||
&& make -j"$(nproc)" \
|
||||
&& make install \
|
||||
&& cp php.ini-development /usr/local/lib/php.ini \
|
||||
|
@ -51,7 +51,7 @@ RUN set -x \
|
||||
&& echo "<html><head></head><body><?php echo '<h1>Hello, World!</h1>'; ?></body></html>" >> /var/www/html/index.php \
|
||||
&& cd /usr/src/php \
|
||||
&& make clean \
|
||||
&& ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql --with-mysqli \
|
||||
&& ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql --with-mysqli --with-pdo-mysql \
|
||||
&& make -j"$(nproc)" \
|
||||
&& make install \
|
||||
&& cp php.ini-development /usr/local/lib/php.ini \
|
||||
|
@ -51,7 +51,7 @@ RUN set -x \
|
||||
&& echo "<html><head></head><body><?php echo '<h1>Hello, World!</h1>'; ?></body></html>" >> /var/www/html/index.php \
|
||||
&& cd /usr/src/php \
|
||||
&& make clean \
|
||||
&& ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql --with-mysqli \
|
||||
&& ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql --with-mysqli --with-pdo-mysql \
|
||||
&& make -j"$(nproc)" \
|
||||
&& make install \
|
||||
&& cp php.ini-development /usr/local/lib/php.ini \
|
||||
|
@ -28,7 +28,7 @@
|
||||
&& echo "<html><head></head><body><?php echo '<h1>Hello, World!</h1>'; ?></body></html>" >> /var/www/html/index.php \
|
||||
&& cd /usr/src/php \
|
||||
&& make clean \
|
||||
&& ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql --with-mysqli \
|
||||
&& ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql --with-mysqli --with-pdo-mysql \
|
||||
&& make -j"$(nproc)" \
|
||||
&& make install \
|
||||
&& cp php.ini-development /usr/local/lib/php.ini \
|
||||
|
Loading…
Reference in New Issue
Block a user