Spaces:
Runtime error
Runtime error
Commit
·
ccdca6d
1
Parent(s):
5e40098
php no mysql
Browse files- Dockerfile +3 -1
Dockerfile
CHANGED
@@ -2,6 +2,7 @@ FROM debian:12.6
|
|
2 |
|
3 |
RUN apt update -y
|
4 |
RUN apt upgrade -y
|
|
|
5 |
RUN apt install -y curl unzip wget xz-utils gcc make libapr1-dev libaprutil1-dev libpcre3 libpcre3-dev
|
6 |
RUN apt search "Apache Portable Runtime Library"
|
7 |
RUN apt search "Apache Portable Runtime Utility "
|
@@ -66,7 +67,8 @@ RUN tar -xf php-8.3.12.tar.gz
|
|
66 |
RUN cd php-8.3.12
|
67 |
WORKDIR /home/user/php-8.3.12
|
68 |
RUN ls -la
|
69 |
-
RUN ./configure --with-apxs2=/home/user/apache2/bin/apxs --with-mysql
|
|
|
70 |
RUN make
|
71 |
RUN make install
|
72 |
RUN apt install -y php-xml php-sqlite3
|
|
|
2 |
|
3 |
RUN apt update -y
|
4 |
RUN apt upgrade -y
|
5 |
+
RUN apt install -y dialog apt-utils
|
6 |
RUN apt install -y curl unzip wget xz-utils gcc make libapr1-dev libaprutil1-dev libpcre3 libpcre3-dev
|
7 |
RUN apt search "Apache Portable Runtime Library"
|
8 |
RUN apt search "Apache Portable Runtime Utility "
|
|
|
67 |
RUN cd php-8.3.12
|
68 |
WORKDIR /home/user/php-8.3.12
|
69 |
RUN ls -la
|
70 |
+
# RUN ./configure --with-apxs2=/home/user/apache2/bin/apxs --with-mysql
|
71 |
+
RUN ./configure --with-apxs2=/home/user/apache2/bin/apxs
|
72 |
RUN make
|
73 |
RUN make install
|
74 |
RUN apt install -y php-xml php-sqlite3
|