Skip to content

Commit

Permalink
Upgrade package versions
Browse files Browse the repository at this point in the history
  • Loading branch information
nazgul26 committed Oct 21, 2023
1 parent d5ff334 commit 9ac1d52
Show file tree
Hide file tree
Showing 4 changed files with 847 additions and 789 deletions.
17 changes: 16 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,13 @@ That is it. You can then start adding ingredients and recipes.
The second and very common way to run a PHP application is paying for hosting a traditional web hosting provider. This would provide a fixed cost each month to run your application. Most likely the basic level of hosting on many providers will be sufficient for many years of growing your business. We would recommend SiteGround (https://www.siteground.com/) if you don't have a preference to start with.

To start you will need to have:
+ PHP 7 (or higher) with ext-dom (sudo apt install php-xml)
+ PHP 7 (or higher) with modules:
php-xml (sudo apt install php-xml)
php-intl
php-mbstring
php-curl
php-zip

+ MySQL with a local db user created.

Create a configuration file config/.env
Expand All @@ -81,6 +87,15 @@ export DATABASE_URL="mysql://dbname:password@localhost/phprecipebook?encoding=ut
export EMAIL_TRANSPORT_DEFAULT_URL="smtp://[email protected]:[email protected]:587?tls=true"
```

Enable mod_write in Apache:

sudo a2enmod rewrite
(edit apache site config to allow...)
sudo systemctl restart apache2

Good tutorial for Ubuntu - https://www.digitalocean.com/community/tutorials/how-to-rewrite-urls-with-mod_rewrite-for-apache-on-ubuntu-22-04

### Directory Permissions

* Make the <app install dir>/temp and logs folder in the application writable for web user. example:
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"license": "MIT",
"require": {
"php": ">=7.4",
"cakephp/cakephp": "4.4.*",
"cakephp/cakephp": "^4.5",
"cakephp/migrations": "^3.2",
"cakephp/plugin-installer": "^1.3",
"josegonzalez/cakephp-upload": "^7.0",
Expand Down
Loading

0 comments on commit 9ac1d52

Please sign in to comment.