Ec (2); 1. Required software environment: 1. apache2.22.activeperl5.8c: perl3.php5.1 must be installed in the des required by the c: php4.ZendOptimizer-3.0.25.php environment-libraries required after php installation cannot work properly. ------------------------------------------- Script ec (2); script
1. Required software environment:
1. apache 2.2
2. active perl 5.8 c: perl
3. php 5.1 must be installed in c: php
4. ZendOptimizer-3.0.2
5. Required libraries for the php environment-required libraries for normal running after php installation.
-----------------------------------------------
2. apache 2.2 -------- httpd. conf file configuration
1. Add # In front of the first row #
2. Modify Between
ScriptAlias/cgi-bin/"D:/Programmes/Server/Apache2.2/cgi-bin /"
And
The underlined part is changed to C:/php/and C:/php respectively.
3. Set #! C:/program files/perl #! C:/Perl/bin
4. Add at the end of the file
ScriptAlias/php/"c:/php /"
AddType application/x-httpd-php. php
# For PHP 4
# Action application/x-httpd-php "/php/php.exe"
# For PHP 5
Action application/x-httpd-php "/php/php-cgi.exe"
-------------------------------------------------------------------------------
3. php configuration rules:
1. Add c: php to the path of the windows environment variable
2. Import the primary des into c: phpincludes
3. Rename php. ini-dist to php. ini.
4. The configuration rules for php. ini are as follows:
1. Set doc_root = to doc_root = D: ProgrammesServerApache2.2htdocs
2. Set extension_dir = to extension_dir = "C: phpext"
3. Replace ";" in front of extension = php_mysql.dll with extension = php_mysql.dll.
4. In; Windows: "path1; path2", replace include_path =
Include_path = ".; c: phpincludes"
5. Configure under [MySQL]
4. The installation of active perl is easy to follow the instructions to install c: perl.
5. When installing ZendOptimizer, turn off the apache server and specify the installation path of apache and php.