CakePHP Project Installation

 Follow these steps:

1. Mysql (at least version 5.7). Restore the .sql file from the google drive I shared

2. php (version must less or equal to 7.1)

3. Apache 2

- Make sure mod rewrite enabled

- Use custom vhost config

4. Download the zip file from google drive, extract it to location inside your web directory

The vhost config: change the servername and document root accordingly

<VirtualHost *:80>

ServerAdmin shopcoupons@wp.dev

DocumentRoot "/Applications/XAMPP/xamppfiles/htdocs/shopcoupons_git/app/webroot"

ServerName shopcoupons.dev.my

ErrorLog "logs/shopcoupons-error.dev.log"

CustomLog "logs/shopcoupons-common.dev.log" common

</VirtualHost>

5. modify the mysql credentials in app/Config/database.php accordingly


No comments:

Post a Comment

Pages