Skip to content

Commit 9414eac

Browse files
committed
Updating documentation for fpm
1 parent c0b9212 commit 9414eac

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

README.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,22 @@
11
# Openshift PHP Framework Stack
22

33
This cartridge can be used as a base to develop PHP applications relying on PHP frameworks requiring Composer to download dependencies (such as the ZendFramework or Symfony, for example).
4-
The PHP version can be configured.
4+
The PHP version can be configured. By default, the FastCGI Process Manager (FPM) compilation option is enabled.
55

66
## Quick Start
77

88
1. Create a do-it-yourself application in Openshift (see https://openshift.redhat.com/app/console/application_type/cart!diy-0.1)
99
2. Fill the **Source Code** text field with: https://github.com/JVerstry/openshift-php-framework-stack
1010
3. Click **Create Application** and wait until ready
11-
4. Visit your application's main page (e.g. https://myapp-mydomain.rhcloud.com/)
12-
5. If you want to modify the PHP version to be built, clone the application's git repository locally, update `DIST_PHP_VER` in `/misc/make.sh`, then git commit and push this modification
13-
6. Click the last link to start the build, it will take about an hour
14-
7. To activate Composer, clone the application's repository locally (or pull changes if you have already cloned it) and rename the `_build` file to `build` in the `/.openshift/action_hooks/` directory
11+
4. If you want to modify the PHP version to be built, clone the application's git repository locally, update `DIST_PHP_VER` in `/misc/make.sh`, then git commit and push this modification
12+
5. If the PHP version to compile is less than 5.3.3, remove the fpm compilation options in `/misc/make_php` and git commit and push this modification
13+
6. Visit your application's main page (e.g. https://myapp-mydomain.rhcloud.com/)
14+
7. Click the last link to start the build, it will take about an hour
15+
8. To activate Composer, clone the application's repository locally (or pull changes if you have already cloned it) and rename the `_build` file to `build` in the `/.openshift/action_hooks/` directory
1516
9. Commit this file
1617
10. Make it executable with `git update-index --chmod=+x .openshift/action_hooks/build`
1718
11. Commit this file again and push it too when the build is finished
18-
9. Starting coding your PHP application
19+
12. Starting coding your PHP application
1920

2021
## Using a PHP Framework
2122

0 commit comments

Comments
 (0)