- Thank you received: 0
Technical discuss
查看 PHP 错误日志
- btt
- [btt]
-
Topic Author
- New Member
-
Less
More
05 Jan 2026 13:42 #987
by btt
New Topic
# 查看 PHP 错误日志
# 或者查找 PHP 错误日志位置
# 直接查看系统日志
Code:
tail -f /var/log/php/*.log
# 或者查找 PHP 错误日志位置
Code:
php -i | grep error_log
# 直接查看系统日志
Code:
tail -f /var/log/apache2/error.log
tail -f /var/log/nginx/error.log
Please Log in or Create an account to join the conversation.
- btt
- [btt]
-
Topic Author
- New Member
-
Less
More
- Thank you received: 0
05 Jan 2026 13:53 #988
by btt
Replied by btt on topic 查看 PHP 错误日志
强制重新安装# 先检查是否已经安装
# 如果已经安装,先卸载
# 清理临时文件
# 然后重新安装
# 查看安装输出
Code:
php cli/joomla.php extension:list | grep -i social
# 如果已经安装,先卸载
Code:
php cli/joomla.php extension:uninstall com_socialauth
php cli/joomla.php extension:uninstall pkg_socialpay
# 清理临时文件
Code:
rm -rf /var/www/html/tmp/install_*
# 然后重新安装
Code:
php -d error_reporting="E_ALL & ~E_DEPRECATED" cli/joomla.php extension:install --path=pkg_socialpay_manually_fixed.zip --debug 2>&1 | tee install_output.txt
# 查看安装输出
Code:
cat install_output.txt
Please Log in or Create an account to join the conversation.
