Installation check

Ganiyat IAM Project, version 2.4. Run this whenever something behaves oddly.

Everything checks out. Delete this file and use the site.

PHP

PHP version 8.3.27
Extension pdo_mysql loaded, Talks to MySQL
Extension json loaded, Encodes the API responses
Extension openssl loaded, Generates security tokens
Extension gd loaded

Files

index.php 11,307 bytes, modified 3 Sep 2026 07:09
portal.php 4,669 bytes, modified 3 Sep 2026 07:06
api.php 45,558 bytes, modified 3 Sep 2026 07:05
includes/config.php 4,781 bytes, modified 3 Sep 2026 07:10
includes/functions.php 11,468 bytes, modified 3 Sep 2026 07:05
admin/index.php 9,029 bytes, modified 3 Sep 2026 07:06
assets/css/app.css 23,494 bytes, modified 3 Sep 2026 07:06
assets/js/core.js 10,265 bytes, modified 3 Sep 2026 07:06
assets/js/face.js 24,467 bytes, modified 18 Aug 2026 14:12
assets/js/auth.js 11,799 bytes, modified 18 Aug 2026 19:12
assets/js/portal.js 19,417 bytes, modified 3 Sep 2026 07:06
assets/js/admin.js 62,275 bytes, modified 3 Sep 2026 07:06
Leftover files from the older version none found, the directory is clean

OPcache

OPcache enabled yes
Cached bytecode PHP may still be running the previous version of a file from memory. If you just replaced files, clear it: clear the cache now

Location

Where the site is installed at the web root, so the address is https://ganiyat.webbppro.com/

Database

Configured database name gani_iam, taken from includes/config.php
Connection connected to gani_iam on 127.0.0.1 as gani_iam
Tables 11 tables present
users table columns id, full_name, email, password_hash, role, matric_no, phone, gender, level, department_id, photo, face_registered, status, last_login, created_at
Old is_active column not present, correct for this version
Row counts users: 13, face_templates: 35, courses: 5, attendance: 11
Administrator account 1 administrator account(s)

Face recognition

Model files in models/ all 7 present, the site works with no internet
face-api library 1,333,943 bytes, served locally

Server

Secure connection https, cameras will open
uploads folder writable yes
includes folder is private not readable from the web, correct

Next step, test the camera and the recognition maths on this device with face-test.php. Delete both files before you hand the project in.