Connection Refused to wp-admin after PHP upgrade
-
Hello –
CentOS 7 – We have a multi-site that was recently installed a directory authentication plugin on (WpDirAuth). After installation, we noticed a banner at the top of our wp-admin stating that php-ldap was required for the plugin to work properly. I attempted to install the php-ldap package via yum using
sudo yum install php56-php-ldap
and was told it conflicted with the existing php package install. After some googling I decided to remove the existing PHP install using the following command:sudo yum remove php
which appeared to work fine. I already had the remi repo installed and usedsudo yum-config-manager --enable remi-php56
to enable php56. Then I ran the following command to install PHP56 packagessudo yum install php php-mcrypt php-cli php-gd php-curl php-mysql php-ldap php-zip php-fileinfo
which installed the packages. Runningphp -v
now shows PHP 5.6.37 (cli) installed. However, after this, I restarted httpd and when browsed the main blog page, it displayed fine, however, when I tried to access wp-admin I get connection refused. I’ve tried this in multiple browsers in “in-private” and “incognito” modes to eliminate caching and cookine issues, but the wp-admin.php still won’t come up.I tried removing all packages using
sudo yum remove php php-mcrypt php-cli php-gd php-curl php-mysql php-ldap php-zip php-fileinfo
and reinstalling, but the results are the same. Can anyone please provide me with some assistance to help determine what the issue is? This is a critical site for our team and I would like to recover it ASAP.Thanks for the help!
The page I need help with: [log in to see the link]
- The topic ‘Connection Refused to wp-admin after PHP upgrade’ is closed to new replies.