> INSTALLATION PROCESS
- Download files
- php directory
- Installing Apache
- Adding PHP module
- Adding MIME module
- Configuration Test
- Download RANCP/BLUE RANCP files
> PHP CONFIG INFO
- GD Image DLL Enabled
- MSSQL Extension DLL Enabled
===========================================
To view the content, you need to sign in or register
> Open Apache PHP Files.rar
> Put php folder in C:\ drive
> Open and install apache_2.2.15-x86-openssl-0.9.8m.EXE
> STOP APACHE SERVICE IF RUNNING
> After the installation find the Apache Folder Directory, mine is C:\Program Files\Apache Software Foundation\Apache2.2 and open the folder conf
===========================================
> ADDING PHP MODULE IN APACHE
> Open httpd.conf with notepad
> Add the CODE after " #LoadModule vhost_alias_module modules/mod_vhost_alias.so "
Code:
[COLOR="red"]LoadModule php5_module "C:/php/php5apache2_2.dll"[/COLOR]
> Find/Search the text " IfModule dir_module " and add index.php
Code:
[COLOR="red"]DirectoryIndex index.html index.php[/COLOR]
> Find/Search the text " IfModule alias_module " add the code at the end of the module.
Code:
[COLOR="red"]ScriptAlias /cgi-bin/ "C:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin/"
ScriptAlias /php/ "C:/php/"[/COLOR]
> Find/Search the code
Code:
[COLOR="Red"]<Directory "C:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>[/COLOR]
> Add the CODE below the </Directory> afterwards. it should look.
Code:
[COLOR="Red"]<Directory "C:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>[/COLOR]
[COLOR="cyan"]<Directory "C:/php">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory> [/COLOR]
===========================================
> ADDING PHP MIME MODULE
> Find/Search " IfModule mime_module " add the CODE below "AddType application/x-gzip .gz .tgz "
Code:
[COLOR="red"]AddType application/x-httpd-php .php
Action application/x-httpd-php "/php/php-cgi.exe"
[/COLOR]
> And FINALLY, add this CODE at the END OF THE LINE or Somewhere in the file.
Code:
[COLOR="Red"]phpIniDir "C:\php" [/COLOR]
===========================================
> TESTING CONFIGURATION
> Locate C:\Program Files\Apache Software Foundation\Apache2.2\bin
> OPEN httpd.exe, there should be a cmd window that will pop-up and exit by itself.
if the cmd window somehow didn't exit then Post the error here of what it says on cmd window.
> IF THE CONFIGURATION IS SUCCESS THEN START APACHE
===========================================
> TO MAKE MSSQL EXTENSION DLL WORK
> Open C:\php and copy the ntwdblib.dll and paste it in C:\Windows\System32
===========================================
To view the content, you need to sign in or register
> Put Files in Apache HtDocs Folder/
To view the content, you need to sign in or register
===========================================
Last edited: