Update `phpinfo` plugin to new API