Today found using webmaster tools or some related tools can directly see the server using the PHP version number and the Apache version number, this is not safe for the site, if there are problems with these versions of some people can directly take care of, below we look at the hidden version of the method, Unfortunat
Hide PHP Version
For security reasons, it is best to hide the PHP version to avoid some of the attacks caused by a PHP version vulnerability.
1, Hidden PHP version is hidden "X-powered-by:php/5.2.13″ this information."
The method is simple:
Edit php.ini configuration file, Modify or add: expose_php = off save and r
The system comes with php 5.5.27, And I have installed php 5.3.29 myself. In the terminal, the php-v version is 5.3.29, but when the browser opens localhost, it uses 5.5.27. It is strange, why? How can I use 5.3 For localhost? The built-in php is
5.5.27I installed
5.3.29. Use in a terminal
Php-vThe version is
5.3.29But when the browser opens localhost
5.5.27That's strange. Why? How can I use localhost?
Originally from: http://www.ituring.com.cn/article/128439The PHP development environment under Windows builds--php thread-safe and non-threaded security, Apache version selection, and detailed five modes of operation.Today, in order to build a PHP development environment under Windows, when considering what version of PHP to download, encounter some confusing sit
Apache
Article Introduction: The latest official Chinese version of Apache profile. Help the Web server administrator to configure Apache more conveniently.
#
# Based upon the NCSA server configuration files originally by Rob McCool.
#参照NCSA服务器的配置文件, the original was released by Rob McCool.
#
# This is the main
Win7 64-bit system configuration PHP latest Version development Environment (PHP+APACHE+MYSQL), Win7apache
One: Preparation phase
1:php
php-5.5.13 Download Link: http://windows.php.net/downloads/releases/php-5.5.13-Win32-VC11-x64.zip
Recommended thread safe (thread safety) V11 x64, which is 64bit.
Now PHP official Download PHP installation package has VC11 or VC9 words, what does this mean, we should downl
Today, in order to build a PHP development environment under Windows, when considering what version of PHP to download, encounter some confusing situations, to solve these puzzles, not surprisingly involved more confusing problems.In order to clean sweep these puzzles, I spent an afternoon and a night looking through a lot of information, and after doing some experiments, I finally put all these confusion clearly.To tell the truth, the reason for spen
Today, in order to build a PHP development environment under Windows, when considering what version of PHP to download, encounter some confusing situations, to solve these puzzles, not surprisingly involved more confusing problems.In order to clean sweep these puzzles, I spent an afternoon and a night looking through a lot of information, and after doing some experiments, I finally put all these confusion clearly.To tell the truth, the reason for
First ready software: Apache official: apache_2.0.55-win32-x86-no_ssl.msi, more version here; php official: php-5.0.5-Win32.zip, more images, more Version Download; mysql official: mysql-4.1.14-win32.zip, more images, more
First ready software: Apache official: apache_2.0.55-win32-x86-no_ssl.msi, more
Address: http://tech.163.com/06/0206/11/299AMBLT0009159K.html
Prepare the software first:
Apache official: apache_2.0.55-win32-x86-no_ssl.msi, more versions here;
PHP official: php-5.0.5-Win32.zip, more images, more Version Download;
MySQL official: mysql-4.1.14-win32.zip, more images, more Version Download.
1. install Apache
Installation and configuration of Apache + php + mysql in windows (latest version ). First ready software: Apache official: apache_2.0.55-win32-x86-no_ssl.msi, more versions here; php official: php-5.0.5-Win32.zip, more images Download First ready software:
Apache official website:Apache_2.0.55-win32-x86-no_ssl.msi,Mo
zip format, not an MSI installation version, you need to register the service, in order to have a httpd icon in the desktop taskbar. Results in the CMD command line entered the installation Service command error, error, error message prompts me not to log in as an administrator!
Solution: Will cmd run as an administrator, and then re-enter the command, after the successful execution, can be found in the system services APACHE24 this service.
Then c
A version control server needs to be installed on the company's servers. Previously, VSS was used for version control. Let's talk about the installation steps. Refer to the step-by-step implementation on the Internet. The main steps are as follows:
1. Installation and download instructions
Apache Web Server: http://httpd.apache.org/download.cgi (apache2.0.x
Apache Http://httpd.apache.org/
Apache HTTP Server (httpd) 2.2.17 is downloaded. Click download and select
Httpd-2.2.17-win32-x86-openssl-0.9.8o.msi
Of course, you can also download the source code httpd-2.2.17-win32-src.zip, but you need to compile it yourself.
(We chose the installation version for the first time and configured it so that it can be used anywher
--enable-charset-lite \--enable-cgiMake make install(3) Configure Mod_rewrite module enableVim/etc/httpd.confAdd rewrite settings at the end of the site Directory........................................................Rewriteengine onRewritecond%{http_referer}!^http://benet.com/.*$ [NC]Rewritecond%{http_referer}!^http://benet.com/$ [NC]Rewritecond%{http_referer}!^http://www.benet.com/.*$ [NC]Rewritecond%{http_referer}!^http://www.benet.com/$ [NC]Rewriterule. *\. (gif|jpg|swf) $ http://www.benet
production environment, after the deployment of Apache, we should be from a security or performance point of view, before the Apache service on-line, to do a lot of optimization debugging it. ApacheLab Environment:Apache version: httpd-2.2.31Source Package storage Location:/USR/LOCAL/SRCSource Package Compilation Installation Location:
Webserver avoids unnecessary troubles. You can hide the apache and php version information without displaying the Apache version information etcapache2apache2. conf or etchttpdconfhttpd. confServerTokensProductOnlyServerSignatureOff restart apache now the http header only sh
Upgrading Apache to the latest version is not complicated, but because it involves not stopping the operation of an existing Apache instance, be careful.
Broadly divided into three steps:
Compiling the new Apache,
Configure the new Apache,
Replace the old
Based on a piece of paper that claims to be his own experience.
Many articles together, hehe
mod_perl,fastcgi that column I did not debug, because I do not like CGI. CHMOD mysql that column is stuck twice, if there is a problem, you can do experiments back and forth.
Linux under apache+mysql+php^ ^^ ^^ ^^ ^ (modified edition)
Alas, there are so many articles on the Internet, the version is so much, and th
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.