bare metal requirements and undefined index

This commit is contained in:
Akom 2020-06-29 09:58:32 -04:00
parent 5dc2d428a6
commit 6ae77d6719
2 changed files with 5 additions and 5 deletions

View File

@ -113,19 +113,19 @@ Install required packages :
* For Centos 7, RHEL 7 and Fedora : * For Centos 7, RHEL 7 and Fedora :
```bash ```bash
#For PostgreSQL #For PostgreSQL
sudo yum -y --nogpgcheck install httpd php postgresql-server postgresql php-ldap php-pdo php-pgsql git sudo yum -y --nogpgcheck install httpd php postgresql-server postgresql php-ldap php-pdo php-xml php-pgsql git
#For MySQL #For MySQL
sudo yum -y --nogpgcheck install httpd php mariadb-server mariadb php-ldap php-pdo php-mysql git sudo yum -y --nogpgcheck install httpd php mariadb-server mariadb php-ldap php-pdo php-xml php-mysql git
``` ```
* For Debian, ubuntu, Mint : * For Debian, ubuntu, Mint :
```bash ```bash
#For PostgreSQL #For PostgreSQL
sudo apt-get -y install httpd php postgresql-server postgresql php-ldap php-pdo php-pgsql git sudo apt-get -y install httpd php postgresql-server postgresql php-ldap php-pdo php-dom php-pgsql git
#For MySQL #For MySQL
sudo apt-get -y install httpd php mariadb-server mariadb php-ldap php-pdo php-mysql git sudo apt-get -y install httpd php mariadb-server mariadb php-ldap php-pdo php-dom php-mysql git
``` ```
Setup your SQL server with the following command : Setup your SQL server with the following command :

View File

@ -14,7 +14,7 @@ $request = OAuth2\Request::createFromGlobals();
$response = new OAuth2\Response(); $response = new OAuth2\Response();
// If user has clicked on "not me" link, disconnect him by cleaning PHP SESSION variables. // If user has clicked on "not me" link, disconnect him by cleaning PHP SESSION variables.
if ($_POST['disconnect']) { if (isset($_POST['disconnect'])) {
$_SESSION=array(); $_SESSION=array();
} }