PHP environment setup This post was last edited by tcmis from 2013-04-0317: 53: 43 & nbsp; the first time my brother came into contact with PHP, today I set up an environment for one afternoon, I have read a lot of information on the Internet, but I cannot help you with it. I have to consult with experts in this field. & nbsp; the environment and software list is as follows & nbsp; OS: & nbsp; PHP environment construction
At the end of this post, tcmis edited at 17:53:43 a.m. on. this is the first time that my brother contacted PHP. today, I set up an environment for one afternoon. I 've flipped through a lot of information on the Internet, but I can't help it, you have to consult experts in this field. the environment and software list is as follows:
OS: WIN7 32-bit
IDE: ZendStudioForEclipse-6.1.2
Php-5.2.17-Win32-VC6-x86 (Thread Safe) + httpd-2.2.22-win32-x86-no_ssl
The software is installed under d: \ program files.
Everything else works, that is, when php is loaded in Apache, the old configuration is not successful,
LoadModule php5_module "d:/Program Files/PHP/php5apache2_2.dll"
After checking the information, nothing can start Apache.
1. LoadModule php5_module d:/Program Files/PHP/php5apache2_2.dll
2. LoadModule php5_module ../PHP/php5apache2_2.dll
The above dll is also the same as php5apache2. dll. I tried it all once. I don't know what else to pay attention to. thank you for your advice ..
------ Solution --------------------
What about quotation marks?
LoadModule php5_module "d:/Program Files/PHP/php5apache2_2.dll"
------ Solution --------------------
Decisively integrate the installation package... compile it in linux later.
------ Solution --------------------
Do not use the installation program for your PHP. Use the php-5.2.17-win32-vc6-x86.zip format to decompress the package directly.
1. change php. ini-dist to php. ini.
2. configure httpd. conf
LoadModule php5_module "D:/APP/php5/php5apache2_2.dll"
PHPIniDir "D:/APP/php5"
AddType application/x-httpd-php. php
------ Solution --------------------
I suggest you renew Wampserver.
------ Solution --------------------
Reference:
I re-installed PHP again. this time, I directly installed it in the root directory of drive D, LoadModule php5_module "D:/php/php5apache2_2.dll". This is no problem,
However, I checked it online and someone said that if you install it under X: \ program files, you can use x: \ program files .. /Replace. I cannot replace it yesterday. cannot php be installed on x: \ program ......
I have heard of it instead of installing it in the Chinese path. it is impossible not to install it in program files... because the original installation packages are all under this. if you are still struggling, you can try this.
Http://bbs.csdn.net/topics/370107885