Hand-built WAMP+PHP+SVN development environment, WAMPSVN
One: WAMP
This software in the process of installation has been Apache, MySQL, PHP inherited good, but also do the corresponding configuration, in addition to Sqlitemanager and phpMyAdmin, save a lot of complex configuration process, So that we can put more time on the development of the program. It is even more gratifying to note that the software is also completely free. Important: Basically every step to change the configuration file after the end of the operation after restarting the corresponding service will not take effect, that is, if you want to modify the immediate effect, you must save after the changes to restart the corresponding service!
First, download Wamp, address
Http://liquidtelecom.dl.sourceforge.net/project/wampserver/WampServer%202/Wampserver%202.4/Wampserver2.4-x64.exe
This is a 64-bit.
1: Installation
Next, install complete, select language:
2:webpath,
Note that, using the default, in the installation directory of the WWW folder, we do not have special requirements do not need to change;
Configuration of 3:mysql and phpMyAdmin
A separate installation of MySQL friends will certainly find a problem, the previous installation of MySQL is required to configure a root password, but when the installation of Wampserver, there is no password to configure the steps, it is not the password MySQL is empty? The answer is yes, it is indeed a blank password. Wouldn't it be very unsafe? Very right, so we have to change the password.
Left click, select "PhpMyAdmin", will open the PhpMyAdmin Management page, click on the top right of the "user", we have to do is click on each line of user name to the right of the root "edit Permissions",
Then enter the password on the page, note that after the password has been changed, the above will all become.
4:apache
Wampserver has helped us to integrate Apache, do not need to move any configuration;
5: Configuration php--Important
PHP configuration is relatively simple, only need to make some basic settings to modify it, click on the Wamp icon,-php-php.ini, find these three places:
Short_open_tag = OFF (whether to allow the use of the abbreviated form of the PHP Code start flag ( ). );
Memory_limit = 128M (maximum size of memory used);
Upload_max_filesize = 2M (maximum number of uploaded attachments),
The first need to change to on, otherwise a lot of PHP programs will not work, the latter two will be in accordance with the actual needs of everyone to change the line.
II:Zend Studio
ZD is 13.0.1 version, the download address will not be disclosed. All the way to install, no suspense.
1:xdebug settings
Find Xdebug Extension, instead:
= "C:/wamp/bin/php/php5.4.12/zend_ext/php_xdebug-2.2.3-5.4-vc9-x86_64.dll" [Xdebug]xdebug. remote_enable = onxdebug. remote_handler=dbgpxdebug. remote_host=localhostxdebug. remote_port=9000 xdebug. profiler_enable = offxdebug. Profiler_enable_trigger = offxdebug. Profiler_output_ Name = cachegrind.out.%t.%pxdebug. Profiler_output_dir = "C:/wamp/tmp"
2:zendstudio End Xdebug Configuration
Open Zendstudio, select windows->preferences->php->php executables Add new PHP executables
As shown in the following:
PHP Servers Configuration
Next select window-preference-php Servers click New
Then edit
View the next debugger
Three: Testing
Note the direction of the path at the Red line, not/.
On the pop-up page, select our PHP version, 5.4, and then enter the content in index:
PHPecho "Hello World"; Echo "This spans multiple lines. The newlines would be output as well "; Echo "This spans\nmultiple lines. The newlines would be\noutput as well. " ; Echo "Escaping characters is do \" like This\ "." //$b =; for ($i= 0; $i<5; $i+ +) {$b+ =$i; Echo $b ; Echo'
';} Echo $b ?>
Hit the breakpoint, and then
Appear:
To this, we can happily develop.
Three: Import an existing project
In D:/wamp/www there is a project that needs to be imported into my Zend studio, Zend Studio Workspace is also the D:/wamp/www folder, so I use local PHP project or PHP project The From Existing directory will have problems.
Workaround:
Click "File"-"NEW"-"other", in the Open dialog box select "Genneral"-"project", and then enter the project name in the Open dialog box, you can import the project in workspace normally.
Four: SVN
Reference:
1:http://blog.csdn.net/imxiangzi/article/details/46533957
2:http://blog.csdn.net/imxiangzi/article/details/46533811
http://www.bkjia.com/PHPjc/1093107.html www.bkjia.com true http://www.bkjia.com/PHPjc/1093107.html techarticle hand-built WAMP+PHP+SVN development environment, WAMPSVN A: WAMP This software in the process of installation has been Apache, MySQL, PHP inherited good, but also do the corresponding configuration, in addition to this ...