1: Installation Process omitted
2: After integrating Apache and tomcat, You need to modify httpd. conf 1> servername localhost: 80.
2> Add index. jsp after directoryindex 3> namevirtualhost Server IP
4> loadmodule jk_module/modules? Mod_jk.so
3: Disable the Linux Firewall
4: when installing PHP, the following problems may occur: "can not load/usr/local/Apache/modulse/libphp5.so
Into server:/usr/local/Apache/modules/libphp5.so: Can not resotre segment prot after
Reloc: Permission denied"
-- The cause of the change error is: caused by Linux SELinux.
Solution: 1> change SELinux = enforcing to SELinux = disabled in VI/etc/SELinux/config and restart
2> do not disable SELinux:
Setenforce 0
Chcon-C-v-r-u system_u-r object_r-T textrel_shlib_t/usr/local/Apache/modulse/libphp5.so
/Usr/local/Apach/bin/apachectrl start
Setenfore 1
5: Add the following in httpd. conf:
Addtype application/X-httpd-p-PHP. php
Addtype application/X-httpd-PHP-source. php