... | ... | @@ -96,9 +96,19 @@ cat vendor/civicrm/civicrm-core/sql/civicrm.mysql | mysql -u civitest -p civites |
|
|
cat vendor/civicrm/civicrm-core/sql/civicrm_data.mysql | mysql -u civitest -p civitest
|
|
|
```
|
|
|
|
|
|
# Example nginx vhost
|
|
|
# Webserver configuration
|
|
|
|
|
|
(adapt to your environment, this example uses php-8.0)
|
|
|
## Apache
|
|
|
|
|
|
Create a regular PHP vhost.
|
|
|
|
|
|
The `.htaccess` at in `civicrm-standalone/web/.htaccess` makes clean-URLs possible, so make sure that your `AllowOverride` permits it (it is the default Apache config).
|
|
|
|
|
|
Using CiviCRM in a sub-directory has not been tested yet. If you do, you may need to edit the `RewriteBase` statement in the `.htaccess`.
|
|
|
|
|
|
## Nginx
|
|
|
|
|
|
Adapt to your environment, this example uses php-8.0:
|
|
|
|
|
|
```
|
|
|
server {
|
... | ... | @@ -176,8 +186,6 @@ server { |
|
|
}
|
|
|
```
|
|
|
|
|
|
For apache in addition to setting up the virtual host, you can then put the stock Drupal 7 .htaccess in web.
|
|
|
|
|
|
# Menubar notes
|
|
|
|
|
|
(edit ML: this should be fixed in PR 22227)
|
... | ... | |