标签: php wordpress centos whm
运行此脚本时,出现500 HTTP错误(启用显示错误)。
centOS 7最新版,带WHM和Wordpress
<?php include 'wp-includes/pluggable.php'; $user = wp_get_current_user(); echo $user ?>
期望在页面上回显的用户ID。导致HTTP 500错误。 php日志中没有任何记录。
我研究了wordpress文档,pluggable.php应该是要包含的脚本。