Message-ID: <2108785596.3660.1485854692585.JavaMail.confluence@ip-10-127-227-164> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_3659_2086164408.1485854692585" ------=_Part_3659_2086164408.1485854692585 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
This step requires the modification of two files: Apache2 configuration =
file and a. Uncomment the following line: b. Locate php.ini file. By default it should be in the following directo=
ry: c. Open the file in a text editor and locate d. Increase a. Edit Apache2 configuration file: b. Uncomment and modify the following lines: c. Comment the following line: d. Add the following line to the file: Composer is a dependency manager that allows you to install packages dir=
ectly in the project. It is also checking all packages' versions on a regul=
ar basis to make sure they are up-to-date and to avoid inconsistencies. Create new database (you can substitute a. Install PEAR/PECL extension: b. Edit c. Enable opcache extension for PHP (suggested, but not required) by add=
ing: a. Download archive from share.ez.no/download=
s. Extract the eZ Platform archive to a directory, then execu=
te post install scripts. b. Copy the virtual host template: d. Modify virtual host file vhost.template. <=
/p>
Replace the e. Restart Apache 2 server: f. Install required dependencies using Composer: When Composer asks you for the token you must log in to your GitHub acco=
unt and edit your profile. Go to the Personal access tokens link and Genera=
te new token with default settings. Be aware that the token will be shown o=
nly once, so do not refresh the page until you paste the token into Compose=
r prompt. This operation is performed only once when you install eZ Platfor=
m for the first time. h. Install eZ Platform:php.ini
.
These files can be edited using a te=
rminal editor like vi or nano, or a simple text editor. file name is C:\Program Files\Apache Software Foundation\Apache2.2\conf
=20
LoadModule php5_module libexec/apache2/libphp5.so
=20
C:\program files\php\php.ini
=20
date.timezone and
pdo_mysql.default_socket
and provide t=
hem with values as in the example below:date.timezone =3D "Europe/Warsaw"
pdo_mysql.default_socket =3D /tmp/mysql.sock
=20
memory_limit
value for eZ Platform:=
p>
memory_limit =3D 4G
=20
2.=
Set up virtual host and start Apache2
c:\Program Files\Apache Software Foundation\Apache2.2\conf
=20
LoadModule vhost_alias_module libexec/apache2/mod_vhost_alias.so
LoadModule rewrite_module libexec/apache2/mod_rewrite.so
=20
Include /private/etc/apache2/extra/httpd-vhosts.conf
=20
Include /private/etc/apache2/users/*.conf
=20
3. Start Apache2 daemon using Command Line
httpd.exe
=20
4. Install=
Composer globally
curl -sS https://getcomposer.org/installer | php
php -d memory_limit=3D-1 composer.phar
=20
5.=
Create a new database for eZ Platform
ez1
with =
the database name you want to use):mysql -uroot -ppassword -e "CREATE DATABASE ez1"
=20
6. Install additional requirements for eZ Platform
cd c:\program files\php\php.ini
curl -O https://pear.php.net/go-pear.phar
php -d detect_unicode=3D0 go-pear.phar
php install-pear-nozlib.phar
pear channel-update pear.php.net
pecl channel-update pecl.php.net
pear upgrade-all
pear config-set auto_discover 1
=20
php.ini
and add following line:extension=3Dintl.so
=20
zend_extension=3Dopcache.so
=20
Installation:
7. Install e=
Z Platformcd /<directory>/
php -d memory_limit=3D-1 composer.phar run-script post-install-cmd
=20
COPY c:\Program Files\Apache Software Foundation\Apache2.2\vhost.t=
emplate c:\Program Files\Apache Software Foundation\Apache2.2\users/ez1.lh.=
conf
=20
---USER_ID---
variable (used in lines=
10 and 17) with your current user ID. Use whoami
co=
mmand to get effective user ID of the currently logged user. If you want to=
use the default virtual host template (delivered with eZ Platform package)=
all you have to do is set up lines 7, 8, 9, 10, 17, 25 and 33:httpd.exe -k restart
=20
composer install
=20
php app/console ezplatform:install clean
=20
You will be able to see your page under http://ez1.lh (or the =
address you chose in preparation). Please note that a clean install of eZ P=
latform doesn=E2=80=99t include DemoBundle anymore.