Vista Home (www.vista123.com): Windows seven the way to configure the PHP runtime atmosphere Internet web-site
this source is unfamiliar, there is to know, make sure you inform by the remarks below the write-up Win7 home,
Office 2010 Activation, gentle media immediately modify the source. This web-site technology for PHP developers, the user is not meaningful for normal Windows7, please consideration.
1, Apache model set up
explained: openssl openssl module is expressed with the use openssl to connect towards the Apache configure SSL secure hyperlink, that is, utilize the https: / / accessibility mode .
nossl mentioned without having OpenSSL module, the hyperlink cannot be utilized for SSL safety, exactly where we downloaded using the OpenSSL's.
Select Edition: apache_2.2.14-win32-x86-openssl-0.nine.8k.msi (here to 32 as an instance)
Obtain:
Very first of all we D disk (generate according to the real scenario of their selection) to develop a brand new directory and title it
one. Set up Instructions:
running apache setup, the approach is pretty effortless set up interface and continues to be taking part in there will be an interface, you'll want to fill in the contents of three, specifically: Network Domain, Server Identify, Administrator's E-mail Deal with fill informal like, not the content material.
one can find two possibilities below, pick the default port eighty, the 2nd was 8080, according to individual wants selection, typically the default port 80.
we continue with all the installation, choose Custom made (Custom Installation) - Choose - > Soon after installation, the laptop or computer 1 far more icon in the reduce ideal corner, double-click to open, choose the begin or restart, it works, therefore put in.
two. to modify the configuration:
open the set up document D: WAMP Apache conf httpd.conf file (modify the configuration file, use Notepad isn't advised, might be its effect, suggested Notepad + + or other editing software to open modified)
Ctrl + F to open the future to change the content to get the
in # LoadModule vhost_alias_module modules / mod_vhost_alias.so to add:
LoadModule php5_module httpd-php. htm
AddType software / x-httpd-php. html
DocumentRoot As for your storage of web pages, custom or do not modify the default): DocumentRoot DirectoryIndex index.html
modified: DirectoryIndex index.php default.php index.html index.htm default.html default.htm
3. Check
in D: / WAMP / www directory, produce an index.html page within the browser, enter
if displayed properly, Apache is configured, and running.
Second, MySql model installed
explained: The Essentials Deal: does not include the embedded server and benchmark suite, with automatic installation and configuration wizards, no MySQL Documentation.
The Complete Deal: includes embedded server and benchmark suite, with automatic installation and configuration wizard,
Office 2010 Product Key, a MySQL Documentation.
The Noinstall Archive: consists of embedded server and benchmark suite, there is certainly no automated installer and configuration wizard, a MySQL Documentation.
Pick Model: mysql-essential-5.1.44-win32.msi
Download:
1. Installation Notes:
open the installer, click on Decide on customized, element is the default choice, we don't alter - Click on option:
Developer Machine, will only operate out of memory less;
Server Machine, will utilize the moderate amount of memory;
Dedicated MySQL Server Machine, operate just previously mentioned this server mysql database , will occupy all of memory.
can opt for based on their wants, right here we pick out the second Database multi-use, will grow to be a great innodb database optimization and efficient storage sort myisam storage sort;
Transactional Database Only used only for transaction processing sort, the most effective optimization innodb, but in addition support the myisam;
Non-Transactional Databse Only non-transactional kind, suitable for hassle-free purposes, only don't support transactions myisam kind is supported.
commonly pick out the first multi-functional, as are we. - quantity of connections, the very first is the biggest number of 20 concurrent connections, the 2nd largest variety of concurrent connections to 500, the final 1 is the customized, they're able to opt for according to desire, I chose the second - >
subsequent is choose the database listening port, the general default is 3306, should you alter one other port, when connecting towards the database after the modification 端口 should keep in mind, or can not connect with mysql database, a lot more trouble,
Microsoft Office 2007 Enterprise, where unmodified The default port utilised mysq: 3306 -
(Note: When you use the original data within the database, it's preferred able to ascertain what the original code employed for your database, if this set of data encoding and also the original encoding from the database is inconsistent, when in use may perhaps be garbled.)
this step is no matter whether or not to set mysql windows, often set service possibilities, to ensure that potential can start off and shut down through the services mysql database. The following verify boxes are checked, so that, in the cmd mode,
Office 2007 Key, acquiring to mysql's bin directory to execute the command. Which is, the hook is marked down two the middle by default - bearing in mind the tremendous user's password, the following possess a check box is to pick regardless of whether to enable root person to use the remote machine to connect to your mysql server above, if this desire, make sure you check. Here we utilize the default options inside the New root password and Confirm the password.
two. to change the configuration:
open D: WAMP MySQL my.ini
set datadir to D: / WAMP / MySQL / data / or even the location you want to retailer the data The directory may be.
III, PHP model put in
explained: VC9 value particularly for that IIS scripts, employing Visual Studio 2008 compiler, supports the latest Microsoft set to strengthen performance.
VC6 Internet services to other software program scripts, such as Apache.
Thread Safe-box safety, the star is going to be thread-safe verify to stop established to specifications to begin a new thread (Thread) inside the CGI implementation modalities as well as the exhaust system sources.
Non Thread Safe non-thread-safe, not for the thread in the implementation (Thread) protection checks
pick the edition: PHP5.three (5.3.1) underneath VC6 x86 Thread Safe inside the ZIP obtain
Obtain:
1.
Given that our installation instructions to download the ZIP archive,
Office 2010 Activation, just extract the files to br> 2. to modify the configuration
the E: WAMP PHP php.ini-development file modified php.ini
open php.ini
; extension_dir = > altered to: extension_dir = extension = php_gd2.dll
extension = php_mbstring.dll
extension = php_mysql.dll
extension = php_mysqli.dll
extension = php_pdo_mysql.dll
extension = php_xmlrpc.dll
; date.timezone =
modified (lots of websites not mentioned right here to change the default time for that United states, will complain when you do not change): date.timezone = Asia / Shanghai
three. check
restart Apache (configuration files modified to consider impact you need to restart Apache)
generate a index.php web page, enter the code, conserve the file on directory
open a browser type: Should you can appropriately demonstrate that PHP is configured, you'll be able to view the page's PHP details is right.
(Be aware: change the file inside the output with the input operate can be a lot of related data regarding the current state of PHP, such as the PHP model, server info, and atmosphere.)
(Be aware:)
Then we check Following, it could connect with Mysql
an additional new one hyperlink.php, enter the subsequent code
$ website link = mysql_connect (>
also conserve the file in to the phpMyAdmin-3.2.5
Pick Edition: phpMyAdmin-3.2.5-all-languages.zip
Obtain:
1. Set up
extract to D: WAMP phpMyAdmin
two. to modify the configuration
open D: WAMP phpMyAdmin libraries config.default.php
$ cfg ['PmaAbsoluteUri'] = (fill in phpMyAdmin to entry the absolute URL): $ cfg ['PmaAbsoluteUri'] = '
$ cfg [' Servers'] [$ i] ['host'] = 'localhost';
modified (fill within the server deal with, often the default, don't change): $ cfg ['Servers'] [$ i] ['host'] = 'localhost';
$ cfg ['Servers'] [$ i] ['user'] = 'root';
modified (fill in Mysql user identify, here we default): $ cfg ['Servers'] [$ i] [' person '] =' root ';
$ cfg [' Servers'] [$ i] ['password'] = ] ['password'] = 'Mysql PWD;
$ cfg [' Servers'] [$ i] ['auth_type'] = 'cookie';
modified (set authentication method, safety reasons, fill into cookie): $ cfg ['Servers'] [$ i] ['auth_type'] = 'cookie';
$ cfg ['blowfish_secret'] = > modified (set phrase password, when the previously mentioned set cookie, then there cannot be empty, or else an error might be prompted to login): $ cfg ['blowfish_secret'] = 'cookie';
three. Check
Open the browser and kind: accessibility and landing
5, at the finish of
to this environment to develop PHP below Windows7 finished, we take pleasure in using it.
Vista Home (www.vista123.com), enjoy the internet, fell in adore with Vista123.com