Install PHP in Ubuntu

Source: Internet
Author: User
Tags php web server
The Ubuntu utility series will introduce the configuration and use of various tool software based on Linuxubuntu. Some tools are familiar to everyone, and some tools are often used but are still unfamiliar. I will record some methods of installing and configuring the tool when using the operating system, and record my usage experiences so that I can find and recall them later. About

The Ubuntu utility series will introduce the configuration and use of various tool software based on Linux ubuntu. Some tools are familiar to everyone, and some tools are often used but are still unfamiliar. I will record some methods of installing and configuring the tool when using the operating system, and record my usage experiences so that I can find and recall them later. About

The Ubuntu utility series will introduce the configuration and use of various tool software based on Linux ubuntu. Some tools are familiar to everyone, and some tools are often used but are still unfamiliar. I will record some methods of installing and configuring the tool when using the operating system, and record my usage experiences so that I can find and recall them later. Author: Zhang Dan (Conan), programmer Java, R, PHP, Javascript weibo: @ Conan_Z blog :? http://blog.fens.me Email: bsspirit@gmail.com reproduced please indicate the source: http://blog.fens.me /Linux-php-install/preface PHP is an efficient Web development language that can be embedded in HTML and interpreted by the server. PHP can execute dynamic web pages more quickly than CGI or Perl, And the execution efficiency is much higher than the CGI that completely generates HTML tags. PHP can also execute compiled code, compilation can encrypt and optimize code execution, making code run faster. PHP has been widely used in various Web systems and applications. Directory PHP installation in Windows PHP installation in Linux Ubuntu 1 PHP installation in Windows 1.1 download and decompress PHP installation in Windows PHP environment is very simple, directly download the compressed file (zip ), decompress the package.: http://windows.php.net/download/ Decompress Directory: D: \ toolkit \ php-5.5.11 when we run php.exe, an error will pop up, the computer lost MSVCR110.ddl. When this error occurs, we need to install the related components of VC11 and download the corresponding components from the Microsoft official website. Download link: http://www.microsoft.com/zh-CN/download/details.aspx?id=30679 Download the corresponding 32-bit or 64-bit file. Install the downloaded file vcredist_x64.exe. We double-click php.exe again to run PHP normally. After installing the PHP environment, we also need to install Web servers, such as Apache, Nginx, and ISS. 1.2 download and decompress Nginx. Here I will introduce the installation and configuration of Nginx as a PHP Web server. Download the Nginx compressed file (zip) of the Window version ),: http://nginx.org/en/download.html Unzip Directory: D: \ toolkit \ nginx-1.5.11 + Nginx Server Run Command: nginx installation directory/nginx.exe 1.3 let PHP run 1.3.1 modify PHP configuration file in Nginx let us first configure the PHP environment to enter the PHP Directory D: \ toolkit \ php-5.5.11, copy php. ini-development file and create new file php. edit php. ini. ini ~ Vi php. ini; Set PHP working directory extension_dir = "D:/toolkit/php-5.5.11/ext"; set support for mysql extension = php_mysql.dll...
Read more →

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.