Cant install new apps, says missing php.ini?

I have been trying to install new apps from app center and keep getting an abort after LDAP binding attempt, and also a possibly related issue with open project, which was running nicely before update to latest errata…

Output from appcenter.log: (I copied error from below and put here for tl;dr)

  9527 actions.install.container.7c02   18-10-06 01:27:19 [    INFO]: Check DC Master:  done
 
  9527 actions.install.container.7c02   18-10-06 01:27:33 [    INFO]: Search ldap/base done
  9527 actions.install.container.7c02   18-10-06 01:27:35 [ WARNING]: ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1)
  9527 actions.install.container.7c02   18-10-06 01:27:36 [ WARNING]: Insufficient access (50)
  9527 actions.install.container.7c02   18-10-06 01:27:36 [    INFO]: Search LDAP binddn 
  9527 actions.install.container.7c02   18-10-06 01:27:36 [    INFO]: 
  9527 actions.install.container.7c02   18-10-06 01:27:36 [    INFO]: **************************************************************************
  9527 actions.install.container.7c02   18-10-06 01:27:36 [    INFO]: * Join failed!                                                           *
  9527 actions.install.container.7c02   18-10-06 01:27:36 [    INFO]: * Contact your system administrator                                      *
  9527 actions.install.container.7c02   18-10-06 01:27:36 [    INFO]: **************************************************************************
  9527 actions.install.container.7c02   18-10-06 01:27:36 [    INFO]: * Message:  binddn for user not found. 
  9527 actions.install.container.7c02   18-10-06 01:27:36 [    INFO]: 
**************************************************************************
  9527 actions.install.container.7c02   18-10-06 01:27:36 [ WARNING]: Something went wrong while joining the system
  9527 actions.install.container.7c02   18-10-06 01:27:36 [ WARNING]: sed: can't read /etc/php/7.0/apache2/php.ini: No such file or directory

apparently I have a different user with root privileges when I log in from https://internet to portal, so these errors came from logging in with an admin account that has root privileges when I am on the local network, but not when off. When I was logged in with the root/admin account, I was able to install apps without these errors.