Prerequisites
Before installing TiendaRopa, ensure your system meets the following requirements:PHP 8.2+
The application was developed with PHP 8.2.12
MySQL/MariaDB
Tested with MariaDB 10.4.32
Web Server
Apache (included in XAMPP)
phpMyAdmin
Version 5.2.1 or higher recommended
The easiest way to get all prerequisites is to install XAMPP, which includes Apache, PHP, MySQL, and phpMyAdmin in a single package.
Step 1: Install XAMPP
Download XAMPP
Download XAMPP for your operating system from the official Apache Friends website.Make sure to download a version that includes PHP 8.2 or higher.
Run the Installer
Execute the installer and follow the setup wizard. Select at minimum:
- Apache
- MySQL
- PHP
- phpMyAdmin
Start Services
Open the XAMPP Control Panel and start the Apache and MySQL services.
You should see green highlighting indicating the services are running
Step 2: Download TiendaRopa
- Clone with Git
- Download ZIP
If you have Git installed, clone the repository directly into your web root:
Step 3: Verify File Structure
Ensure your installation has the following structure:Step 4: Initial Configuration
Before accessing the application, you need to set up the database. The database connection is configured indb.php:
tienda_ropa/db.php
The default XAMPP MySQL configuration uses:
- Host:
localhost - Username:
root - Password: (empty)
db.php unless you’ve customized your MySQL installation.Step 5: Next Steps
Now that the application files are in place, you need to:- Import the database schema - Create the
tienda_ropadatabase and all required tables - Verify the connection - Ensure the application can connect to your database
- Access the application - Start using TiendaRopa
Troubleshooting
Apache won't start - Port 80 already in use
Apache won't start - Port 80 already in use
Another application (like Skype or IIS) may be using port 80.Solution: Edit Then access the application at
httpd.conf in XAMPP and change the port:http://localhost:8080MySQL won't start - Port 3306 already in use
MySQL won't start - Port 3306 already in use
Another MySQL service may be running.Solution: Stop other MySQL services or change the port in XAMPP’s
my.ini configuration file.Error: Call to undefined function PDO()
Error: Call to undefined function PDO()
PHP PDO extension is not enabled.Solution: Edit Restart Apache after making changes.
php.ini and uncomment:Blank page when accessing localhost/tienda_ropa
Blank page when accessing localhost/tienda_ropa
Check if:
- Apache is running in XAMPP Control Panel
- Files are in the correct
htdocs/tienda_ropa/directory - PHP error reporting is enabled in
php.ini
System Requirements Summary
| Component | Minimum Version | Recommended |
|---|---|---|
| PHP | 8.0 | 8.2.12+ |
| MySQL/MariaDB | 5.7 / 10.2 | 8.0 / 10.4.32+ |
| Apache | 2.4 | 2.4.54+ |
| phpMyAdmin | 5.0 | 5.2.1+ |
| Web Browser | Any modern browser | Chrome, Firefox, Edge |
Ready to Continue?
Proceed to Database Setup to create and configure the database