find or create a php.ini file


DuneJeeper

Recommended Posts

I installed the chevereto docker. I'm running it just fine but it's limited to 2mb photo uploads unless you edit/create a php.ini file. Problem is I can't for the life of me find the path to either create or edit one. I'll paste my container inspection and maybe someone can help me? The other odd thing is it's the only container I'm running that doesn't have an appdata folder. Is that normal? As always I appreciate the help!

 

[
    {
        "Id": "88db9c1e6dd11e9368cf1a3bac39459c1b5f7ab84177f9c59fa9ea3447741361",
        "Created": "2020-09-12T23:59:16.196021945Z",
        "Path": "docker-php-entrypoint",
        "Args": [
            "apache2-foreground"
        ],
        "State": {
            "Status": "exited",
            "Running": false,
            "Paused": false,
            "Restarting": false,
            "OOMKilled": false,
            "Dead": false,
            "Pid": 0,
            "ExitCode": 0,
            "Error": "",
            "StartedAt": "2020-09-12T23:59:17.530267759Z",
            "FinishedAt": "2020-09-13T00:08:31.561017995Z"
        },
        "Image": "sha256:ca10c78920b2d9dce5384438aa02f63743cb085c44175609483dd492bd860c59",
        "ResolvConfPath": "/var/lib/docker/containers/88db9c1e6dd11e9368cf1a3bac39459c1b5f7ab84177f9c59fa9ea3447741361/resolv.conf",
        "HostnamePath": "/var/lib/docker/containers/88db9c1e6dd11e9368cf1a3bac39459c1b5f7ab84177f9c59fa9ea3447741361/hostname",
        "HostsPath": "/var/lib/docker/containers/88db9c1e6dd11e9368cf1a3bac39459c1b5f7ab84177f9c59fa9ea3447741361/hosts",
        "LogPath": "/var/lib/docker/containers/88db9c1e6dd11e9368cf1a3bac39459c1b5f7ab84177f9c59fa9ea3447741361/88db9c1e6dd11e9368cf1a3bac39459c1b5f7ab84177f9c59fa9ea3447741361-json.log",
        "Name": "/chevereto",
        "RestartCount": 0,
        "Driver": "btrfs",
        "Platform": "linux",
        "MountLabel": "",
        "ProcessLabel": "",
        "AppArmorProfile": "",
        "ExecIDs": null,
        "HostConfig": {
            "Binds": null,
            "ContainerIDFile": "",
            "LogConfig": {
                "Type": "json-file",
                "Config": {
                    "max-file": "1",
                    "max-size": "50m"
                }
            },
            "NetworkMode": "bridge",
            "PortBindings": {
                "80/tcp": [
                    {
                        "HostIp": "",
                        "HostPort": "8011"
                    }
                ]
            },
            "RestartPolicy": {
                "Name": "no",
                "MaximumRetryCount": 0
            },
            "AutoRemove": false,
            "VolumeDriver": "",
            "VolumesFrom": null,
            "CapAdd": null,
            "CapDrop": null,
            "Capabilities": null,
            "Dns": [],
            "DnsOptions": [],
            "DnsSearch": [],
            "ExtraHosts": null,
            "GroupAdd": null,
            "IpcMode": "private",
            "Cgroup": "",
            "Links": null,
            "OomScoreAdj": 0,
            "PidMode": "",
            "Privileged": false,
            "PublishAllPorts": false,
            "ReadonlyRootfs": false,
            "SecurityOpt": null,
            "UTSMode": "",
            "UsernsMode": "",
            "ShmSize": 67108864,
            "Runtime": "runc",
            "ConsoleSize": [
                0,
                0
            ],
            "Isolation": "",
            "CpuShares": 0,
            "Memory": 0,
            "NanoCpus": 0,
            "CgroupParent": "",
            "BlkioWeight": 0,
            "BlkioWeightDevice": [],
            "BlkioDeviceReadBps": null,
            "BlkioDeviceWriteBps": null,
            "BlkioDeviceReadIOps": null,
            "BlkioDeviceWriteIOps": null,
            "CpuPeriod": 0,
            "CpuQuota": 0,
            "CpuRealtimePeriod": 0,
            "CpuRealtimeRuntime": 0,
            "CpusetCpus": "",
            "CpusetMems": "",
            "Devices": [],
            "DeviceCgroupRules": null,
            "DeviceRequests": null,
            "KernelMemory": 0,
            "KernelMemoryTCP": 0,
            "MemoryReservation": 0,
            "MemorySwap": 0,
            "MemorySwappiness": null,
            "OomKillDisable": false,
            "PidsLimit": null,
            "Ulimits": null,
            "CpuCount": 0,
            "CpuPercent": 0,
            "IOMaximumIOps": 0,
            "IOMaximumBandwidth": 0,
            "MaskedPaths": [
                "/proc/asound",
                "/proc/acpi",
                "/proc/kcore",
                "/proc/keys",
                "/proc/latency_stats",
                "/proc/timer_list",
                "/proc/timer_stats",
                "/proc/sched_debug",
                "/proc/scsi",
                "/sys/firmware"
            ],
            "ReadonlyPaths": [
                "/proc/bus",
                "/proc/fs",
                "/proc/irq",
                "/proc/sys",
                "/proc/sysrq-trigger"
            ]
        },
        "GraphDriver": {
            "Data": null,
            "Name": "btrfs"
        },
        "Mounts": [
            {
                "Type": "volume",
                "Name": "939b8b619bb5e708595865a8739927a630f830fd6cd3ac60033d493e2bbefc9a",
                "Source": "/var/lib/docker/volumes/939b8b619bb5e708595865a8739927a630f830fd6cd3ac60033d493e2bbefc9a/_data",
                "Destination": "/var/www/html/images",
                "Driver": "local",
                "Mode": "",
                "RW": true,
                "Propagation": ""
            }
        ],
        "Config": {
            "Hostname": "88db9c1e6dd1",
            "Domainname": "",
            "User": "",
            "AttachStdin": false,
            "AttachStdout": false,
            "AttachStderr": false,
            "ExposedPorts": {
                "80/tcp": {}
            },
            "Tty": false,
            "OpenStdin": false,
            "StdinOnce": false,
            "Env": [
                "HOST_OS=Unraid",
                "CHEVERETO_DB_HOST=192.168.86.23",
                "CHEVERETO_DB_USERNAME=XXXX",
                "CHEVERETO_DB_PASSWORD=XXXX",
                "CHEVERETO_DB_NAME=chevereto",
                "CHEVERETO_DB_PREFIX=chv_",
                "CHEVERETO_DEFAULT_TIMEZONE=",
                "TZ=America/Chicago",
                "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
                "PHPIZE_DEPS=autoconf \t\tdpkg-dev \t\tfile \t\tg++ \t\tgcc \t\tlibc-dev \t\tmake \t\tpkg-config \t\tre2c",
                "PHP_INI_DIR=/usr/local/etc/php",
                "APACHE_CONFDIR=/etc/apache2",
                "APACHE_ENVVARS=/etc/apache2/envvars",
                "PHP_EXTRA_BUILD_DEPS=apache2-dev",
                "PHP_EXTRA_CONFIGURE_ARGS=--with-apxs2 --disable-cgi",
                "PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64",
                "PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64",
                "PHP_LDFLAGS=-Wl,-O1 -pie",
                "GPG_KEYS=CBAF69F173A0FEA4B537F470D66C9593118BCCB6 F38252826ACD957EF380D39F2F7956BC5DA04B5D",
                "PHP_VERSION=7.3.22",
                "PHP_URL=https://www.php.net/distributions/php-7.3.22.tar.xz",
                "PHP_ASC_URL=https://www.php.net/distributions/php-7.3.22.tar.xz.asc",
                "PHP_SHA256=0e66606d3bdab5c2ae3f778136bfe8788e574913a3d8138695e54d98562f1fb5",
                "PHP_MD5=",
                "CHEVERETO_DB_PORT=3306"
            ],
            "Cmd": [
                "apache2-foreground"
            ],
            "Image": "nmtan/chevereto",
            "Volumes": {
                "/var/www/html/images": {}
            },
            "WorkingDir": "/var/www/html",
            "Entrypoint": [
                "docker-php-entrypoint"
            ],
            "OnBuild": null,
            "Labels": {
                "build_signature": "Chevereto free version master; built on 2020-09-11T13:58:29Z; Using PHP version 7.3.22",
                "maintainer": "Tan Nguyen <tan.mng90@gmail.com>",
                "org.label-schema.license": "Apache-2.0",
                "org.label-schema.name": "Chevereto Free",
                "org.label-schema.url": "https://github.com/tanmng/docker-chevereto",
                "org.label-schema.vcs-url": "https://github.com/tanmng/docker-chevereto",
                "org.label-schema.version": "master"
            },
            "StopSignal": "SIGWINCH"
        },
        "NetworkSettings": {
            "Bridge": "",
            "SandboxID": "17831486865a8a3ea9199e152090d4dedeaf79239e2446bcb6067217fe3ad9b9",
            "HairpinMode": false,
            "LinkLocalIPv6Address": "",
            "LinkLocalIPv6PrefixLen": 0,
            "Ports": {},
            "SandboxKey": "/var/run/docker/netns/17831486865a",
            "SecondaryIPAddresses": null,
            "SecondaryIPv6Addresses": null,
            "EndpointID": "",
            "Gateway": "",
            "GlobalIPv6Address": "",
            "GlobalIPv6PrefixLen": 0,
            "IPAddress": "",
            "IPPrefixLen": 0,
            "IPv6Gateway": "",
            "MacAddress": "",
            "Networks": {
                "bridge": {
                    "IPAMConfig": null,
                    "Links": null,
                    "Aliases": null,
                    "NetworkID": "db14ceb4291dc59055cdd8b872b8666b6cea224779fab124da3660293fa8c949",
                    "EndpointID": "",
                    "Gateway": "",
                    "IPAddress": "",
                    "IPPrefixLen": 0,
                    "IPv6Gateway": "",
                    "GlobalIPv6Address": "",
                    "GlobalIPv6PrefixLen": 0,
                    "MacAddress": "",
                    "DriverOpts": null
                }
            }
        }
    }
]

 

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.