Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 12124b5

Browse files
author
stevjohnson
committed
PR#629. Proofreading
1 parent 697a6e9 commit 12124b5

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

guides/v2.0/install-gde/trouble/tshoot_sample-data.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,17 +56,23 @@ There are known issues with using sample data with the Magento 2 develop branch.
5656

5757
### Symptom
5858

59-
The installation hangs before the sample data installation finishes:
59+
The installation stops before the sample data installation finishes. An example follows:
6060

6161
(more)
6262

6363
Module 'Magento_CustomerSampleData':
6464
Installing data...
6565

66-
(the installation doesn't continue)
66+
Sample data installation does not finish.
6767

68-
This error occurs when the maximum execution time of your PHP scripts is lower than the time it takes to load the sample data (which can be a lot of time).
68+
This error occurs when the maximum configured execution time of your PHP scripts is exceeded. Because sample data can take a long time to load, you can increase the value during your installation.
6969

7070
#### Solution
7171

72-
Increase the maximum execution time of your PHP scripts temporarily setting the `max_execution_time` PHP directive to a high value (e.g. `max_execution_time = 600` for 10 minutes).
72+
As a user with `root` privileges, modify `php.ini` to increase the value of `max_execution_time` to 600 or more. (600 seconds is 10 minutes. You can increase the value to whatever you want.) You should change `max_execution_time` back to its previous value after the installation is successful.
73+
74+
If you're not sure where `php.ini` is located, enter the following command:
75+
76+
php --ini
77+
78+
The value of `Loaded Configuration File` is the `php.ini` you must modify.

0 commit comments

Comments
 (0)