The ISBO Equipment Registry is a single-folder PHP application with no composer dependencies, no npm build step, and no framework — only Apache, PHP, and MySQL are required. The instructions below cover two deployment paths: a local development environment using XAMPP or LAMPP, and a production LAMP server on CentOS/RHEL/Debian.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/gavafue/registroComponentesMultimedia/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
Before you begin, ensure the following are available on your server or workstation:| Requirement | Minimum version | Notes |
|---|---|---|
| Apache HTTP Server | 2.4+ | mod_rewrite optional |
| PHP | 7.4+ | pdo_mysql extension must be enabled |
| MySQL or MariaDB | MySQL 5.7+ / MariaDB 10.3+ | |
| Git | Any | Optional — you can copy files manually |
On PHP 7.4+ the
pdo_mysql extension is bundled but may need to be enabled in php.ini. Uncomment or add extension=pdo_mysql and restart Apache.Installation paths
Set up the database
Create the loans table
The
loans table stores every checkout and return event. checkout_signature and return_signature hold PNG images as Base64-encoded data-URIs, so the column type is LONGTEXT.Create the users table
The
users table holds admin accounts. Passwords are stored as bcrypt hashes produced by PHP’s password_hash().Create the first admin user
You need to generate the bcrypt hash outside of MySQL because MySQL does not use PHP’s Copy the printed hash (it begins with
password_hash() format. Use the PHP CLI:$2y$), then insert the admin user:Update api/config.php with your database credentials
Open
api/config.php and change the four connection variables to match your MySQL setup. See the Configuration guide for the full file reference and all available options.Directory permissions
The application auto-createsapi/sesiones/ on first request to store PHP session files. The directory that contains api/ must be writable by the web-server user:
Verify the installation
Open a browser and navigate to your installation URL:If the page loads but form submissions return a JSON error about a database connection, double-check the credentials in
api/config.php and confirm the MySQL service is running.