Installation Guide
Installing PHP Mall takes a few minutes and requires no command line.
Steps
- Create an empty MySQL database and a database user.
- Upload the contents of the
PHPMallfolder to your web root (or a sub-folder) using FTP or your hosting file manager. - Edit
config.phpand enter the database host, user, password, database name and the domain (see the configuration file). - Open
https://your-domain.com/setup.phpin the browser. - Choose the admin user name and password. Tick install demo data if you want sample vendors and products.
- Click Install. The tables are created and the admin account is set up.
- Delete
setup.phpfrom the server when finished.
You can also install from the command line: php setup.php admin yourpassword demo.
After installation
Log in to the admin panel at /ADMIN/ and follow the first steps checklist.
Troubleshooting
- Blank page: set
$DEBUG_MODE=trueinconfig.phptemporarily to see errors. - Cannot connect to database: verify host, user and password, and that the user has rights on the database.
- Images do not upload: check folder permissions and the PHP
upload_max_filesizesetting.
Last updated