Skip to content
Go back

PHP调试常用命令

Published:  at  08:00 AM

找到 php. ini 的位置

$ php --ini
Configuration File (php.ini) Path: /opt/homebrew/etc/php/8.3
Loaded Configuration File:         /opt/homebrew/etc/php/8.3/php.ini
Scan for additional .ini files in: /opt/homebrew/etc/php/8.3/conf.d
Additional .ini files parsed:      /opt/homebrew/etc/php/8.3/conf.d/ext-opcache.ini


# 运行脚本
<?php
var_dump(php_ini_loaded_file(), php_ini_scanned_files());

Share this post on:

Previous Post
使用 xdebug3 调试 docker 中的 swoole 项目
Next Post
Git常用命令