Compare commits

..

2 Commits

Author SHA1 Message Date
Ov f9b21bdd0c phpErrOn Dev 2024-06-14 12:26:26 +00:00
Ov 59e21b9185 php-mime-type unable to install 2024-06-14 12:17:07 +00:00
2 changed files with 1979 additions and 1 deletions

View File

@ -6,13 +6,14 @@ WORKDIR /var/www/html
EXPOSE 80 EXPOSE 80
RUN apt-get update --fix-missing -y RUN apt-get update --fix-missing -y
RUN apt-get upgrade -y RUN apt-get upgrade -y
RUN apt-get install -y nano apt-utils apache2 php libapache2-mod-php php-mysql php-zip php-xml php-mbstring php-curl php-gd php-intl php-mime-type #php-mysql PDO driver RUN apt-get install -y nano apt-utils apache2 php libapache2-mod-php php-mysql php-zip php-xml php-mbstring php-curl php-gd php-intl #php-mysql PDO driver
RUN a2enmod rewrite RUN a2enmod rewrite
RUN a2enmod proxy_wstunnel RUN a2enmod proxy_wstunnel
#RUN apt install -y php apahec2 libapache2-mod-php # php-mysql #RUN apt install -y php apahec2 libapache2-mod-php # php-mysql
#COPY my-apache-site.conf /etc/apache2/sites-available/my-apache-site.conf #COPY my-apache-site.conf /etc/apache2/sites-available/my-apache-site.conf
#RUN echo "ServerName localhost" >> /etc/apache2/apache2.conf && a2enmod rewrite && a2dissite 000-default && a2en> #RUN echo "ServerName localhost" >> /etc/apache2/apache2.conf && a2enmod rewrite && a2dissite 000-default && a2en>
COPY php.ini.dev /etc/php/8.2/apache2/php.ini
COPY dir.conf /etc/apache2/mods-enabled/dir.conf COPY dir.conf /etc/apache2/mods-enabled/dir.conf
COPY 000-default.conf /etc/apache2/sites-available/000-default.conf COPY 000-default.conf /etc/apache2/sites-available/000-default.conf
RUN echo "ServerName localhost" >> /etc/apache2/apache2.conf && service apache2 restart RUN echo "ServerName localhost" >> /etc/apache2/apache2.conf && service apache2 restart

File diff suppressed because it is too large Load Diff