PHP 7.1RC3+HTTPS+WordPress = No admin page access

From: Date: Mon, 10 Oct 2016 03:14:50 +0000
Subject: PHP 7.1RC3+HTTPS+WordPress = No admin page access
Groups: php.internals 
Request: Send a blank email to internals+get-96301@lists.php.net to get a copy of this message
Hi all, PHP 7.1RC3+HTTPS+WordPress does not allow admin pages access somehow. You'll get Sorry, you are not allowed to access this page for admin pages. PHP 5.6 works fine, not sure about 7.0. You can use local self signed certificate https server and fresh WordPress 4.6.1 install to reproduce this by ignoring TLS warning. Install with "https://" URL or change "http://" site URL to "https://" after installation. It seems "https://" site URL revokes all permissions. ( $_wp_menu_nopriv is set for admin account somehow ) It works as long as site URL is "http://". Regards, P.S. I didn't look into, but JetPack and Google's AdSense plugin seems to have problem(s) with PHP 7.1. PHP 7.0.11/7.1.0 have additional errors also. https://bugs.php.net/bug.php?id=73238 Use 302 or 307 redirect, i.e. Do not use 301, if you would like to redirect all http traffic to https for testing purpose. Otherwise, your browser remembers https usage. This makes test difficult. You don't need redirect setting to reproduce this. -- Yasuo Ohgaki yohgaki@ohgaki.net

« previous php.internals (#96301) next »