# php-dockerfile **Repository Path**: hyge/soft_linux ## Basic Information - **Project Name**: php-dockerfile - **Description**: No description available - **Primary Language**: Docker - **License**: EPL-1.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-02-21 - **Last Updated**: 2022-04-28 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## Segmentation fault 故障排查 ``` ### 解决(libzip.so.5: cannot open shared object file: No such file or directory) cp /usr/local/lib64/libzip.so.5 /usr/lib64/libzip.so.5 ### 容器解决read-only docker 启动参数--privileged docker-compose 添加privileged:true ### 定义corefile的存储位置 echo "/tmp/corefile-%e-%p-%t" > /proc/sys/kernel/core_pattern ### 读取core文件 yum -y install gdb gdb php corefile ##(gdb) bt 查看详情 ``` ## php 8 Core PDO Phar Reflection SPL SimpleXML bcmath ctype curl date dom fileinfo filter ftp gettext hash iconv json libxml mbstring mysqlnd openssl pcre pdo_sqlite pdo_pgsql pdo_mysql pcntl posix session sockets sqlite3 standard tokenizer xml xmlreader xmlwriter zlib zip gd mcrypt 外部扩展: swoole=4.8.9 rdkafka=6.0.1 amqp=1.11.0 event=3.0.6