Apache+php+mysql+zendstudio Manual Installation

Source: Internet
Author: User
Tags apache download zend

One, Apache download: http://www.apache.org/

Installation: Direct decompression to Apache for the file name on the disk.

  1. Locate the drive letter: \apache\conf\httpd.conf file, open with Notepad, find: Define srvroot This entry, its value is changed to

    The directory address where you are currently installing Apache.

  2. found: Listene

    If your 80 port is occupied (can be viewed under cmd with Command netstat-a), change the port 80 to something else such as: 8080, 8082, etc.

    Save the httpd.conf file.

    To configure the root directory of the Apache server:

    DocumentRoot "E:/apache/www"
    <directory "E:/apache/www" >

  3. E:\apache\bin\httpd.exe-k Install, this sentence can add Apache to the system service

    Configure the Master service to install Apache, and with it, Apache can start:

    Open the cmd window, enter: "E:\Apache\bin\httpd.exe"-K install-n Apache

    Remember to include quotation marks. The command means installing the Apache service and naming the service name Apache (can be changed to something else) and enter.

    Service installation completed, after completion, will be automatically tested, if there is a problem, the window will prompt the error, at this time, please self-troubleshooting according to the error.

    The normal installation is complete as shown in the following:

    Among them, Errors reported here must is corrected before the service can be started. This means that if there is an error message behind the sentence, the service installation fails and the error needs to be corrected first. If not, then success.

  4. In the installation directory, locate the D:\application_software\Apache\bin\ApacheMonitor.exe executable, double-click Run, the desktop appears in the lower right corner of the icon, double-click the Open Window interface, you will see:

  5. Click Start on the left to start the Apache service.

    Supplementary sentence, from this interface can be seen, it can manually control the opening and closing of services, in order to save resources, the time to close the Apache server, please click "Stop" to close the Apache service.

    Of course, the service can also be turned off in Windows system Services (recommended for manual setup)

    Shows the status of the service successfully displayed:

  6. Open Browser, enter access

    http://localhost if the interface appears as shown, the basic configuration of the Apache server is complete, and the Apache server is now ready to run.



Second, PHP

Open a php php.ini file and modify:
Extension_dir = "./ext/"
Then open the expansion pack according to the DLL file inside the EXT directory:
; Common configuration
Extension=php_curl.dll
Extension=php_gd2.dll
Extension=php_mbstring.dll
; Support MySQL
Extension=php_mysql.dll
Extension=php_mysqli.dll
Extension=php_pdo_mysql.dll
Extension=php_xmlrpc.dll
..

; Time zone set to China time zone
Date.timezone = "Asia/shanghai"

3. Configure MySQL with MySQL Server Instance Config Wizard,
Can also be configured during the installation process

Third, MySQL

The default installation can

Iv. Xdebug

Win: Place the downloaded DLL file (this is Php_xdebug-2.3.3-5.5-vc11-x86_64.dll) in the Ext folder of the PHP installation directory. This machine is put in the drive letter: \php\ext Create a new Xdebug folder under Apacheserver, and then create a new trace and Profiler folder under Xdebug to store two xdebug of information editing php.ini, adding the following lines Zend_ Extension = "drive letter: \php\ext\php_xdebug-2.3.3-5.5-vc11-x86_64.dll"; Allow remote IDE Debug xdebug.remote_enable = true; remote Host Xdebug.remote_host = 127.0.0.1;xdebug.remote_port = 9000; default port 9000xdebug.profiler_enable = on; temporary Trace Information Output Xdebug.trace_output_dir = "Drive letter: \apache\xdebug\trace" xdebug.profiler_output_dir = "drive letter: \apache\xdebug\profiler"; The remaining parameters; turn on automatic tracking. Automatically turns on the "monitor function call process" mode. This function can output the monitoring information of a function call as a file in the directory you specify Xdebug.auto_trace = on; Turn on exception tracking xdebug.show_exception_trace = on; Turn on remote debugging auto-Start xdebug.re Mote_autostart = on; collect variable xdebug.collect_vars = on; collect return value Xdebug.collect_return = on; collect parameters Xdebug.collect_para ms = on; show local variable xdebug.show_local_vars = on; show default error message Xdebug.default_enable = ON; application-layer communication protocol for Zend Studio remote debugging XD Ebug.remote_handler = DBGP; if it is set too small, there are recursive calls to itself too many times in the functionMore than the maximum number of embedded arrays error Xdebug.max_nesting_level = 10000 

Open localhost to see the following information indicates that the installation was successful

Wu, Zendstudio 12.5.1

Zendstudio Configuring the Apache server Note: The path is a drive letter: fullpath/apache/conf

Zendstudio Configuring PHP window-->preferences-->php-->php Executable

name:myphp5.5 executable Path:php/php.exe SAPI type:cli

SVN: Search for SVN directly in Zend Studio and follow the prompts to download the installation.

Liu, Zend Debugger

Current: The latest Zend Debugger TS version is 5.2. To use Zend debugger,php the maximum can only be configured with 5.2来.

The latest Zend Debugger NTS version is 5.6. Can be used with a later version.

Note: Make sure that the PHP ts/nts version is consistent with it.

Ts:thread Safe thread Safety, thread security during execution, to prevent new requirements from running out of system resources to start the CGI execution of new threads

Nts:non thread safe is non-threaded and does not carry out threading (thread) security checks at execution time

Two ways of executing PHP: ISAPI and fastcgi.

ISAPI (Internet Server application programming Interface) is executed in the form of DLL dynamic libraries, which can be executed after a user request and will not disappear immediately after processing a user request. Therefore, thread security checks are required to improve the execution efficiency of the program, so if you are executing PHP with ISAPI, it is recommended that you choose the thread safe version

Apache+php+mysql+zendstudio Manual Installation

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.