qa:testfest-2010:ubuntu-test-environment
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
qa:testfest-2010:ubuntu-test-environment [2010/05/06 04:06] – Changed: Commands to match Ubuntu. ericstewart | qa:testfest-2010:ubuntu-test-environment [2017/09/22 13:28] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Building a PHP Test Environment on Ubuntu ====== | ====== Building a PHP Test Environment on Ubuntu ====== | ||
- | The following instructions were written for and tested on Ubuntu | + | The following instructions were written for and tested on Ubuntu 9.10. It possible these same instructions will work on other versions of Ubuntu. Please update all installed packages before starting to build your test environment. |
- | Building a PHP test environment on Ubuntu is a four step process: | + | Building a PHP test environment on Ubuntu is a two step process: |
- Download the Automated Build Scripts | - Download the Automated Build Scripts | ||
- | - Build the Latest Version of PHP 5.2 | + | - Run the Build Script |
- | - Build the Latest Version of PHP 5.3 | + | |
- | - Build the Latest Version of PHP Trunk | + | |
We recommend you run tests you've written against the three main branches of PHP: 5.2, 5.3 and Trunk. | We recommend you run tests you've written against the three main branches of PHP: 5.2, 5.3 and Trunk. | ||
The rest of the instructions assume you will be building your test environment on your user's home directory " | The rest of the instructions assume you will be building your test environment on your user's home directory " | ||
- | |||
===== Download the Automated Build Scripts ===== | ===== Download the Automated Build Scripts ===== | ||
Line 20: | Line 17: | ||
'' | '' | ||
- | '' | + | '' |
- | '' | + | '' |
- | You've now downloaded and uncompressed the build scripts | + | You've now downloaded and uncompressed the build scripts |
- | + | ===== Run the Build Script | |
- | ===== Build the Latest Version of PHP 5.2 ===== | + | |
Copy the build script to your home directory using this command: | Copy the build script to your home directory using this command: | ||
- | '' | + | '' |
Make the build script executable with this command: | Make the build script executable with this command: | ||
- | '' | + | '' |
- | + | ||
- | Now, you simply run the bash script using this command: | + | |
- | + | ||
- | '' | + | |
- | + | ||
- | You have now built a test environment for PHP 5.2 in your home directory. The build environment will be located in the " | + | |
- | + | ||
- | + | ||
- | ===== Build the Latest Version of PHP 5.3 ===== | + | |
- | + | ||
- | Copy the build script to your home directory using this command: | + | |
- | + | ||
- | '' | + | |
- | + | ||
- | Make the build script executable with this command: | + | |
- | + | ||
- | '' | + | |
- | + | ||
- | Now, you simply run the bash script using this command: | + | |
- | + | ||
- | '' | + | |
- | + | ||
- | You have now build a test environment for PHP 5.3 on your desktop. The build environment will be located in the " | + | |
- | + | ||
- | + | ||
- | ===== Build the Latest Version of PHP Trunk ===== | + | |
- | + | ||
- | Copy the build script to your home directory using this command: | + | |
- | + | ||
- | '' | + | |
- | + | ||
- | Make the build script executable with this command: | + | |
- | '' | + | Now, you simply run the shell script using this command: |
- | Now, you simply run the bash script using this command: | + | '' |
- | '' | + | You have now built a test environment for PHP on your desktop. The build environment will include a folder for each of the main PHP branches: “php52”, |
- | You have now build a test environment for PHP Trunk in your home directory. The build environment will be located in the " | + | ===== Screencast ===== |
+ | Watch a Screencast demonstration of this entire process. |
qa/testfest-2010/ubuntu-test-environment.1273118785.txt.gz · Last modified: 2017/09/22 13:28 (external edit)