Welcome, Guest. Please login or register.

Login with username, password and session length
 
Pages: [1]   Go Down
  Print  
Author Topic: Building a local site  (Read 850 times)
IceHunter
Administrator
Newbie
*****

Karma: 0
Offline Offline

Posts: 17


View Profile
« on: September 25, 2007, 08:00:31 PM »

'I'm going to start this one off with building a home (local) site.

One question asked was about Linux for a web server. I have both a Windows XP based site and Linux. The XP offered me more for doing other things on that box then just hosting a test site for ColdThunder. Either way you go with the OS you will still need the base for the site.
More so if you are going with lets say postnuke. Running PHP will take installing MySQL and PHP.

The files I use for building the web server on XP are as listed.
1.   Mysql-4.0.25-win32 Dowload site

2.   PHP-4.4.2-win32 Download site zip file

3.   Apache 1.3.34-win32-x86 Download site

4.   phpmyadmin to access mysql DB Download site
5.   Pick the PHP portal you want. (XOOPS, Postnuke, NukePHP, phpbb2 plus or what ever you like)

From here I will leave this post open for questions and maybe more steps


'I'm going to start this one off with building a home (local) site.

One question asked was about Linux for a web server. I have both a Windows XP based site and Linux. The XP offered me more for doing other things on that box then just hosting a test site for ColdThunder. Either way you go with the OS you will still need the base for the site.
More so if you are going with lets say postnuke. Running PHP will take installing MySQL and PHP.

The files I use for building the web server on XP are as listed.
1.   Mysql-4.0.25-win32 Dowload site

2.   PHP-4.4.2-win32 Download site zip file

3.   Apache 1.3.34-win32-x86 Download site

4.   phpmyadmin to access mysql DB Download site
5.   Pick the PHP portal you want. (XOOPS, Postnuke, NukePHP, phpbb2 plus or what ever you like)
From here I will leave this post open for questions and maybe more steps

Step by step on how to build a PHP plus server', 'How to install a PHP server on XP server   
 _____________________________________________________________   

Files needed for this version of install.
   My SQL     mysql-4.0.25-win32.zip
   Apache     Apache_1.3.34-win32-x86-no_src.exe
   PHP Engine    php-4.4.2-Win32.zip
   phpMyAdmin    phpMyAdmin-2.8.0.3.zip   
PHPBB-MOD    phpbb2_plus_1.53.zip
(this is template of Server view)


    Installing the base apps
Unzip MYSQL to temp directory and run Mysql install. Use defaults.
Unzip Apache to temp directory and run Apache install. Use defaults.
Create a new Directory call PHP on the Root of C drive. (C:\php)
Unzip the contents of the php-4.4.2-Win32.zip into the new c:\php folder.
_____________________________________________________________

How to Configure PHP Engine files     
Move all files located in the dll and sapi folders to the main folder (e.g. C:\php).

Add c:\php to the environmental PATH.
   Copy the php.ini-recommended to a new file called php.ini
   Move the php.ini to the c:\\windows folder.
      Reboot machine     

Register your DLL
After having all the files needed, you must register the DLL on your system.
To register the DLL just type regsvr32 php5activescript.dll
_____________________________________________________________
How to Configure Apache httpd.conf file.

You need to insert these lines to the bottom of your Apache httpd.conf
Configuration file to set up the CGI binary:
Load PHP 4.3.4
LoadModule php4_module c:/php/sapi/php4Apache.dll
AddType application/x-httpd-php .php .phtml .php4 .php3
 _____________________________________________________________

 How to Install as an Apache module
You need to insert these two lines to your Apache httpd.conf
Configuration file to set up the PHP module for Apache 2.0:
For PHP 4 does something like this:
Look for the loadmodule area and add line below after last entry
LoadModule php4_module "c:/php/php4apache.dll"
Look for the addmodule area and add line below after last entry
AddModule mod_php4.

Look for the Directory index area and add line below after last entry
DirectoryIndex index.php index.html index.phtml index.php3 index.php4
index.cgi index.pl default.htm default.html


Start the MySql engine.
Run the C:\mysql\bin\winmysqladmin
Once PHP-plus is installed rename install DIR in folder to -old.
I am working on the directions for the database entry and setup.
Let me know what you are looking for and if this helped.
Dtech

Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  




Powered by SMF 1.1.8 | SMF © 2006-2008, Simple Machines LLC
Enterprise design by Bloc