CREATE DATABASE webpub;
CREATE USER 'webpub_user'@'localhost' IDENTIFIED BY 'your_password';
GRANT ALL PRIVILEGES ON webpub.* TO 'webpub_user'@'localhost';
FLUSH PRIVILEGES;
Place files in web directory:
/var/www/html/website/
http://your-domain.com/setup/rm -rf /var/www/html/website/setup/
chmod 755 /var/www/html/website/
chmod 644 /var/www/html/website/includes/config.php
http://your-domain.com/public/http://your-domain.com/admin/http://your-domain.com/admin/login.phpDuring setup, enable LDAP authentication with these settings:
LDAP Server Host: ad.example.com
LDAP Port: 389
LDAP Base DN: dc=example,dc=com
User Search Filter: (sAMAccountName={username})
Email Attribute: mail
Name Attribute: cn
LDAP Server Host: ldap.example.com
LDAP Port: 389
LDAP Base DN: ou=users,dc=example,dc=com
User Search Filter: (uid={username})
Email Attribute: mail
Name Attribute: cn
Add to top of files for debugging:
ini_set('display_errors', 1);
error_reporting(E_ALL);