standard modules are compiled into the DSO module.Then compile PHPTar zvxf php4.3.4.tar.gzCD php4.3.2./configure--prefix=/usr/local/php--with-mysql=/usr/local/mysql--with-apxs=/usr/local/apache/bin/apxsMakeMake installThen modify the Httpd.conf method with the static compilation methodOK,DSO dynamic compilation is complete!Next we talk about the dynamic compilation method of apache2.0.46+php4.3.2Compile and install Apache firstTar zvxf httpd-2.0.46.tar.gzCD httpd-2.0.46./configure--prefix=/usr/
the loading work is distributed to different configuration files, and the overall loading configuration file is apache2.conf. Part of the content is as follows:
# Include module configuration:Include /etc/apache2/mods-enabled/*.loadInclude /etc/apache2/mods-enabled/*.conf# Include all the user configurations:Include /etc/apache2/httpd.conf# Include ports listingInclude /etc/apache2/ports.conf......# Includ
Objective:To modify and expand the game (MOD) is something I have always been interested in, my program career, but also because of the junior high school contact with the GBA Pokemon revision began, the change has also studied some of the game's MoD implementation way, have long wanted to implement the "mod system" in their own game In order to support the player to modify my game, but too lazy has not done, recently in the study of u3d game Hack way, by the way also saw a few u3d game mod arti
Many of the frameworks now use a routing mechanism, but if the override mode is not turned on in Apache, the server does not read the routeSo today we're going to share Apache. Open Rewrite modeUnder Ubuntu:1. Under the command linesudo a2enmod rewrite//Open extensionOr: sudo ln-s/etc/apache2/mods-cuailable/rewrite.load/etc/apache2/mods-enabled/rewrite.load2. Then modify the/etc/apache2/sites-enabled/000-de
Ubuntu Server Installation Apache2Command: sudo apt-get install apache2Prompt: Could not reliably determine the server ' s fully qualified domain name, using 127.0.1.1 for ServerNameWorkaround:sudo vi/etc/apache2/apache2.conf1. After entering the password, enter the edit mode and add ServerName localhost in the blank space.2. Press ESC and shift+: Enter Wq save and exit the Reference VI editor that you do not understand3.sudo apache2ctl configtest Start service now displayed as Syntax OK4.sudo/e
bundled Apr-utilError: Checking for APR ... configure:error:the--with-apr parameter is incorrect. It must specify an install prefix, a build directory, or an apr-config file.Resolution: Requires the installation of APR and Apr-utilInstall Apr# CD SRCLIB/APR#./configure--PREFIX=/USR/LOCAL/APRError: Onfigure:error:in '/USR/LOCAL/HTTPD-2.2.27/SRCLIB/APR ':Configure:error:no acceptable C compiler found in $PATHSee ' Config.log ' for more detailsFIX: Install GCC dependency package yum-y install GCCM
Yesterday did a few topics, too simple, it is not written in the blog.1314 This problem is also relatively simple, written out because I think there is a small trick, for time complexity and space complexity are more economical.This topic is similar to the solution of a hash table, but simpler. When I got the title, I took it for granted that I wanted to put the query results in an array, and then traverse the query for the same mod value. But the feeling is certainly the most common method and
--enable-mods-shared=most--enable-mpms-shared=all--with-apr=/usr/ LOCAL/APR--with-apr-util=/usr/local/apr-utilMakeMake installExplain:--ENABLE-SO: Support dynamic sharing module, if support PHP will not work with Apache. Have to have--ENABLE-SSL: Enable SSL feature, if not enabled, will not be able to use HTTPS--enable-mpms-shared=all:prefork, worker, event--with-mpm=event:event as the default--enable-rewrite: Support URL rewriting--ENABLE-CGI: Suppor
original apache2. The following is a description of each of the configuration files in the/etc/apache2 directory:*apache2.conf--Global configuration file*conf.d/--This directory holds some general configuration*envvars--storage environment variables, generally do not need to modify*httpd.conf--User Configuration Files*mods-available/--in this directory are the available modules that are already installed*mods
Libapache2-mod-mono. Of course, Mono-gmcs, Mono-apache-server2, Libapache-mod-mono can all be installed together, but pay attention to the order of Mono-apache-server2 and Libapache-mod-mono, If Mono-apache-server2 is behind Libapache-mod-mono, Libapache-mod-mono will now automatically choose to install Mono-apache-server4 because of dependencies. Moreover, if installed together, in the above location of the jammed CTRL + Z restart, Libapache-mod-mono is not configured to complete a lot of oper
/local/pcre \--ENABLE-SO \--enable-rewrite \--enable-mods-shared=most \--with-mpm=worker \--disable-cgid \--disable-cgi
Parameter resolution:Prefix: Specifying the installation directoryinstallation directory for WITH-APR:APRWith-pcre: Using the extended pcre regular expression LibraryENABLE-SO: Enable dynamic load module support, what functions are required to dynamically loadEnable-rewrite: Enable Web address rewriting to implement pseudo-s
and simplify. For example, previously shared "6 steps to achieve CentOS system environment streamlined optimization" and "4 steps to achieve the Debian system environment streamlining optimization" can effectively improve the implementation efficiency and reduce the occupancy resource rate.
A-ubuntu/debian
cat /etc/apache2/mods-enabled/* | grep -i loadmodule
Open module
a2enmod module_name
Close Module
A2dismod module_name
B-centos/fedora/redh
Introduction to Linux Web Site configuration features
Many people can use different ports and different web directories.
Visit the website such as: HTTP://HOST:PORT/A/B/C/D/C will redirect to index.php.
Use: $_server["Redirect_url"], you can get "/a/b/c/d/c".
Help to build a convenient web site framework.
Steps
First Step
/etc/apache2/mods-avaiable/has a module: rewrite.load, copy it to the directory/etc/apache2/m
!");}
2. Execute the following command:
# RPM-IVH j2sdk*.rpm//install JDK package. # Source/etc/profile//Overload profile environment. # Ldconfig//Create dynamic link library cache file. # javac-d. Helloworld.java//Compile test file. # java HelloWorld//Run program test whether the installation was successful.
Five. Install Apache
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.