Remember the process of installing PHP in a Java environment

Source: Internet
Author: User

Apache anti-generation Tomcat used by the server

apache2.2, download php5.4.9 (php5.5+ use apache2.4)

Apache Configuration

Phpinidir "e:/php549""E:/php549/php5apache2_2.dll"<ifmodule mod_php5.c>    AddType application/x-httpd-php. php    addtype application/x-httpd-php. html. Htm</ifmodule><virtualhost *: >    ServerName www.java.com    directoryindex index.php index.html index.htm index.jsp #JkMount/    * Ajp13    #JkUnMount/php/* ajp13    "D:\webapps"    proxypass/php! #不进行代理的目录    proxypassreverse/ php!    Proxypass  /http://www.java.com:8080/    proxypassreverse/http://www.java.com:8080  /</virtualhost>

PHP configuration (copy php.ini-development to php.ini)

#相关模块开启, remove the front ; number  = "E:/php549/ext"

The basic is OK, it looks very simple, but it really took some effort to run through

Remember the process of installing PHP in a Java environment

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.