/etc/httpd/conf/httpd.conf
NameVirtualHost *:80
< VirtualHost *:80 >
ServerAdmin webmaster@dummy-host.example.com
DocumentRoot /var/www/html/drupal
ServerName example.com
ErrorLog logs/example.com-error_log
CustomLog logs/example.com-access_log common
</ VirtualHost >
service httpd restart
Search This Blog
Showing posts with label Apache. Show all posts
Showing posts with label Apache. Show all posts
Sunday, May 10, 2015
Tuesday, November 4, 2008
PHP, mySQL, Apache
Install links: http://www.w3schools.com/php/php_install.asp
Default root is: C:\Program Files\Apache Software Foundation\Apache2.2\htdocs
Add these lines to httpd.conf to access PHP:
# For PHP 5 do something like this:
LoadModule php5_module "c:/program files/php/php5apache2_2.dll"
AddType application/x-httpd-php .php
# configure the path to php.ini
PHPIniDir "C:/program files/php"
mySQL testing:
http://datacharmer.blogspot.com/2008/07/dont-guess-test-sample-database-with.html
Default root is: C:\Program Files\Apache Software Foundation\Apache2.2\htdocs
Add these lines to httpd.conf to access PHP:
# For PHP 5 do something like this:
LoadModule php5_module "c:/program files/php/php5apache2_2.dll"
AddType application/x-httpd-php .php
# configure the path to php.ini
PHPIniDir "C:/program files/php"
mySQL testing:
http://datacharmer.blogspot.com/2008/07/dont-guess-test-sample-database-with.html
Subscribe to:
Posts (Atom)