Skip to content
New issue

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

Wrong Web Server Root Path & php.in path #67

Open
crypto-maniac opened this issue May 14, 2023 · 0 comments
Open

Wrong Web Server Root Path & php.in path #67

crypto-maniac opened this issue May 14, 2023 · 0 comments

Comments

@crypto-maniac
Copy link

crypto-maniac commented May 14, 2023

Hello, thank you very much for your docker image

i have problem after run your image, i have loaded on port 8080
and i got this as output

Congratulations!
You have successfully deployed a docker container running our NGINX with PHP-FPM 7.x image

NGINX: v1.21.6-1~buster
PHP-FPM: v7.4.28
LOADED CONFIG: /etc/php/7.4/fpm/php.ini
WEB ROOT: /usr/share/nginx/html
HOSTNAME: 61d41983fabc

Thank you for using wyveo.com

but there is no folder created /usr/share/nginx/html and even i create the folder and put my test index.php file it does not reflect the path
also it seem that also /etc/php/7.4/fpm/php.ini is not present


[root@snapshot-38872278-centos-16gb-hel1-1 nginx-php-fpm]# locate php.ini 
/etc/php.ini
/usr/share/doc/php-common-7.4.29/php.ini-development
/usr/share/doc/php-common-7.4.29/php.ini-production
/usr/share/phpMyAdmin/test/travis.php.ini
/var/lib/docker/aufs/diff/73ba5965c32d9a7ceccad7dee23909d3caf1c2b1862e3dd51228f6bcc1c94281/etc/php/7.4/cli/php.ini
/var/lib/docker/aufs/diff/73ba5965c32d9a7ceccad7dee23909d3caf1c2b1862e3dd51228f6bcc1c94281/etc/php/7.4/fpm/php.ini
/var/lib/docker/aufs/diff/73ba5965c32d9a7ceccad7dee23909d3caf1c2b1862e3dd51228f6bcc1c94281/usr/lib/php/7.4/php.ini-development
/var/lib/docker/aufs/diff/73ba5965c32d9a7ceccad7dee23909d3caf1c2b1862e3dd51228f6bcc1c94281/usr/lib/php/7.4/php.ini-production
/var/lib/docker/aufs/diff/73ba5965c32d9a7ceccad7dee23909d3caf1c2b1862e3dd51228f6bcc1c94281/usr/lib/php/7.4/php.ini-production.cli
/var/lib/docker/aufs/mnt/e5031e395d0e8790553d3f360c61e07cdf41feec11068960b7f6a1cf15777e75/etc/php/7.4/cli/php.ini
/var/lib/docker/aufs/mnt/e5031e395d0e8790553d3f360c61e07cdf41feec11068960b7f6a1cf15777e75/etc/php/7.4/fpm/php.ini
/var/lib/docker/aufs/mnt/e5031e395d0e8790553d3f360c61e07cdf41feec11068960b7f6a1cf15777e75/usr/lib/php/7.4/php.ini-development
/var/lib/docker/aufs/mnt/e5031e395d0e8790553d3f360c61e07cdf41feec11068960b7f6a1cf15777e75/usr/lib/php/7.4/php.ini-production
/var/lib/docker/aufs/mnt/e5031e395d0e8790553d3f360c61e07cdf41feec11068960b7f6a1cf15777e75/usr/lib/php/7.4/php.ini-production.cli

do i need to search and edit php.ini files into the container? do i need to use this folder for use /usr/share/nginx/html ?

thanks a lot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant