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.
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
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
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
your cluster, and that installing a Hadoop cluster typically extracts the installation software to all the machines in the cluster, referring to the previous section, "Installation configuration on Apache Hadoop single node."Typically, a machine in a cluster is designated as a NameNode and another machine as a ResourceManager. These are all master. Other services, such as the WEB application proxy server and the MapReduce Job history server, run on a
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 \
This text is translated text, original address: http://shiro.apache.org/10-minute-tutorial.htmlIntroducedWelcome to Apache Shiro's 10-minute tutorial!With this tutorial, you will fully understand how a developer can use Shiro in their applications, and you can do so in 10 minutes.OverviewWhat is Apache Shiro?
Windows 7 has just been installed in the past two days. some time ago, a friend asked me how to install and build a PHP environment in Windows. so I plan to work hard to manually build a PHP environment step by step, I haven't used the PHP environment to build software for the moment. I just installed Windows 7 in the past two days. some time ago, a friend asked me how to install and build the PHP environment in Windows, so I plan to work hard, manually build the PHP environment step by step, an
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
producer and consumer to test the server.1. Open a new command line in C:\kafka_2.11-0.9.0.0\bin\windows.2. Enter the following command to start producer:kafka-console-producer.bat --broker-list localhost:9092 --topic test3. In the same location C:\kafka_2.11-0.9.0.0\bin\windows open the new command line again.4. Now enter the following command to start consumer:kafka-console-consumer.bat --zookeeper localhost:2181 --topic test5. There are now two command-line windows, such as:6. Enter any cont
1, first install apache: My installed version is: httpd-2.2.16-win32-x86-openssl-0.9.8o.msiWeb: http://www.apache.org/dist/httpd/binaries/win32/The installation and configuration of apache are smooth.How to change the file path:In the installation directory of the file, my directory is: d: program filespache software foundationpache2.2conf, open httpd. conf search: documentroot "c:/web/
I installed Windows 7 in the past two days. Some time ago, a friend asked me how to install and build the PHP environment in Windows. So I plan to work hard to build the PHP environment step by step, currently, you do not need to use the PHP environment to build software. Here is a detailed tutorial on installing and configuring the PHP + Apache + Mysql environment in Windows 7, hoping to help PHP beginners
execute and Read permissions//recommend removing Write permissions//0555
/group "Circle Module Program Directory"Need to execute and Read permissions//recommend removing Write permissions//0555
The following is a detailed introduction to the official Website Directory Security Configuration Tutorial
1, directory PermissionsWe do not recommend the user to set the column directory in the root directory, because this security settings will be very tr
-distributed mode on a single node, where each Hadoop daemon runs as a standalone Java process.ConfigurationUse the following:Etc/hadoop/core-site.xml:123456Etc/hadoop/hdfs-site.xml:Interested can continue to see the next chapter
Many people know that I have big data training materials, all naïve thought I have a full set of big data development, Hadoop, spark and other video learning materials. I want to say that you are right, I do have big data development, Hadoop, Spark's full set o
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
take precedence over the local cache.One workaround is to turn on the server push only for the first access user. The following is an example of the official Nginx, based on the Cookie to determine whether the first access.
Server{Listen443 SSL HTTP2 Default_server; Ssl_certificate SSL/certificate. PEM; Ssl_certificate_key SSL/key. PEM; Root/var/www/html; Http2_push_preload on; Location = /demo. html {add_header Set-cookie "Session=1"; Add_header Link $ Resources; }}map $http _cookie $resou
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.