Description: With the benefits of AB, in the case of multi-concurrency, do not write your own threading simulation.Website:http://httpd.apache.org/(Apache server)http://httpd.apache.org/docs/2.0/programs/(Apache tools documentation Daquan)http://httpd.apache.org/docs/2.0/programs/ab.html (Documentation Tutorial)http://httpd.apache.org/docs/current/programs/ab.htm
problems.END
Vii. about PHP.ini
1Copy the php.ini first, then you can configure various PHP functions via php.ini.sudo cp/etc/php.ini.default/etc/php.iniFor example, modify the Upload_max_filesize, Memory_limit, post_max_size three values to adjust the maximum value of the PHP commit file, such as the maximum value of the imported data in phpMyAdmin.END
Precautions
Configuration must be careful to see the steps;
If you are unclear, you can consult the original te
/apache2/extra/httpd-vhosts.confIn fact, these two virtual hosts do not exist, and when no other virtual host is configured, it may cause the following prompt when accessing localhost:Forbidden you don ' t have permission to access/index.php on the This serverThe simplest way to do this is to add the # to the front of each line and comment it out, so that you can refer to it without causing other problems.END
Vii. about PHP.ini
1Copy the php.ini first, then you can configure variou
Tutorial on building a php environment (apache + php + mysql) in windows
For a tutorial on setting up a php development environment in windows, the php environment is built based on apache + php + mysql. for a very detailed php configuration tutorial, refer.
Apache PHP MySQL Development environment Building tutorial, share to everyone, for your reference
0. Resource Links:
360 Cloud Disk: Https://yunpan.cn/c6wpzYwbfmLJY (extract code: 0190)
1. Install the compiler environment first
such as the following file:
2. Installing Apache+php+mysql
such as the following file:
2.1. Installing
In windows8.1, configure Apache + Php + MySQL and windows8.1apache. For configuration steps of Apache + Php + MySQL under windows8.1, run apache: Apache2.4.6Win64PHP: PHP5.5VC11x64NonThreadSafeMySql: 5.5win64Mysql to install: Double-click Apache + Php + MySQL under windows8.1 to configure windows8.1apache.
Software ve
DocumentRoot configuration section, I modified: DocumentRoot "c:/", Note If you haven't done it or are afraid to find it. The default httpd.conf can be backed up first, or the configuration section you want to modify is commented first. And then find about 194 lines of
, which is the directory of the Web site you want to visit, then restart Apache and enter it in the browser: http://localhost:8080/testing.html look.
Installation of the 2.mysql
two additional virtualhost in rows 130 and 152, and you need to modify the four options aboveCases:130 rowsLine 152thAll of the above two virtualhost need to be modified aroundIn this way, Apache even if the configuration is finished, if there are problems, you may need to configure./conf/extra/httpd-ssl.conf, configuration method and configuration VirtualHost similar4. Start Apache HTTP ServerUse the Wind
Apache server There is no place to say, try to download the latest on the official website.
There is a place to note: The PHP tutorial is loaded as a module into the Apache container, which is when you configure Apache to load the PHP module, pay attention to the problem of that path. Specific configuration statements
Introduction: This is a detailed page of Windows + Apache + PhP5 installation tutorial. It introduces PHP, related knowledge, skills, experience, and some PHP source code.
Class = 'pingjiaf' frameborder = '0' src = 'HTTP: // biancheng.dnbc?info/pingjia.php? Id = 337297 'rolling = 'no'>
Remember to download Apache from OpenSSL
Httpd-2.2.19-win32-x86-openssl-
For a tutorial on building PHP development environment under Windows, the method of building PHP environment based on Apache+php+mysql, very detailed PHP configuration tutorial, need friend reference.
First, preparation-download the required software Apache httpd-2.2.22-win32-x86-openssl-0.9.8t.msiphp php-5.3.
also a simple way to open the httpd-ssl.conf file under the xampp installation directory (C: \ xampp \ apache \ conf \ extra \ httpd-ssl.conf), I installed on the C drive, or click the Apache Config button in xampp, select the httpd-ssl.conf, find Listen 443, change port 443 to 4433 or other;
3. open the XAMPP installation directory, modify the \ apache \ conf \
Apache server will require a reboot, regardless of what is being modified.
In this step, our PHP and Apache integration is complete.
Detailed tutorials can be referenced in topic.alibabacloud.com video tutorial: Standalone installation (ii):P HP and Apache integration
"Recommended"
1. Standalone installation one
If you are a WEB developer, there are many times when you need to build a server test environment locally, such as the apache+mysql+php environment. In fact Mac OS X wants to build such an environment is very simple, this article we will be a detailed tutorial to share.
The first thing to note is that MAC OS X system has actually integrated the apache+php enviro
support in MySQL, we can install the Php-mysql package. It is a good idea to install some other PHP5 modules, as well as the applications you may need:sudo apt-cache search php5Also installs the required installationsudo apt-get install php5-mysql php5-curl php5-gd php5-idn php-pear php5-imagick php5-imap php5-mcrypt php5-memcache php5- Ming Php5-ps php5-pspell php5-recode php5-snmp php5-sqlite php5-tidy php5-xmlrpc php5-xslNow restart the apache2:Sudo/etc/init.d/apache2 restartNow, reload the
During PHP website development, an HTTP 404,403 error occurs when a user fails to access a website or fails to find a page. To improve user experience, we need to customize the 404 and 403 error pages, prompt the user to perform the next step or automatically jump to the appropriate access page.The custom error page 404 and 403 methods are mainly configured through apache or htaccess. The htaccess configuration error page method is suitable for VM use
position, press I to enter edit mode, delete and press ESC to exit edit mode)//Save and exit: Wq//do not save exit!!!!!!!!! (This step does not need to execute, if you write the wrong input wrong, it is executed): q!//Switch working directoryCD/etc//copy php.ini filesudo cp php.ini.defaultphp.ini//restarting the Apache serversudo apachectl-k Restart (after which the warning indicated is normal) Test the Apache
mod_jk.conf we configured/examples/the beginning of the instructions are transferred to TOMCAT1 processing, if we visit http://127.0.0.1/examples/ The result is that Tomcat displays the contents of its Webapps/examples directory stating that the forwarding was successful.3.1 Verifying that Apache is functioning properlycd/var/www/html #进入apache默认主目录 cat > phpinfo.php EOF PHP phpinfo ()?>EOF3.2
Apache HTTP Server Installation tutorial
The official Apache HTTP Server website is http://httpd.apache.org/. you can download the latest Apache HTTP server.
The first thing to note is that the Apache server does not have an official 64-bit version and is only prepared by a
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.