File tree Expand file tree Collapse file tree
user_guide_src/source/installation Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -28,3 +28,5 @@ However you choose to install and run CodeIgniter4, the
2828.. note :: Before using CodeIgniter 4, make sure that your server meets the
2929 :doc: `requirements </intro/requirements >`, in particular the PHP
3030 version and the PHP extensions that are needed.
31+ You may find that you have to uncomment the ``php.ini `` "extension"
32+ lines to enable "curl" and "intl", for instance.
Original file line number Diff line number Diff line change 11Git Installation
22###############################################################################
33
4+ This would *not * be suitable for app development, but *is * suitable
5+ for contributing to the framework.
6+
7+ Installation
8+ -------------------------------------------------------
9+
410Install the latest version of the codebase by
511
612- forking the `codebase <https://github.com/codeigniter4/CodeIgniter4 >`_ to your github account
713- cloning **your ** forked repository locally
814
9- This would *not * be suitable for app development, but *is * suitable
10- for contributing to the framework.
11-
1215Setup
1316-------------------------------------------------------
1417
Original file line number Diff line number Diff line change 1- ################
21Running Your App
3- ################
2+ ###############################################################################
43
5- A CodeIgniter 4 app can be run in a number of different ways: using a web server,
4+ A CodeIgniter 4 app can be run in a number of different ways: hosted on a web server,
65using virtualization, or using CodeIgniter's command line tool for testing.
76This section addresses how to use
87each technique, and explains some of the pros and cons of them.
@@ -13,10 +12,10 @@ Initial Configuration & Setup
1312#. Open the **app/Config/App.php ** file with a text editor and
1413 set your base URL. If you intend to use encryption or sessions, set
1514 your encryption key. If you need more flexibility, the baseURL may
16- be set within the .env file as **app.baseURL="http://example.com" **.
15+ be set within the `` .env `` file as **app.baseURL="http://example.com" **.
1716#. If you intend to use a database, open the
1817 **app/Config/Database.php ** file with a text editor and set your
19- database settings.
18+ database settings. Alternately, these could be set in your `` .env `` file.
2019
2120One additional measure to take in production environments is to disable
2221PHP error reporting and any other development-only functionality. In
You can’t perform that action at this time.
0 commit comments