Skip to content

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

@crypto-maniac

Description

@crypto-maniac

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions