Today, I try to install apache 2.2 and php 5.2.5 in my vista machine for serveral hours. This is my path configuration in case that you may found the same problem like me.
[Installation Step]
- Install Apache MSI package
- Install PHP5 package
- MySQL, you can do in any step.
[Installation Path]
- Use a location which not "C:\Program Files\" because it needs UAC permission and it hard to config your apache configuration file. (For me, E:\Service\Process\Apache)
- My Installation path of PHP5, E:\Service\Process\PHP525
[Configuration]- E:\Service\Process\Apache\conf\httpd.conf, Check a bottom of the configuration file, PHP package already install a location for you.
#BEGIN PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL
PHPIniDir "E:/Service/Process/PHP525/"
LoadModule php5_module "E:/Service/Process/PHP525/php5apache2_2.dll"
#END PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL - I found that it is a fault of installer package. You needs to replace '\' instead of '/' as below
#BEGIN PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL
LoadModule php5_module "E:\Service\Process\PHP525\php5apache2_2.dll"
PHPIniDir "E:\Service\Process\PHP525" # No Backslash at last character
#END PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL - Done
[Testing]
- Verify your temporary session directory is not read-only
- Verify your temporary upload direcotry is not read-only
- Verify your PHP Path (E:\Service\Process\PHP525\) contains php5apache2_2.dll file.
Check the file you needs from httpd.conf which PHP added for you
LoadModule php5_module "E:\Service\Process\PHP525\php5apache2_2.dll" - Verify your httpd.conf has correct syntax
E:\Service\Process\Apache\bin\> httpd -k config <enter>
No error return - Put simple php file to htdocs directory
<?php phpinfo(); ?> - You should see php information page.
For more details, you can follow the reference site [
1] but I have do nothing.
Comments
Wed, 20.02.2008 11:09
I'm not sure. I didn't install ed that fonts into my computer .
Tue, 19.02.2008 22:02
would like to know that can i use js font as thai fonts??
Sun, 10.02.2008 23:27
โอ แต๊ง เคยมีอยู่อันนึง แต่อั นนี้ละเอียดกว่า เอา ruby กับ js ไปล่ะ โอ๊ะ apache ด้วย