- Notifications
You must be signed in to change notification settings - Fork120
patrickallaert/php-sample-application
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Sample PHP applications that uses:
- Dependency Injection
- Apache routing
- Composer (aka: Not reinventing the wheel)
- Unix-like operating systems
- Apache
- MariaDB/MySQL
- PHP >= 7.1
- Command line tools
make
&wget
- Run
make
from project root. - Create a 'sampleuser' MariaDB/MySQL account, by default, application is configured to use password 'samplepass'.
- Create the 'sample' database and loadsql/db.sql.
- Configure Apache:
<VirtualHost*:80>ServerName %application.host.name%DocumentRoot /%path-to-repository%/web <Directory/%path-to-repository%>Require all grantedAllowOverride all </Directory>php_admin_valueinclude_path"/%path-to-repository%/"Include /%path-to-repository%/config/vhost.conf</VirtualHost>
You are all set, point your browser to http://%application.host.name%/
About
PHP 7.1 sample application
Resources
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
No releases published
Packages0
No packages published
Uh oh!
There was an error while loading.Please reload this page.