Export dldx. csdn. netfd. php? I149641054414838s8f59530d135ffccd6663f9f784f24f5f: If the php5apahce2. dll file cannot be found or the preparation is unsuccessful! Please do not subscribe
1, install apache2http: // httpd.apache.org/download.cgi download php unzip to php-5.3.5-Win32-VC6-x86.zip http://dldx.csdn.net/fd.php? I = 149641054414838 s = 8f59530d135ffccd6663f9f784f24f5f emphasize that if the php5apahce2. dll file cannot be found or the preparation is unsuccessful! Please do not subscribe
1, install apache2 http://httpd.apache.org/download.cgi
Download php extract php-5.3.5-Win32-VC6-x86.zip http://dldx.csdn.net/fd.php? I = 149641054414838 & s = 8f59530d135ffccd6663f9f784f24f5f
It should be emphasized that if the php5apahce2. dll file cannot be found or the preparation is unsuccessful! Please do not download php high version or vc9 vc11 version. It may not succeed. Also, do not download binary files on the php website. Download zip files,
What version of apache do you need to pay attention to when loading the php module to pick up files! If it is apahce2.2, select and set the php5apache2_2.dll file apahce2, and specify the php5apache2. dll file.
2,
Find httpd. conf in the apahce/config directory.
Add the following code
Find the decompressed php Directory
# Load php module LoadModule php5_module D:/php/php-5.3.5/php5apache2. dll # initialize php file PHPIniDir "D:/php/php-5.3.5" AddType application/x-httpd-php. php. phtml
This does not need to be configured. By default, the htdocs file under the apahce directory is placed in your php project webpage.
# Config virtual directory
DirectoryIndex index.html index.htm index. php Alias/myVoid "D:/php/pro"
# Permission access Setting Order aliow. denyAllow from all
Find php. ini-developers in the php Directory and change the file name to php. ini.
Open the php. ini file ctrl + f search extension_dir = and remove the previous comment. Change the comment to the following code: Specify the path to decompress your php file.
On windows: extension_dir = "D:/php/php-5.3.5/ext"
Test
Write a file hello. php In the specified directory.
OK ------------------------------------------------