Programare
|
Nou pe simpatie: ramonaa86 Profile
 | Femeie 25 ani Brasov cauta Barbat 31 - 46 ani |
|
|
ProgramareReguliInregistrareLoginPozeNu sunteti logat. Lista Forumurilor Pe Tematici
|
| #1 |
AdminAdministratorDin: Dej
Postari: 40
|
|
Avem nevoie de urmatoarele :
*Windows XP + SP2 ( nu neaparat ) *Apache 2.2.2 : download *MySQL 5.0.22 : download *PHP 5.1.4 : download *PHP modules : download
Instalare Apache
Dupa ce downloadam Apache din link-ul de mai sus , il instalam ( e executabil ). Dupa ce executam de cateva ori next , next : ajungem la urmaotarele :
informatiile de pe server ceva de genu :
Server Name (e.g. www.somenet.com): localhost
-mai jos tot in aceasi fereastra cu informatiile de pe server obseravam :
for All Users, on Port 80, as a Service -- Recommended - cum ne zice e recomandat sa bifam.
-Apache se va instala in : C:Program FilesApache Software FoundationApache 2.2
Instalare MySQL
-downloadam din link-ul de mai sus , si pornim instalarea , pe Setup.exe.Next , next si apoi install.
-apoi ajungem la fereastra :
Configure the MySQL Server now
-bifam mai departe install as a windows service , pentur a porni o data cu windowsul ca un servicu. -mai bagam parole ce mai avem nevoie pe acolo , sper ca va descurcati voi.
Instalare PHP
-deazrhivam arhiva downloadata mai sus , cu PHP-ul in [colo=red]c:php[/color] -dezarvhivam arhiva cu module PHP in : c:phpext
- copiem fisierelor c:phpphp5apache2.dll, c:phpdevphp5ts.lib si c:phpphp5ts.dll in directoarele c:windows, c:windowssystem si c:windowssystem32.
- copiem fisierul php.ini-recommmended in directorul c:windowsphp.ini ( pentur a modifca optiunile pe acolo ).
Includerea PHP in Apache
-deschide fisierul :
C:Program FilesApache Software FoundationApache2.2confhttpd.conf
-si fa-l sa fie in felul urmator :
ServerRoot "C:/Program Files/Apache Software Foundation/Apache2.2" ... LoadModule php5_module "c:/php/php5apache2.dll" ... DocumentRoot "locatia_root_folder" ... <Directory "locatia_root_folde"> ... <IfModule dir_module> DirectoryIndex index.php index.html </IfModule> ... <IfModule mime_module> .... AddType application/x-httpd-php .php ... </IfModule>
-Mai da si un restart si gata
|
|
| |
|