Skip to content

Commit 5128fa4

Browse files
committed
Fix docs re PHP server
1 parent f562cdd commit 5128fa4

3 files changed

Lines changed: 17 additions & 0 deletions

File tree

user_guide_src/source/installation/index.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,9 @@ By default, the application will run using the "production" environment. To
5454
take advantage of the debugging tools provided, you should set the environment
5555
to "develop".
5656

57+
.. caution:: Using PHP's built-in web server is likely to cause problems,
58+
as it does not process the `.htaccess` file used to properly handle requests.
59+
5760
That's it!
5861

5962
If you're new to CodeIgniter, please read the :doc:`Getting

user_guide_src/source/installation/troubleshooting.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,12 @@ do this open your *application/Config/App.php* file and change this::
2828
To this::
2929

3030
public $indexPage = 'index.php?';
31+
32+
The tutorial gives 404 errors everywhere :(
33+
-------------------------------------------
34+
35+
You can't follow the tutorial using PHP's built-in web server.
36+
It doesn't process the `.htaccess` file needed to route
37+
requests properly.
38+
39+
The solution: use Apache to server your site.

user_guide_src/source/tutorial/index.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,11 @@ through the following pages:
3333
- :doc:`Conclusion <conclusion>`, which will give you some pointers on
3434
further reading and other resources.
3535

36+
.. caution:: Using PHP's built-in web server is likely to cause problems,
37+
as it does not process the `.htaccess` file used to properly handle requests.
38+
Use your favorite web server instead.
39+
40+
3641
Enjoy your exploration of the CodeIgniter framework.
3742

3843
.. toctree::

0 commit comments

Comments
 (0)