Sie sind auf Seite 1von 5

Install - ZendServer Pear - PhpUnit

Author: Function: Date: Version: Address:

Phone: Email: Web:

Chirila Paul Ionut CEO 07/14/2011 1.0 S.C. Around 25 S.R.L. 20 Carpati Street Dej 405200 Romania +40 724 00 17 17 paul@around25.com www.around25.com

Document Management
Document approval: Name Chirila Paul Ionut Function CEO Signature Date 07/14/2011

This document is the property of Around 25 or its affiliates. It may be legally privileged and/or confidential and is intended only for the use of the addressee(s). No addressee should forward, print, copy, or otherwise reproduce this document in any manner that would allow it to be viewed by any individual not originally listed as a recipient. If the reader of this message is not the intended recipient, you are hereby notified that any unauthorized disclosure, dissemination, distribution, copying or the taking of any action in reliance on the information herein is strictly prohibited. If you have received this communication in error, please immediately notify the sender and delete this document. Thank you.

Document recipients: Name Company Function Email Date 07/14/2011

Document history: Issue 1.0 Date 07/14/2011 Comments Initial Version

Referred documents: Document Name Comments

Clean Up!
BEFORE STARTING BACK UP ALL YOUR LOCAL PROJECTS AND DATABASES DISABLE YOUR ANTIVIRUS, FIREWALL etc. 1. Make sure that you have no other web servers installed locally IF YOU ALREADY HAVE ZEND SERVER CE INSTALLED LOCALLY: a) Go to Start->Programs->Zend Server and from there run the Uninstall option b) Go to Control Panel -> Remove Programs find the MySQL Server 5.1 program and uninstall it c) Delete the ZendServer folder with all its contents (or move it to another location on your hard disk, as a backup)

Confidential document. Do not disclose without written authorization!

Page 2 of 5

2. Go to Control Panel-> Administrative Tools-> Services and make sure there are no apache or mysql services in the list. If there are you can remove them from the folder where your current web server is installed. You might have something like "uninstall_services.bat". 3. RESTART 4. Right click on MyComputer->Properties->Advanced System Settings->Environment Variables and make sure that the "Path" variable contains no references to your previous web server. If it does remove them and RESTART.

Install Zend Server CE


1. Download Zend Server from the Zend website and run the EXE 2. Select "Custom Install" and check all options except the ones that are unchecked in the attached screen shot

Confidential document. Do not disclose without written authorization!

Page 3 of 5

3. Be careful, Skype uses ports 80 and 443 as well. You should disable that option in Skype http://www.mydigitallife.info/disable-skype-from-using-opening-and-listening-on-port-80-and443-on-local-computer/ 4. Make sure you complete the steps from http://localhost:10081/ZendServer/ . When it asks for a password use secret (just as a convention) 5. After the installation is complete, go to Zend/ZendServer/etc/php.ini and make sure you set display_errors = On display_startup_errors = On

Install PEAR
1. Download the file from this URL http://pear.php.net/go-pear and save it to ...Zend\Apache2\htdocs\go-pear.php 2. Open a browser and run localhost/go-pear.php 3. When installing PEAR make sure you set: "1. Installation prefix ($prefix)" = "d:\webservers\zend\zendserver\bin\" 4. Add your PEAR Installation path (d:\webservers\zend\zendserver\bin\PEAR) to your "Path" variable from Control Panel-> Administrative Tools-> Services
Confidential document. Do not disclose without written authorization! Page 4 of 5

5. Go to Zend/ZendServer/etc/php.ini and add the PEAR path to your include path [Zend] include_path=".;D:\WebServers\Zend\ZendServer\share\ZendFramework\library;D:\WebServ ers\Zend\zendserver\bin\PEAR" fastcgi.impersonate=1 cgi.fix_pathinfo = 1 5. RESTART

Install PHPUNIT
Before you start delete everything from C:\Users\YOUR_USER_NAME\AppData\Local\Temp\ If you need to reinstall PHPUnit then DELETE again the contents of the above folder 1. Open http://www.phpunit.de/manual/current/en/installation.html 2. Open a cmd window 3. Run each of the following commands SEPARATELY (and each only once!): pear channel-discover pear.phpunit.de pear channel-discover components.ez.no pear channel-discover pear.symfony-project.com 4. Now run: pear install phpunit/PHPUnit

Confidential document. Do not disclose without written authorization!

Page 5 of 5

Das könnte Ihnen auch gefallen