Install Ibexa DXP on macOS or Windows¶
This page explains how to install Ibexa DXP on macOS or Windows.
This procedure is for development purposes only. Installing Ibexa DXP for production purposes is supported only on Linux.
For information about installing the product on Linux, see Install Ibexa DXP.
Prepare work environment¶
To install Ibexa DXP, you need a stack with MySQL and PHP. Additionally, you need Node.js and Yarn for asset management. If you want to use a web server, you need to install it as well:
- For Windows: Apache
- For macOS: Apache/nginx
The instructions below assume that you are using Apache.
php.ini file and open it in a text editor.
Provide the missing values to relevant parameters, for example,
Uncomment or add extensions relevant to your project, for example,
opcache extension for PHP (recommended, not required):
You can install Apache as a Windows service by running the following command in CMD as administrator:
You can then start it with:
Edit Apache configuration file
Replace placeholder values with corresponding values from your project, for example,
Uncomment relevant modules, for example:
Install Composer using a package manager, for example, Homebrew.
Download and run Composer-Setup.exe - it will install the latest Composer version.
Install Ibexa DXP¶
At this point the installation procedure is the same as when installing on Linux. Follow the steps from the main Install Ibexa DXP page.
Set up virtual host¶
Prepare a virtual host configuration for your site in your Apache directory:
- For Windows:
- For macOS:
Then restart the Apache server.
Set up permissions¶
web/var need to be writable by CLI and web server user.
Future files and directories created by these two users will need to inherit those permissions.
For more information, see Setting up or Fixing File Permissions.
See the Security checklist for a list of security-related issues that you should take care of before going live with a project.