AgerNic.com/ro
WEB DEVELOPER SITE, HTML, CSS, PHP, SQL
Tutorial

Tutorial PHP » Instalare PHP


PHP este un limbaj de script de partea serverului, ceea ce īnseamn? c? ave?i nevoie de un server web pentru a rula programe PHP sau scripturi PHP. Din fericire, instalarea este mai u?oar? decāt pare. Folosind: XAMPP, WampServer, MAMP, EasyPHP, Laragon, UwAmp, AMPPS unul din aceste software, instal?m un server Apache pe propriul computer, plus PHP, MySQL ?i multe altele.

Īn pagina specificat?, desc?rca?i versiunea de instalare a sistemului de operare (Windows, Mac OS sau Linux) ?i urma?i instruc?iunile de instalare. Ca exemplu, Instalatorul XAMPP v? īntreab? unde dori?i s? ave?i pachetul instalat, de ex. D: \ xampp \ specificat, sunt posibile ?i alte c?i. Dac? dorim acum s? ne uit?m la scripturile noastre PHP, le vom copia / salva īn folderul htdocs sub D: \ xampp \ htdocs.
Īnainte de a rula scripturi PHP, trebuie s? pornim serverul web. Dac? ave?i Skype instalat, ar trebui s? īl opri?i īnainte de a porni serverul web Skype, deoarece din p?cate Skype blocheaz? īnceperea serverului web Apache. Dup? pornirea serverului web pute?i, de asemenea, s? porni?i din nou Skype.

Pute?i porni fie serverul web apelānd xampp_start.exe, fie rulānd xampp-control.exe ?i ap?sānd Apache pe serverul web. Scripturile noastre PHP pe care le-am salvat īn folderul htdocs pot fi apoi accesate pe adresa http: // localhost / sau http://127.0.0.1/.
Sfat: ?terge?i fi?ierele existente din folderul htdocs, care va lista toate scripturile PHP.

Dac? apare un mesaj de eroare, atunci īncerca?i s? specifica?i adresa URL complet? a paginii, deci http: //localhost/sitename.php.
Dac? ave?i subfoldere īn folderul htdocs, atunci numele trebuie introdus ?i īn adresa URL.

Acesta a fost īntregul secret al instalarii XAMPP.

Mai tārziu, pentru a ob?ine site-ul online, gazda dvs. web trebuie s? sprijine PHP īn consecin??. Īntre timp, PHP este inclus īn aproape toate pachetele de g?zduire web, a?a c? g?sirea unui hosting (gazduirea fisierelor dumneavoastra) nu ar trebui s? fie prea dificil?.

Tags: instructiuni pentru instalarea PHP pe calculatorul personal gratis

Online Editor
ONLINE EDITOR

news templates


COLOR PICKER

news templates
This tool makes it easy to create, adjust, and experiment with custom colors for the web.


HTML Templates
news templates
Magnews2 is a modern and creative free magazine and news website template that will help you kick off your online project in style.


CSS HTML Layout
news templates
Find here examples of creative and unique website layouts.


Free CSS HTML Menu
news templates
Find here examples of creative and unique website CSS HTML menu.


Online Editor
ONLINE EDITOR

news templates


COLOR PICKER

news templates
This tool makes it easy to create, adjust, and experiment with custom colors for the web.


HTML Templates
news templates
Magnews2 is a modern and creative free magazine and news website template that will help you kick off your online project in style.


CSS HTML Layout
news templates
Find here examples of creative and unique website layouts.


Free CSS HTML Menu
news templates
Find here examples of creative and unique website CSS HTML menu.


analytics piwika