Update
This commit is contained in:
parent
e2bc0afd76
commit
bc9b2518ae
BIN
public/dev/EnvDev.pdf
Executable file → Normal file
BIN
public/dev/EnvDev.pdf
Executable file → Normal file
Binary file not shown.
File diff suppressed because it is too large
Load Diff
@ -1,156 +0,0 @@
|
||||
INSTALL WINDOWS DEV ENVIRONMENT
|
||||
===============================
|
||||
|
||||
N.B : Install a MySQL server or MariaDB
|
||||
|
||||
Software version
|
||||
----------------
|
||||
This guide is applicable to these versions, especially on Windows 7
|
||||
|
||||
Apache 2.4.x
|
||||
PHP 5.5.9
|
||||
|
||||
Download
|
||||
-----------------
|
||||
http://www.apachelounge.com/
|
||||
httpd-2.4.7-win64-VC11.zip
|
||||
|
||||
http://windows.php.net/
|
||||
vcredist_x64.exe
|
||||
php-5.5.9-Win64-VC11.zip
|
||||
|
||||
http://windows.php.net/downloads/pecl/releases/
|
||||
php_apcu-4.0.4-5.5-ts-vc11-x64.zip
|
||||
|
||||
Directory tree to store all files
|
||||
-----------------------------------
|
||||
|
||||
1. Create, for example : C:\Server
|
||||
|
||||
2. Tree example
|
||||
|
||||
Apache247
|
||||
PHP
|
||||
ini
|
||||
5.3.27
|
||||
5.5.9
|
||||
PEAR
|
||||
php-5.3.27
|
||||
php-5.5.9
|
||||
vhosts
|
||||
|
||||
3. Extract "httpd" in a directory name Apache{version}
|
||||
4. Extract "php" in a directory name php-{version}
|
||||
5. Configure your php
|
||||
Add a directory, to store configuration file, in PHP\ini\{your_php_version}
|
||||
Add in it all your conf files as php.ini, php_browscap.ini
|
||||
Edit php.ini and configure "extension_dir"
|
||||
|
||||
6. Configure Apache
|
||||
Create 3 files in C:\Server\Apache247\conf
|
||||
- httpd.head.conf
|
||||
- httpd.php{version}.conf
|
||||
- httpd.foot.conf
|
||||
Copy the content of httpd.conf from the beginning through "Supplemental" in httpd.head.conf
|
||||
Copy the content of httpd.conf from "Supplemental" through the end in httpd.foot.conf
|
||||
|
||||
Now in file httpd.php559.conf, add
|
||||
|
||||
ServerRoot "C:/Server/Apache247"
|
||||
Include "C:/Server/Apache247/conf/httpd.head.conf"
|
||||
ServerName localhost
|
||||
LoadModule php5_module "C:/Server/PHP/php-5.5.9/php5apache2_4.dll"
|
||||
PHPIniDir "C:/Server/PHP/ini/5.5.9"
|
||||
AddHandler application/x-httpd-php .php
|
||||
Include "C:/Server/Apache247/conf/httpd.foot.conf"
|
||||
|
||||
Go back in head and foot file
|
||||
- Comment ServerRoot
|
||||
- Change path c:\Apache24 par c:\Server\Apache247
|
||||
- Activate all needed modules
|
||||
- Uncomment Include extra/httpd.vhosts.conf
|
||||
- Change extra/httpd.vhosts.conf
|
||||
- Add all your vhosts conf file in C:\Server\vhosts
|
||||
|
||||
7. Install the HTTPD service in windows
|
||||
|
||||
http.exe -k install -n "Apache247-PHP559" -f C:\Server\Apache247\conf\httpd.php559.conf
|
||||
|
||||
To remove it :
|
||||
http.exe -k uninstall -n "Apache247-PHP559"
|
||||
|
||||
|
||||
Debug with xdebug
|
||||
-----------------
|
||||
|
||||
http://xdebug.org
|
||||
|
||||
1. Download xdebug module
|
||||
2. Add it to php
|
||||
|
||||
zend_extension=php_xdebug-2.2.5-5.5-vc11-x86_64.dll
|
||||
|
||||
[xdebug]
|
||||
xdebug.remote_enable = 1
|
||||
xdebug.remote_port = 9000
|
||||
xdebug.remote_connect_back = 1
|
||||
|
||||
See http://xdebug.org/docs/remote
|
||||
|
||||
3. Restart apache
|
||||
4. Check in phpinfo()
|
||||
|
||||
5. Install a browser extension
|
||||
Firefox : The easiest Xdebug - https://addons.mozilla.org/en-US/firefox/addon/the-easiest-xdebug/
|
||||
Chrome : Xdebug Helper for Chrome - https://chrome.google.com/extensions/detail/eadndfjplgieldjbigjakmdgkmoaaaoc
|
||||
|
||||
6. Configure eclipse
|
||||
Preferences > PHP > Debug > Installed debugger
|
||||
|
||||
|
||||
NEW METHOD
|
||||
==========
|
||||
|
||||
Eclipse
|
||||
-------
|
||||
Modules : PDT, Subversive, Egit
|
||||
|
||||
Documentation
|
||||
https://www.eclipse.org/subversive/documentation.php
|
||||
https://wiki.eclipse.org/Git_and_EGit_for_Beginners
|
||||
http://wiki.eclipse.org/EGit/User_Guide
|
||||
|
||||
PuTTy
|
||||
http://www.chiark.greenend.org.uk/~sgtatham/putty/docs.html
|
||||
|
||||
Windows - Linux
|
||||
---------------
|
||||
|
||||
Utilisation de vagrant et virtualbox
|
||||
|
||||
Installer vagrant, virtualbox, putty
|
||||
http://www.vagrantup.com
|
||||
http://www.virtualbox.org
|
||||
http://www.putty.org/
|
||||
|
||||
Créer un répertoire pour le stockage du workspace
|
||||
C:\Users\<your user>\workspace
|
||||
Ce répertoire doit servir pour le stockage de tout les projets et ainsi réaliser l'execution et le débuggage à partir des machines virtuelles.
|
||||
|
||||
Récupérer les fichiers de définition depuis Git (Vagrantfile et autres), projet envdev
|
||||
(ces fichiers sont compatible windows, mac et linux)
|
||||
cmd.exe
|
||||
cd <def name> : Ce placer dans un répertoire d'une machine (ex: C:\Users\<your user>\workspace\envdev\lamp-trusty64)
|
||||
vagrant up : Exectuter la machine
|
||||
|
||||
Pour utiliser une clé valide avec PuTTy
|
||||
Chargé la clé C:\Users\<your user>\.vagrant.d\insecure_private_key dans PuTTyGen (Load), puis save pivate key as putty.ppk
|
||||
Créer dans putty un profil 127.0.0.1:2222 en spécifiant la clé pour la connexion.
|
||||
|
||||
Dans le repértoire C:\Users\<your user>\vms\<def name>\vhosts, on peut ajouter des vhosts
|
||||
Machine : 192.168.33.10
|
||||
Vhost Path : /home/vhosts
|
||||
Pour provisionner à nouveau, dans cmd, vagrant provision
|
||||
|
||||
|
||||
|
@ -1,85 +0,0 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<?p2f version='1.0.0'?>
|
||||
<p2f version='1.0.0'>
|
||||
<ius size='15'>
|
||||
<iu id='epp.package.standard' name='Eclipse IDE for Eclipse Committers' version='4.4.1.20140925-1820'>
|
||||
<repositories size='1'>
|
||||
<repository location='http://download.eclipse.org/releases/luna'/>
|
||||
</repositories>
|
||||
</iu>
|
||||
<iu id='org.eclipse.wst.xml_ui.feature.feature.group' name='Eclipse XML Editors and Tools' version='3.6.1.v201409111852'>
|
||||
<repositories size='1'>
|
||||
<repository location='http://download.eclipse.org/releases/luna'/>
|
||||
</repositories>
|
||||
</iu>
|
||||
<iu id='org.polarion.eclipse.team.svn.connector.javahl17.win64.feature.group' name='JavaHL 1.7.9 Win64 Binaries (Optional)' version='4.0.2.I20140528-1700'>
|
||||
<repositories size='1'>
|
||||
<repository location='http://community.polarion.com/projects/subversive/download/eclipse/4.0/luna-site/'/>
|
||||
</repositories>
|
||||
</iu>
|
||||
<iu id='org.polarion.eclipse.team.svn.connector.javahl18.win64.feature.group' name='JavaHL 1.8.10 Win64 Binaries (Optional)' version='4.1.2.I20141224-1700'>
|
||||
<repositories size='1'>
|
||||
<repository location='http://community.polarion.com/projects/subversive/download/eclipse/4.0/luna-site/'/>
|
||||
</repositories>
|
||||
</iu>
|
||||
<iu id='org.polarion.eclipse.team.svn.connector.javahl17.feature.group' name='Native JavaHL 1.7 Implementation (Optional)' version='4.1.2.I20141224-1700'>
|
||||
<repositories size='1'>
|
||||
<repository location='http://community.polarion.com/projects/subversive/download/eclipse/4.0/luna-site/'/>
|
||||
</repositories>
|
||||
</iu>
|
||||
<iu id='org.polarion.eclipse.team.svn.connector.javahl18.feature.group' name='Native JavaHL 1.8 Implementation (Optional)' version='4.1.2.I20141224-1700'>
|
||||
<repositories size='1'>
|
||||
<repository location='http://community.polarion.com/projects/subversive/download/eclipse/4.0/luna-site/'/>
|
||||
</repositories>
|
||||
</iu>
|
||||
<iu id='org.eclipse.php.feature.group' name='PHP Development Tools (PDT)' version='3.3.1.201409161013'>
|
||||
<repositories size='1'>
|
||||
<repository location='http://download.eclipse.org/releases/luna'/>
|
||||
</repositories>
|
||||
</iu>
|
||||
<iu id='org.eclipse.team.svn.revision.graph.feature.group' name='Subversive Revision Graph (Optional)' version='2.0.0.I20140609-1700'>
|
||||
<repositories size='2'>
|
||||
<repository location='http://download.eclipse.org/technology/subversive/2.0/update-site/'/>
|
||||
<repository location='http://download.eclipse.org/releases/luna'/>
|
||||
</repositories>
|
||||
</iu>
|
||||
<iu id='org.polarion.eclipse.team.svn.connector.feature.group' name='Subversive SVN Connectors' version='4.1.2.I20141224-1700'>
|
||||
<repositories size='1'>
|
||||
<repository location='http://community.polarion.com/projects/subversive/download/eclipse/4.0/luna-site/'/>
|
||||
</repositories>
|
||||
</iu>
|
||||
<iu id='org.eclipse.team.svn.mylyn.feature.group' name='Subversive SVN Integration for the Mylyn Project (Optional)' version='2.0.0.I20140609-1700'>
|
||||
<repositories size='2'>
|
||||
<repository location='http://download.eclipse.org/technology/subversive/2.0/update-site/'/>
|
||||
<repository location='http://download.eclipse.org/releases/luna'/>
|
||||
</repositories>
|
||||
</iu>
|
||||
<iu id='org.eclipse.team.svn.resource.ignore.rules.jdt.feature.group' name='Subversive SVN JDT Ignore Extensions (Optional)' version='2.0.0.I20140609-1700'>
|
||||
<repositories size='2'>
|
||||
<repository location='http://download.eclipse.org/technology/subversive/2.0/update-site/'/>
|
||||
<repository location='http://download.eclipse.org/releases/luna'/>
|
||||
</repositories>
|
||||
</iu>
|
||||
<iu id='org.eclipse.team.svn.feature.group' name='Subversive SVN Team Provider' version='2.0.1.I20140907-1700'>
|
||||
<repositories size='2'>
|
||||
<repository location='http://download.eclipse.org/technology/subversive/2.0/update-site/'/>
|
||||
<repository location='http://download.eclipse.org/releases/luna'/>
|
||||
</repositories>
|
||||
</iu>
|
||||
<iu id='org.polarion.eclipse.team.svn.connector.svnkit17.feature.group' name='SVNKit 1.7.12 Implementation (Optional)' version='4.1.2.I20141224-1700'>
|
||||
<repositories size='1'>
|
||||
<repository location='http://community.polarion.com/projects/subversive/download/eclipse/4.0/luna-site/'/>
|
||||
</repositories>
|
||||
</iu>
|
||||
<iu id='org.polarion.eclipse.team.svn.connector.svnkit18.feature.group' name='SVNKit 1.8.7 Implementation (Optional)' version='4.1.2.I20141224-1700'>
|
||||
<repositories size='1'>
|
||||
<repository location='http://community.polarion.com/projects/subversive/download/eclipse/4.0/luna-site/'/>
|
||||
</repositories>
|
||||
</iu>
|
||||
<iu id='org.eclipse.tcf.te.terminals.feature.feature.group' name='TCF Terminal (Console) View' version='1.2.0.201406042322'>
|
||||
<repositories size='1'>
|
||||
<repository location='http://download.eclipse.org/releases/luna'/>
|
||||
</repositories>
|
||||
</iu>
|
||||
</ius>
|
||||
</p2f>
|
@ -1,27 +0,0 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<?p2f version='1.0.0'?>
|
||||
<p2f version='1.0.0'>
|
||||
<ius size='4'>
|
||||
<iu id='epp.package.php' name='Eclipse IDE for PHP Developers' version='4.5.1.20150917-1200'>
|
||||
<repositories size='1'>
|
||||
<repository location='http://download.eclipse.org/releases/mars'/>
|
||||
</repositories>
|
||||
</iu>
|
||||
<iu id='org.eclipse.team.svn.resource.ignore.rules.jdt.feature.group' name='Subversive SVN JDT Ignore Extensions (Optional)' version='3.0.0.I20150529-1700'>
|
||||
<repositories size='2'>
|
||||
<repository location='http://download.eclipse.org/releases/mars'/>
|
||||
<repository location='http://download.eclipse.org/technology/subversive/3.0/update-site/'/>
|
||||
</repositories>
|
||||
</iu>
|
||||
<iu id='org.eclipse.team.svn.feature.group' name='Subversive SVN Team Provider' version='3.0.2.I20151028-1700'>
|
||||
<repositories size='1'>
|
||||
<repository location='http://download.eclipse.org/technology/subversive/3.0/update-site/'/>
|
||||
</repositories>
|
||||
</iu>
|
||||
<iu id='org.eclipse.tm.terminal.feature.feature.group' name='TM Terminal' version='4.0.0.201506040610'>
|
||||
<repositories size='1'>
|
||||
<repository location='http://download.eclipse.org/releases/mars'/>
|
||||
</repositories>
|
||||
</iu>
|
||||
</ius>
|
||||
</p2f>
|
@ -1,43 +0,0 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<?p2f version='1.0.0'?>
|
||||
<p2f version='1.0.0'>
|
||||
<ius size='7'>
|
||||
<iu id='epp.package.php' name='Eclipse IDE for PHP Developers' version='4.5.2.20160218-0600'>
|
||||
<repositories size='1'>
|
||||
<repository location='http://download.eclipse.org/releases/mars'/>
|
||||
</repositories>
|
||||
</iu>
|
||||
<iu id='org.python.pydev.feature.feature.group' name='PyDev for Eclipse' version='4.5.5.201603221110'>
|
||||
<repositories size='1'>
|
||||
<repository location='http://pydev.org/updates/'/>
|
||||
</repositories>
|
||||
</iu>
|
||||
<iu id='org.python.pydev.mylyn.feature.feature.group' name='Pydev Mylyn Integration' version='0.6.0'>
|
||||
<repositories size='1'>
|
||||
<repository location='http://pydev.org/updates/'/>
|
||||
</repositories>
|
||||
</iu>
|
||||
<iu id='org.eclipse.team.svn.resource.ignore.rules.jdt.feature.group' name='Subversive SVN JDT Ignore Extensions (Optional)' version='3.0.0.I20150529-1700'>
|
||||
<repositories size='2'>
|
||||
<repository location='http://download.eclipse.org/releases/mars'/>
|
||||
<repository location='http://download.eclipse.org/technology/subversive/3.0/update-site/'/>
|
||||
</repositories>
|
||||
</iu>
|
||||
<iu id='org.eclipse.team.svn.feature.group' name='Subversive SVN Team Provider' version='3.0.4.I20160131-1700'>
|
||||
<repositories size='2'>
|
||||
<repository location='http://download.eclipse.org/releases/mars'/>
|
||||
<repository location='http://download.eclipse.org/technology/subversive/3.0/update-site/'/>
|
||||
</repositories>
|
||||
</iu>
|
||||
<iu id='org.eclipse.tm.terminal.feature.feature.group' name='TM Terminal' version='4.0.0.201506040610'>
|
||||
<repositories size='1'>
|
||||
<repository location='http://download.eclipse.org/releases/mars'/>
|
||||
</repositories>
|
||||
</iu>
|
||||
<iu id='org.dadacoalition.yedit.feature.feature.group' name='YEdit Feature' version='1.0.20.201509041456-RELEASE'>
|
||||
<repositories size='1'>
|
||||
<repository location='http://dadacoalition.org/yedit'/>
|
||||
</repositories>
|
||||
</iu>
|
||||
</ius>
|
||||
</p2f>
|
@ -135,7 +135,7 @@
|
||||
Outil de suivi des évolutions et des bugs.
|
||||
</div>
|
||||
<ul class="list-group">
|
||||
<li class="list-group-item">Principal : <a href="http://mantis.sd.lan" target="_blank">http://mantis.sd.lan</a></li>
|
||||
<li class="list-group-item">Principal : <a href="http://mantisbt.sd.lan" target="_blank">http://mantisbt.sd.lan</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@ -151,18 +151,6 @@
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="panel panel-info">
|
||||
<div class="panel-heading">
|
||||
<h3 class="panel-title">Facturation</h3>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
Extraire les logs de facturation (en cours de dépréciation)
|
||||
</div>
|
||||
<ul class="list-group">
|
||||
<li class="list-group-item">Principal : <a href="http://sdfact.sd.lan" target="_blank">http://sdfact.sd.lan</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<?php } elseif ($q=='utilitaires') {?>
|
||||
|
||||
@ -426,15 +414,9 @@ $refGit = 'ssh://git@192.168.78.240:22';
|
||||
<li class="list-group-item">
|
||||
<a href="http://www.phptherightway.com/" target="_blank">PHP The Right Way</a>
|
||||
</li>
|
||||
<li class="list-group-item">
|
||||
<a href="http://intranet.sd.lan/dev/coding_standard.html" target="_blank">Coding Standard</a>
|
||||
</li>
|
||||
<li class="list-group-item">
|
||||
<a href="http://intranet.sd.lan/dev/EnvDev.pdf" target="_blank">Installation Infrastructure de développement</a>
|
||||
</li>
|
||||
<li class="list-group-item">
|
||||
<a href="http://intranet.sd.lan/dev/installation_eclipse_201603.p2f" target="_blank">Eclipse fichier installation plugins</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user