YUME|TEC was built with the legacyDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/wreyesus/Sencillo_Carrito_de_Compras_en_PHP/llms.txt
Use this file to discover all available pages before exploring further.
mysql_* extension that ships with PHP 5.x. Because that extension was removed entirely in PHP 7.0, the project must run on PHP 5.6 to work without code changes. This page lists every software dependency, the PHP extensions the application relies on, and the local development stacks that make it easiest to get started.
PHP version
The application callsmysql_connect, mysql_query, mysql_fetch_array, and related functions throughout its codebase. These functions were part of the original MySQL extension for PHP.
The easiest way to run a specific PHP version is with XAMPP 5.6.40 (see Recommended local stacks below) or with Docker:
http://localhost:8080.
Required software
| Software | Minimum version | Recommended | Notes |
|---|---|---|---|
| PHP | 5.x | 5.6.x | mysql_* extension required |
| MySQL | 5.x | 5.5 – 5.7 | Schema uses MyISAM engine |
| Apache | 2.x | 2.4.x | mod_rewrite not required |
| phpMyAdmin | Any | Any | Optional, but helpful |
PHP extensions required
The following PHP extensions must be enabled inphp.ini. All are bundled with XAMPP 5.6.x and the php:5.6-apache Docker image by default.
mysql— The legacy MySQL extension. Providesmysql_connect,mysql_pconnect,mysql_query, and friends. This is the non-negotiable dependency.session— Used on every authenticated page to track the logged-in user via$_SESSION.mbstring— Handles multibyte string operations used when processing form input.mail— Required by the contact form (contacto.php) for sending plain-text email through the server’s local mail transport.
Recommended local stacks
XAMPP 5.6.x
Available for Windows, macOS, and Linux. Download the 5.6.40 installer from the XAMPP SourceForge archive. Bundles Apache 2.4, PHP 5.6, MySQL 5.6, and phpMyAdmin in a single package — no manual configuration needed.
WAMP Server
Windows only. WampServer supports side-by-side PHP versions; install 5.6.x alongside any newer version and switch between them from the system-tray menu. Pairs well with phpMyAdmin for database management.
PHP 7+ migration path
If you need to run YUME|TEC on a modern PHP version, everymysql_* call must be replaced with either the mysqli_* procedural API or PDO. The following files contain legacy MySQL calls and would all require updates:
index.phpindex2.phpcarrito.phpcategorias.phpcat_procesadores.phpcat_motherboards.phpcat_rams.phpdetalles.phpnuevo_usuario.phpregistro.phpingreso.php
mysql_pconnect call in Connections/tienda.php would also need to become mysqli_connect (or a PDO new PDO(...) instantiation), and every subsequent mysql_select_db, mysql_query, and mysql_fetch_array call would need the corresponding mysqli_* replacement. The connection resource must then be passed explicitly to each query call because mysqli_* does not use a global implicit connection the way mysql_* does.