Cs SpEcIaL
Doriți să reacționați la acest mesaj? Creați un cont în câteva clickuri sau conectați-vă pentru a continua.

Cs SpEcIaL


 
AcasaUltimele imaginiCăutareÎnregistrareConectare

 

 WoW Web page instal

In jos 
AutorMesaj
DeAgL3
Owner CsSpEcIaL
Owner CsSpEcIaL



Numarul mesajelor : 92
Puncte : 251
Data de inscriere : 11/04/2009

WoW Web page instal Empty
MesajSubiect: WoW Web page instal   WoW Web page instal Icon_minitimeSam Apr 11, 2009 6:00 pm

I - Apache 2.0.59 win32 source:
Apache: URL text Get Download
II - PhP-5.1.6-Win32.zip source: http://apache.org/dist/httpd/binaries/w ... no_ssl.msi
PHP:URL text Get http://ro2.php.net/get/php-5.1.6-Win32. ... m/a/mirror

1.Install the Apache 2.0.59 on ur computer when it asks for hostname just fill with localhost both of them and then ur email ...whatever then finish (make sure ur apache runs in ur task bar)
- now open a I.explorer page and in the adress bar type localhost and press Enter
- if it says It works! that means that the instal was successfuly if not check ur firewall and security software
2.Go to:
Start>Programs>Apache HTTP Server 2.0.59>Configure Apache Server>Edit the Apache httpd.conf Configuration File
-or-
- C:\Program Files\Apache Software Foundation\Apache2.2\conf\httpd.conf (default installation path) -
-httpd.conf is the configuration file for apache
-here u will set up the default webroot and directory path (where u want to store the index.php for the web server)
-or-
-you can use the default "htdocs" that is located in:
- C:/Program Files/Apache Software Foundation/Apache2.2/htdocs -
-also you have there a line "DirectoryIndex index.html" in the httpd.conf that you need to change later

i.e.


Code:
# This should be changed to whatever you set DocumentRoot to.
#
<Directory "C:/KoboldServerLite/web">

# DocumentRoot: The directory out of which you will serve your
# documents. By default, all requests are taken from this directory, but
# symbolic links and aliases may be used to point to other locations.
#
DocumentRoot "C:/KoboldServerLite/web"NOTE: Whenever you change something in the httpd.conf after you save the file restart the apache service! (by right clicking on the taskbar icon - Open Apache Monitor)


3.Install the php by extracting the achive in C:\php (that should be the php root so after extract change the folder name from php-5.1.6-Win32 to simply php) or you can extract it where ever you want on your computer
4.Now you have to configure php to work with apache.
- first thing you need to do is open the install.txt located in the php root folder and find the line Apache 2.0.x on Microsoft Windows (not the one from the Table of Contents)
- read all about the apache and php config because you might get stucked
- now there you will find a some line with what u should do
- copy those lines in your httpd.conf file at the bottom :


Code:
LoadModule php5_module c:/php/php5apache2.dll
AddType application/x-httpd-php .php
PHPIniDir C:/php- then copy the php5ts.dll (thats located in the php root folder) to your C:\windows\system32\ folder
- restart the apache service
5. Now copy your modified index.php in your webroot directory (check cap.2 for the default webroot if you didn't change it)
- ok after all this now open your httpd.conf find the line :

Code:
DirectoryIndex index.html index.html.varand change it to:

Code:
DirectoryIndex index.php- open I.explorer type http://yourip then press enter if it shows the page thats good if not don't bug me and start all over again cuz this is a "for nothing guide"


Note: Remember that when adding path values in the Apache configuration files on Windows, all backslashes such as c:\directory\file.ext must be converted to forward slashes, as
c:/directory/file.ext.

Note: Remember to substitute your actual path to PHP for the
c:/php/ in the above examples. Take care to use either
php4apache2.dll or php5apache2.dll in your LoadModule directive and
not php4apache.dll or php5apache.dll as the latter ones are
designed to run with Apache 1.3.x.

Note: If you want to use content negotiation, read related FAQ.

Warning

Don't mix up your installation with DLL files from different PHP
versions. You have the only choice to use the DLL's and extensions
that ship with your downloaded PHP version.

Thx Compboy for the Index.php
Sus In jos
 
WoW Web page instal
Sus 
Pagina 1 din 1

Permisiunile acestui forum:Nu puteti raspunde la subiectele acestui forum
Cs SpEcIaL :: Tutoriale zone :: Tutoriale WoW-
Mergi direct la: