1) apache from http://apache.org/dist/httpd/binaries/win32/
2) add to httpd.conf
LoadModule php5_module "d:/development/PHP/php-5.4.11/php5apache2_2.dll"
AddHandler application/x-httpd-php .php
PHPIniDir "d:/development/PHP/php-5.4.11"
3) create virtualhost like this
<VirtualHost 127.0.0.7:80>
ServerAdmin devki@gmail.com
ServerName dev.ki
ServerAlias dev.ki
ServerAlias www.dev.ki
DocumentRoot "d:/development/www/ki/site"
<Directory />
Options All
AllowOverride All
</Directory>
ErrorLog "d:/development/httpd/httpd2.2/logs/dev.ki.error.log"
CustomLog "d:/development/httpd/httpd2.2/logs/dev.ki.access.log" combined
LogLevel warn
</VirtualHost>
4) start mysql in log / debug mode
mysqld --general-log
to be continued...
All except this is pretty clear
2) add to httpd.conf
LoadModule php5_module "d:/development/PHP/php-5.4.11/php5apache2_2.dll"
AddHandler application/x-httpd-php .php
PHPIniDir "d:/development/PHP/php-5.4.11"
3) create virtualhost like this
<VirtualHost 127.0.0.7:80>
ServerAdmin devki@gmail.com
ServerName dev.ki
ServerAlias dev.ki
ServerAlias www.dev.ki
DocumentRoot "d:/development/www/ki/site"
<Directory />
Options All
AllowOverride All
</Directory>
ErrorLog "d:/development/httpd/httpd2.2/logs/dev.ki.error.log"
CustomLog "d:/development/httpd/httpd2.2/logs/dev.ki.access.log" combined
LogLevel warn
</VirtualHost>
4) start mysql in log / debug mode
mysqld --general-log
5) in skype uncheck the check box for Use port 80 and 443 as an alternatives for incoming connections option
to be continued...
All except this is pretty clear
Комментариев нет:
Отправить комментарий