We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I tried
docker run --name ur-70 -v "$PWD":/var/www/html -p 8009:80 -e PHP_php5enmod='mysql mysqli mcrypt mbstring' -e HTTPD_a2enmod='headers setenvif rewrite status expires filter deflate php7.0 mime' --link ls-mysql:mysql-host -d alterway/php:7.0-apache
and
docker run --name ur-53 -v "$PWD":/var/www/html -p 8009:80 -e PHP_php5enmod='mysql mysqli mcrypt mbstring' -e HTTPD_a2enmod='headers setenvif rewrite status expires filter deflate php5 mime' --link ls-mysql:mysql-host -d alterway/php:7.0-apache
First failed with ERROR: Module php7.0 does not exist!, second with ERROR: Module php5 does not exist!.
Can you tell me how to start a container with php7 on apache?
The text was updated successfully, but these errors were encountered:
Found the issue. mysql is not a valid php module anymore. Just removing mysql from PHP_php5enmod did the trick (and php* from HTTPD_a2enmod).
Sorry, something went wrong.
@ideadapt Did you try to load the pdo_mysql module?
pdo_mysql
@alexislefebvre No I didn't. I have not been working on this since I found a working solution that fits my case (see comment from 28 Jul).
No branches or pull requests
I tried
docker run --name ur-70 -v "$PWD":/var/www/html -p 8009:80 -e PHP_php5enmod='mysql mysqli mcrypt mbstring' -e HTTPD_a2enmod='headers setenvif rewrite status expires filter deflate php7.0 mime' --link ls-mysql:mysql-host -d alterway/php:7.0-apache
and
docker run --name ur-53 -v "$PWD":/var/www/html -p 8009:80 -e PHP_php5enmod='mysql mysqli mcrypt mbstring' -e HTTPD_a2enmod='headers setenvif rewrite status expires filter deflate php5 mime' --link ls-mysql:mysql-host -d alterway/php:7.0-apache
First failed with ERROR: Module php7.0 does not exist!, second with ERROR: Module php5 does not exist!.
Can you tell me how to start a container with php7 on apache?
The text was updated successfully, but these errors were encountered: