Vista Household (www.vista123.com): Windows seven ways to configure the PHP runtime environment Internet internet site ,
Office 2007 Download
this supply is mysterious, there is certainly to understand, make sure you inform by the feedback beneath the post Win7 house, gentle media instantly modify the source. This web page technology for PHP developers, the consumer isn't meaningful for regular Windows7, make sure you focus.
1, Apache model set up
explained: openssl openssl module is expressed with all the use openssl to connect to the Apache configure SSL secure link,
Microsoft Office 2010, which is, utilize the https: / / access mode .
nossl said without OpenSSL module, the website link can not be employed for SSL security, exactly where we downloaded together with the OpenSSL's.
Pick Edition: apache_2.two.14-win32-x86-openssl-0.9.8k.msi (here to 32 as an instance)
Download:
Initial of all we D disk (generate according to the real situation of their choice) to create a brand new directory and identify it
one. Set up Directions:
running apache setup, the strategy is quite hassle-free installation interface and has been playing there will probably be an interface, you have to fill inside the contents of three, particularly: Network Domain, Server Identify, Administrator's E-mail Tackle fill informal like,
Windows 7 Home Premium, not the content.
you will discover two choices below, choose the default port eighty, the next was 8080, according to individual requirements selection, ordinarily the default port 80.
we continue with the installation, decide on Custom (Custom Installation) - Pick - > After set up, the computer 1 additional icon inside the decrease proper corner, double-click to open, choose the begin or restart, it works, therefore set up.
2. to change the configuration:
open the installation report D: WAMP Apache conf httpd.conf file (modify the configuration file, use Notepad isn't recommended, may possibly be its effect, recommended Notepad + + or other editing software program to open modified)
Ctrl + F to open the long run to modify the content to find the
in # LoadModule vhost_alias_module modules / mod_vhost_alias.so to add:
LoadModule php5_module httpd-php. htm
AddType application / x-httpd-php. html
DocumentRoot As for that storage of internet pages, customized or don't 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, develop an index.html page inside the browser, enter
if shown correctly, Apache is configured, and running.
Second, MySql version set up
explained: The Necessities Bundle: doesn't contain the embedded server and benchmark suite, with automated installation and configuration wizards, no MySQL Documentation.
The Total Package: consists of embedded server and benchmark suite,
Microsoft Office 2007 Product Key, with automated set up and configuration wizard, a MySQL Documentation.
The Noinstall Archive: includes embedded server and benchmark suite, there's no automated installer and configuration wizard, a MySQL Documentation.
Pick Model: mysql-essential-5.1.44-win32.msi
Obtain:
1. Installation Notes:
open the installer, click on Decide on custom, element will be the default selection, we do not change - Click option:
Developer Machine, will only run out of memory much less;
Server Machine, will use the moderate quantity of memory;
Devoted MySQL Server Machine, run just previously mentioned this server mysql database , will occupy all of memory.
can decide on according to their wants, here we select the second Database multi-use,
Microsoft Office 2010 Professional Plus, will turn out to be an excellent innodb database optimization and efficient storage type myisam storage type;
Transactional Database Only utilized just for transaction processing kind, the best optimization innodb, but in addition support the myisam;
Non-Transactional Databse Only non-transactional type, suitable for simple apps, only don't help transactions myisam kind is supported.
usually choose the first multi-functional, as are we. - variety of connections, the first will be the biggest variety of twenty concurrent connections, the second biggest number of concurrent connections to 500, the final one is the custom, they're able to choose according to need, I chose the 2nd - >
subsequent is pick the database listening port, the general default is 3306, if you ever change the other port, when connecting for the database right after the modification 端口 must bear in mind, or cannot connect with mysql database, more trouble, where unmodified The default port employed mysq: 3306 -
(Note: In the event you use the original information in the database, it really is greatest able to figure out what the authentic code used for that database, if this set of information encoding plus the original encoding of the database is inconsistent, when in use might possibly be garbled.)
this step is whether or not or to not set mysql windows, often set services solutions, so that potential can start off and shut down by the support mysql database. The subsequent check boxes are checked, to ensure that, in the cmd mode, possessing to mysql's bin directory to execute the command. That is, the hook is marked down 2 the middle by default - bearing in thoughts the super user's password, the following have a check box would be to opt for whether or not to enable root user to make use of the remote machine to connect to your mysql server above, if this desire, make sure you examine. Here we use the default options in 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 / information / or even the place you would like to retailer the data The directory may be.
III, PHP version put in
explained: VC9 value specifically for that IIS scripts, making use of Visual Studio 2008 compiler, supports the most recent Microsoft set to strengthen effectiveness.
VC6 Web providers to other software program scripts, such as Apache.
Thread Safe-box protection, the star is going to be thread-safe verify to avoid established to specifications to begin a brand new thread (Thread) within the CGI implementation modalities plus the exhaust program resources.
Non Thread Secure non-thread-safe, not for the thread within the implementation (Thread) protection checks
pick the version: PHP5.3 (five.three.one) under VC6 x86 Thread Safe in the ZIP obtain
Obtain:
1.
Given that our installation directions to obtain the ZIP archive, simply extract the files to br> 2. to change the configuration
the E: WAMP PHP php.ini-development file modified php.ini
open php.ini
; extension_dir = > changed 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 (various websites not mentioned right here to change the default time for that Usa, will complain should you do not alter): date.timezone = Asia / Shanghai
three. check
restart Apache (configuration files modified to consider effect you must restart Apache)
generate a index.php page, enter the code, conserve the file on directory
open a browser kind: If you ever can correctly present that PHP is configured, you can actually view the page's PHP facts is correct.
(Observe: change the file inside the output from the input purpose can be a whole lot of related information and facts in regards to the existing state of PHP, such as the PHP model, server specifics, and environment.)
(Note:)
Then we check Up coming, it may connect to Mysql
another new 1 link.php, enter the following code
$ link = mysql_connect (>
also conserve the file into the phpMyAdmin-3.two.5
Choose Version: phpMyAdmin-3.two.5-all-languages.zip
Download:
1. Installation
extract to D: WAMP phpMyAdmin
2. to modify the configuration
open D: WAMP phpMyAdmin libraries config.default.php
$ cfg ['PmaAbsoluteUri'] = (fill in phpMyAdmin to accessibility the absolute URL): $ cfg ['PmaAbsoluteUri'] = '
$ cfg [' Servers'] [$ i] ['host'] = 'localhost';
modified (fill in the server deal with, in most cases the default, do not alter): $ cfg ['Servers'] [$ i] ['host'] = 'localhost';
$ cfg ['Servers'] [$ i] ['user'] = 'root';
modified (fill in Mysql consumer name, right here we default): $ cfg ['Servers'] [$ i] [' consumer '] =' root ';
$ cfg [' Servers'] [$ i] ['password'] = ] ['password'] = 'Mysql PWD;
$ cfg [' Servers'] [$ i] ['auth_type'] = 'cookie';
modified (set authentication technique, safety factors, fill into cookie): $ cfg ['Servers'] [$ i] ['auth_type'] = 'cookie';
$ cfg ['blowfish_secret'] = > modified (set phrase password, if your previously mentioned set cookie, then there cannot be empty, or else an error will probably be prompted to login): $ cfg ['blowfish_secret'] = 'cookie';
three. Test
Open the browser and kind: access and landing
5, at the end of
to this atmosphere to create PHP under Windows7 completed, we appreciate using it.
Vista Household (www.vista123.com), appreciate the net, fell in enjoy with Vista123.com