I Decided to make a guide for people that don't like to use web packages.
Download apache Here:
Download Apache Here
Download php Here"
Download php here
Ok Install Apache By Clicking The Exe File
Click Ok/Next To Everything But when you see the directory change, change it from C:\apache groups to C:\apache_http
Make a new folder called php in the C:\ so it looks like C:\php extract the files into there and then it should look like this.
![]()
Go to the sapi folder and take the "php4apache.dll" and copy it into the main php folder.
Ok now go to this directory
"C:\apache_http\Apache\conf\httpd.conf"
open it with notepad and do a search for this line
"#LoadModule unique_id_module modules/mod_unique_id.so"
under that put this line in
"LoadModule php4_module "c:/php/php4apache.dll""
and then look for this line
"AddModule mod_setenvif.c"
and add this line underneath the "AddModule mod_setenvif.c"
"AddModule mod_php4.c"
Then Look for this line
"AddType application/x-tar .tgz" and then add this line underneath
"AddType application/x-httpd-php .php"
And then your done.
Your files should go in the C:\apache_http\apache\htdocs
download the attachment below and put it in there. The defult loading site is .html not .php if you wan't to change it you will need to edit the httpd.conf file if u want the defult to load as a index.php file change this line
"DirectoryIndex index.html" to "DirectoryIndex index.php"
And now your done
To set php to access mssql you will have to edit the php.ini in your C:\windows folder. Look for this line
";extension=php_mssql.dll" and remove the ";" infront of it so it looks like this "extension=php_mssql.dll" and then look for this line
"mssql.secure_connection = Off" and change the "Off" to On and now its ready to connect to the mssql database



Reply With Quote

