You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/cookbook.rst
+7-45Lines changed: 7 additions & 45 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,13 +11,13 @@ or to debug/profile a slow PHP script you are working on in development.
11
11
CMS Installation Using the ``lfphp-get`` Command
12
12
------------------------------------------------
13
13
14
-
To install *Concrete5*, *Drupal*, *Joomla*or *WordPress* inside a Linux for PHP container, please enter the following command
14
+
To install *Concrete5*, *Drupal*, *Joomla*, *WordPress*, *Magento* or *Prestashop* inside a Linux for PHP container, please enter the following command
15
15
on the container's CLI::
16
16
17
17
$ lfphp-get cms
18
18
19
-
After asking which CMS is to be installed and what is the project's name, the ``lfphp-get`` command will set everything up for you. Once it is done,
20
-
you will be able to finish installing *Concrete5*, *Drupal*, *Joomla*or *WordPress* by using the corresponding CMS' default
19
+
After asking you which CMS you wish to install, and what is your project's name, the ``lfphp-get`` command will set everything up for you. Once this is done,
20
+
you will be able to finish installing *Concrete5*, *Drupal*, *Joomla*, *WordPress*, *Magento* or *Prestashop* by using the corresponding CMS' default
21
21
Web installer. By default, the CMS will be installed in the ``/srv/tempo`` folder inside the container. If you share this folder
22
22
with the host, you will be able to access the source from outside the container after the end of the CMS' installation.
23
23
@@ -30,12 +30,12 @@ with the host, you will be able to access the source from outside the container
30
30
PHP Framework Installation Using the ``lfphp-get`` Command
To install *Zend Framework*, *Zend Expressive*, *Symfony*, *Laravel*, *CakePHP*, *Slim* or *LightMVC* inside a Linux for PHP container, please enter the following command
33
+
To install *Laminas (Zend Framework)*, *Mezzio (Zend Expressive)*, *Symfony*, *Laravel*, *CakePHP*, *Slim* or *LightMVC* inside a Linux for PHP container, please enter the following command
34
34
on the container's CLI::
35
35
36
36
$ lfphp-get php-frameworks
37
37
38
-
After asking which framework is to be installed and what is the project's name, the ``lfphp-get`` command will set everything up for you.
38
+
After asking you which framework you want to install, and what is your project's name, the ``lfphp-get`` command will set everything up for you.
39
39
40
40
.. note:: By default, the framework's skeleton application will be installed in the ``/srv/tempo`` folder inside the container. If you share this folder with the host, you will be able to access the source code from outside the container after the end of the framework's installation.
41
41
@@ -48,7 +48,7 @@ If you wish to install and configure *Blackfire.io* on *Linux for PHP*, please r
48
48
49
49
$ lfphp-get blackfire
50
50
51
-
Once done, you will be able to profile your PHP applications by using the *Blackfire* command line tool we installed previously
51
+
Once done, you will be able to profile your PHP applications by using the *Blackfire* command line tool directly,
52
52
or by installing and using the *Blackfire* browser plugin in your favorite browser.
53
53
54
54
.. index:: Node.js installation
@@ -79,49 +79,11 @@ Once done, *MongoDB* and its import and export tools will be available from with
79
79
80
80
If you wish to use the *MongoDB* extension for PHP, you can do so by entering the following commands on the container's CLI::
81
81
82
-
$ pecl install mongodb
82
+
$ lfphp-get --force php-ext mongodb
83
83
$ echo "extension=mongodb.so" >> /etc/php.ini
84
84
85
85
.. note:: It is possible to compile *MongoDB* from source by adding the ``--compile`` option to the ``lfphp-get`` command.
86
86
87
87
For more information on the ``lfphp-get`` command, please see :ref:`lfphp-get`.
88
88
89
89
.. note:: Also, it is possible to use *MongoDB* with all of its SSL options by default.
90
-
91
-
.. index:: Production - settings and configuration
92
-
93
-
Configuring PHP with Production Settings
94
-
----------------------------------------
95
-
96
-
.. note:: ATTENTION! This code example does NOT cover security issues and how to harden your server installation!
97
-
98
-
In order to configure *Linux for PHP* with the most common production settings and extensions, please run an *Linux for PHP* base image
99
-
with the PHP source code (asclinux/linuxforphp-8.1:src) with the following command::
0 commit comments