First, using Apache
Installation of ≡php 5.2.5 ≡
1, to its official site download Php-5.2.5-win32.zip and decompression (said: Do not download and use its installer, this way although very automated, very smart, but there are many limitations, because it is not recommended. ) to a directory "D:\PHP\PHP".
Copy the php.ini-recommended from the PHP directory (D:\PHP\PHP) to Windows (some systems are WINNT directories) and rename it to PHP.ini, and find E
Resolve the location where ubuntu comes with Apache and self-compiled and installed Apache
In linux, Apache has a previous management tool: apachectl, which is used to manage the startup, shutdown, and some settings of Apache in the background.
Apachectl -- help
View usage.
Here we can use the apachectl script
After the Apache HTTP server is installed, it is reported that it cannot be started because the parallel configuration of the application is incorrect-(resolved). After apache is installed
Original Works are from the blog of "Deep Blue blog". You are welcome to repost them. You must specify the source when you repost them. Otherwise, you have the right to pursue legal liability for copyright.
Deep Blue blog
[TOC]Apache and PHP combined with Apache default virtual host 11.14 ~11.5 configuration Apcahe (httpd) Support Php1.apache (httpd) Master profile:/usr/local/apache2.4/conf/ httpd.conf, edit the file[[emailprotected] ~]# vim /usr/local/apache2.4/conf/httpd.conf2. Why modify the servername before modifying the configuration file[[emailprotected] ~]# /usr/local/apac
1, website download Apache Tomcat
http://tomcat.apache.org
This is apache-tomcat-8.0.12-windows-x64.zip.
2, unzip the downloaded zip file to D disk
Extract the file directory with apache-tomcat-8.0.12 as folder name after decompression
3, switch to the bin directory, start Tomcat
The following error may occur:
D:\apache
Configure apache Virtual Machine + software download, apache Virtual MachineStep 1:
Open the httpd. conf file in c:/wamp/apache/conf,
In httpd. conf, press ctrl + f and enter vhosts.
Find the line and remove the # above
Operation
Step 2:
Open the master configuration file of the VM
Httpd-vhosts.conf in c:/wamp/apache
Find your Apache installation directory, the directory of Apache installed for small series
2 Click the Conf folder Enter the configuration directory, locate the httpd.conf file,
3 To open the httpd.conf file, Find 475 rows, or ctr+f find httpd-vhosts.conf Remove the previous # Ps:include conf/extra/httpd-vhosts.conf (this refers to the Apache
The performance is as follows:Apache:1. The Apache service named reported the following error:>>> (OS 5) denied access. : Httpd.exe:could not open error log file D:/xxxx/apache/logs/error.log. .2. The Apache service named reported the following error:>>> Unable to open logs.Mysql:1, Can ' t create test file D:\xxxx\MySQL5.1\data\yyyy.lower-testLet security label
This article is mainly to share with you Apache so that other hosts on the same LAN can access this Apache server method, I hope to help everyone.
Apache2.2 and its previous versions
In the addOrder Allow,denyAllow from all
Apache2.4 version
In the Apache2.4 version of the above settings after the restart Apache will error, the search found that the Apache2.
Apache: configure the virtual host and apache virtual host. Apache configure virtual host, apache virtual host # enable VirtualhostsIncludeconfextrahttpd-vhosts.conf in httpd. conf # then configure in the httpd-vhosts.conf # match according to ip # Vi apache configure virtua
. It does not respond to user requests. It is used to create idle processes or destroy processes.
Httpd: Apche, Apache (Worker Process) Worker Process
It also has its own service script:
/Etc/rc. d/init. d/httpd
Port: (80/TCP), (https: 443/tcp)
The installation directory of the task software is in the/etc/httpd directory;
/Etc/httpd: Working root directory, equivalent to the program installation directory in Windows
/Etc/httpd/conf: configuration f
Using Hadoop to analyze and process data requires loading the data into a cluster and combining it with other data in the enterprise production database. It is a challenge to load large chunks of data from production systems into Hadoop or to get data from map reduce applications in large clusters. Users must be aware of the details of ensuring data consistency, consuming production system resources, and supplying downstream pipeline data preprocessing. Using a script to transform data is ineffi
Turn from: http://hi.baidu.com/pibuchou/blog/item/5cd41315d7a99215962b4334.html
Common compile parameter list
/configure//Configure the Source code tree–PREFIX=/USR/LOCAL/APACHE2//System-independent file top-level installation directory prefix, also on Apache's installation directory.–ENABLE-MODULE=SO//Open so module, so module is used to lift the DSO support of the Apache core module–enable-deflate=shared//Support for Web page compression–enable-exp
Apache module:See what parameters Apache has:/application/apache2.2.34/bin/apachectl
See what modules Apache has installed:/application/apache2.2.34/bin/apachectl-lTracking Apache Process: strace/application/apache2.2.34/bin/apachectl-m
If parsing is slow, open the/etc/hosts/file and add httpd after the f
One, Apache and PHP combined
First open the local Telnet client (test port use)/usr/local/apache2.4/bin/apachectl start //启动apache服务
Modifying the Apache configuration file
Because PHP5 and PHP7 have been loaded before, so here's a close one, run one of themvim/usr/local/apache2.4/conf/httpd.conf//Modification of the following 4 places
Server
One opens the Apache configuration file httpd.conf.
Two will #loadmodule Rewrite_module Modules/mod_rewrite front of the # Remove
Three Add in httpd.conf:
Rewriteengine on
#RewriteCond%{env:script_url} (?: Index|dispbbs) [ -0-9]+\.html
Rewriterule ^ (. *? (?: Index|dispbbs))-([ -0-9]+) \.html$ $1.php?__is_apache_rewrite=1__rewrite_arg=$2
Four to implement the ASP post URL to the PHP post map, in the third step between the Rewritemap toLowerCase Int:t
Many camera friends are worried about the volume of i900/i908, which generally reflects the sound of ringtones and conversations.
Small! There are many ways to do this on the Forum, but the solution still cannot solve the problem! Country of
When I used the mobile phone yada S1, the phone call was suddenly very small and I couldn't hear the phone outside. Every time it takes Baidu a long time to find out how to modify it. For this reason, I wrote this smallProgramTo help me manually
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.