Instalare si Configurare

Stefanescu Mihai 3 years ago PHP
Acest articol face parte din cursul Toate lectiile PHP. Te poti inscrie la acest curs aici!

Pentru a putea rula codul PHP pe computerul de acasa aveti nevoie de 3 componente importante.

    • Web Server – PHP poate lucra cu orice tip de server web, chiar si Microsoft Internet Information Server (IIS), dar cel mai des folosit este bine cunoscutul (si evident gratuit) Apache. Acesta poate fi descarcat de aici: http://httpd.apache.org/download.cgi
    • Baza de Date – PHP poate lucra cu o multime de baze de date (cum am zis si in cursul trecut), dar cea mai folosita este bine cunoscuta MySql : http://www.mysql.com/downloads/index.html
    • Parser PHP – Pentru a procesa codul PHP avem nevoie si de un Parser ce va genera outputul HTML final ce va fi trimis catre browser.

Instalare in Windows

In primul rand va recomand unul dintre urmatoarele servere web:

Descarca versiunea dorita (eu folosesc XAMPP) si fa dublu click pe installer-ul abia descarcat. Acum ramane sa pornesti serviciile dorite, ma refer la PHP si MySql. In XAMPP avem XAMPP Control Panel din care putem da Start serviciilor dorite, in WAMP ne apare iconita Control Panel-ului in sectiunea de Notification Area si putem selecta de acolo serviciile pe care dorim sa le pornim.

Instalare Unix

Instalare pe ubuntu 10.04

In primul rand trebuie sa improspatam indexul de pachete:

sudo apt-get update

Acum putem instala LAMP (Linux Apache Mysql PHP)

sudo apt-get install lamp-server

Mai multe detalii despre instalarea pe linux gasiti aici: https://help.ubuntu.com/community/ApacheMySQLPHP

Programator de ~8 ani, am lucrat la proiecte din mai multe industrstrii, de la eCommerce la telecomunicatii la automatizari. In acest timp am folosi diferite tehnologii, de la PHP, MySQL, PostgreSql, RabbitMq, Redis, Memcached si altele.


Get in touch
Pentru nelamuriri, dubii, comentarii si chestii de pe suflet ne putem auzi pe Discord, Reddit sau poti deschide o discutie noua pe forum

slot machine for sale # 7 months ago Search for payment disputes, support responses as well as all right stuff you want.
Cnpexe # 3 months ago cheap fenofibrate <a href="https://fenoficor.com/">purchase fenofibrate online cheap</a> fenofibrate uk
Rjxghk # 3 months ago buy zaditor 1 mg generic <a href="https://geozipin.com/">brand ziprasidone</a> order tofranil 75mg generic
Eclenk # 3 months ago acarbose 25mg usa <a href="https://micronide.com/">micronase 2.5mg brand</a> griseofulvin 250mg cheap
Xiscri # 3 months ago order minoxytop <a href="https://aminirin.com/">minoxidil drug</a> buy ed pills paypal
Rpsgmm # 3 months ago aspirin online order <a href="https://imitonin.com/">purchase imiquimod generic</a> order imiquad cream
Haynvr # 3 months ago florinef without prescription <a href="https://acipolax.shop/">buy dulcolax online cheap</a> generic loperamide 2mg
Dgtpvu # 3 months ago duphaston uk <a href="https://empaolol.com/">buy empagliflozin 10mg generic</a> buy jardiance 10mg online
Mfiwbj # 3 months ago generic prasugrel <a href="https://thoramine.com/">order thorazine 100mg</a> buy tolterodine for sale
Sfvdty # 3 months ago buy monograph 600mg without prescription <a href="https://colotazol.com/">buy generic colospa for sale</a> pletal 100 mg over the counter
Qvaxyf # 3 months ago pill ferrous <a href="https://betaotec.com/">buy betapace medication</a> buy betapace 40 mg
Orhmho # 2 months ago pyridostigmine 60mg for sale <a href="https://mestien.com/">order pyridostigmine 60 mg generic</a> purchase rizatriptan pills
filigrania # 2 months ago <a href=https://www.bazibood.com/maxi-knee-length-dresses-dressno>maxi knee length dresses</a><a href=https://www.bazibood.com/white-dress-off-the-rack-dressno>white dress off the rack</a><a href=https://www.bazibood.com/asymmetric-poplin-dress-dressno>asymmetric poplin dress</a><a href=https://www.bazibood.com/plus-size-tennis-outfit-dressno>plus size tennis outfit</a> <a href="https://www.binsarhiras.com/miles-morales-adidas-superstar-noir-obuvw">miles morales adidas superstar noir</a><a href="https://www.binsarhiras.com/upcoming-jordan-11-obuvw">upcoming jordan 11</a><a href="https://www.binsarhiras.com/air-jordan-30-grey-and-red-obuvw">air jordan 30 grey and red</a><a href="https://www.binsarhiras.com/balenciaga-triple-s-38-white-noir-obuvw">balenciaga triple s 38 white noir</a> <a href=https://www.filigrania.com/adidas-chicago-bulls-peruvian-knit-hat-guys-handd5>adidas chicago bulls peruvian knit hat guys</a><a href=https://www.filigrania.com/new-york-yankees-purple-baseball-cap-growth-handd5>new york yankees purple baseball cap growth</a><a href=https://www.filigrania.com/old-school-san-francisco-giants-hat-vietnam-handd5>old school san francisco giants hat vietnam</a><a href=https://www.filigrania.com/cincinnati-reds-patriotic-hat-liners-handd5>cincinnati reds patriotic hat liners</a> <a href="https://www.ilovejay.net/pandora-disney-2020-charm-pandorapl">pandora disney 2020 charm</a> <a href="https://www.mirkurortov.com/adidas-soccer-jerseys-2019-for-cheap-nfl34">adidas soccer jerseys 2019 for cheap</a> <a href="https://www.osterwoche.net/louboutin-knee-high-boots-louboutinq">louboutin knee high boots</a> [url=http://www.filigrania.com/]filigrania[/url]
Qsnlip # 2 months ago order enalapril 10mg generic <a href="https://casosin.shop/">doxazosin 2mg price</a> lactulose order
Bgeano # 2 months ago betahistine online buy <a href="https://duphstine.shop/">where can i buy betahistine</a> buy benemid no prescription
Jsfecc # 2 months ago zovirax cheap <a href="https://aexeloda.shop/">order rivastigmine online</a> buy cheap generic exelon
Vwnfra # 2 months ago buy micardis 80mg online cheap <a href="https://atizordis.shop/">micardis 20mg price</a> order molnunat 200 mg generic
Hszkvw # 2 months ago order cenforce 50mg without prescription <a href="https://enapocen.shop/">purchase naproxen for sale</a> buy cheap chloroquine
Lyeats # 2 months ago order omnicef 300 mg generic <a href="https://chlodinir.shop/">omnicef us</a> lansoprazole 15mg without prescription
Uauvho # 2 months ago casino card games <a href="https://furocheap.com/">furosemide where to buy</a> purchase lasix without prescription
Sstzmw # 2 months ago spins real money <a href="https://avenonline.com/">ventolin 2mg ca</a> ventolin 2mg inhaler
Opvfhw # 2 months ago amantadine usa <a href="https://atenulfon.com/">oral atenolol</a> dapsone 100 mg uk
Irewqu # 2 months ago buy medrol generic <a href="https://medipirol.com/">methylprednisolone 8mg pills</a> buy aristocort 10mg without prescription
Chdkyz # 2 months ago clomiphene 100mg tablet <a href="https://azatophene.shop/">buy cheap generic azathioprine</a> generic imuran 50mg
Krotto # 2 months ago buy generic vardenafil <a href="https://atizordis.com/">generic tizanidine</a> buy zanaflex without a prescription
Wqyoby # 2 months ago coversyl usa <a href="https://claegra.shop/">fexofenadine online</a> buy fexofenadine 120mg online cheap
Etakab # 1 month ago dilantin pill <a href="https://sumentin.shop/">order dilantin 100mg online cheap</a> order oxytrol for sale
Dzrlfj # 1 month ago loratadine 10mg drug <a href="https://loraitace.shop/">altace pill</a> priligy 90mg oral
Dusfrg # 1 month ago ozobax oral <a href="https://alenolac.com/">buy ketorolac for sale</a> order toradol 10mg pills
Bzhghg # 1 month ago glimepiride 4mg us <a href="https://arcotecgn.com/">cytotec cost</a> arcoxia 120mg sale
Xaksue # 1 month ago alendronate buy online <a href="https://macroicine.shop/">cost furadantin 100mg</a> furadantin 100 mg over the counter
Zrgwfn # 1 month ago buy propranolol pills <a href="https://propofen.com/">order inderal 10mg online</a> clopidogrel 75mg cost
Yzokzv # 1 month ago warfarin 5mg ca <a href="https://wafetine.shop/">paxil 10mg price</a> reglan 10mg sale
Pxsnzo # 1 month ago buy cheap astelin <a href="https://acypapro.com/">buy acyclovir generic</a> order irbesartan for sale
Rcbzky # 1 month ago purchase famotidine without prescription <a href="https://regidine.shop/">buy famotidine 40mg online</a> buy generic prograf for sale
Xumfjl # 1 month ago buy esomeprazole 20mg online <a href="https://nexapine.shop/">cheap remeron 15mg</a> buy generic topiramate for sale
Zkikls # 1 month ago zyloprim us <a href="https://allovatep.com/">buy allopurinol 300mg pills</a> crestor order
Refher # 1 month ago imitrex 25mg cost <a href="https://aimaptan.com/">buy imitrex generic</a> avodart 0.5mg drug
Ftdtmm # 1 month ago order buspirone online <a href="https://rosuirone.shop/">buspar 10mg brand</a> buy generic cordarone over the counter
Vfvgve # 1 month ago purchase domperidone pill <a href="https://domedilol.com/">brand motilium</a> tetracycline 500mg cost
Qobysx # 1 month ago buy flomax 0.4mg for sale <a href="https://apflosin.com/">tamsulosin 0.2mg pills</a> buy simvastatin 10mg online cheap
Cbglrw # 1 month ago best essay writers online <a href="https://getaessaya.com/">academic writing online</a> write my thesis
Tyiupt # 1 month ago aldactone brand <a href="https://basimcor.com/">buy aldactone 25mg</a> order proscar pill
Wjeryn # 1 month ago buy aurogra no prescription <a href="https://estasmil.com/">estrace pills</a> order estrace for sale
Icopcw # 1 month ago buy cheap generic forcan <a href="https://diorcatm.com/">buy generic diflucan 200mg</a> buy ciprofloxacin for sale
Rfsorm # 4 weeks ago buy lamotrigine pills <a href="https://averzol.com/">vermox uk</a> cost nemazole
Algxye # 4 weeks ago metronidazole 400mg tablet <a href="https://aflidazok.com/">purchase metronidazole pills</a> purchase cephalexin
Lldnbq # 3 weeks ago order cleocin without prescription <a href="https://cleamyc.com/">buy cleocin for sale</a> male erection pills
Kczzbr # 3 weeks ago buy cheap tadacip <a href="https://bditaren.com/">order cambia pills</a> generic indomethacin 50mg
Icujuv # 3 weeks ago order cefuroxime 250mg sale <a href="https://cefetil.com/">buy cefuroxime 500mg online</a> purchase methocarbamol for sale
Glydwu # 2 weeks ago dissertation assistance <a href="https://aybwonline.com/">gast`s homepage besuchen</a> order suprax 200mg online cheap
Vcnarx # 2 weeks ago order amoxicillin 500mg online cheap <a href="https://tricilol.com/">buy trimox paypal</a> clarithromycin 500mg usa
Xejmzj # 2 weeks ago buy calcitriol online <a href="https://trandetal.com/">labetalol pill</a> tricor 200mg tablet
Spjplx # 2 weeks ago purchase catapres pill <a href="https://mecanpres.com/">meclizine 25mg pill</a> tiotropium bromide buy online
Oomgez # 2 weeks ago acne treatment for teens dermatology <a href="https://bestacnetreat.com/">acne treatment for adults dermatologist</a> oxcarbazepine 600mg usa
Egjyge # 1 week ago minocycline 50mg us <a href="https://amrenirol.com/">requip price</a> buy requip pills for sale
Fnpfxd # 1 week ago alfuzosin 10mg without prescription <a href="https://antiaciditytrt.com/">reduce acid in stomach medication</a> acidity after eating anything
Ludoya # 1 week ago buy sleep meds online <a href="https://zybopim.com/">hair loss treatment fda approved</a> webmd weight loss supplements
Ykcaha # 1 week ago provera where to buy <a href="https://microchloroth.com/">order generic microzide</a> buy microzide 25 mg for sale
Eqfvyl # 1 week ago buy smoking cessation prescription medication <a href="https://stopsmokingots.com/">best medacine to stop smoking</a> pain medications online to buy
Presmr # 1 week ago generic periactin <a href="https://nizinazole.com/">order ketoconazole 200mg generic</a> order ketoconazole 200 mg pills
Dnjoad # 1 week ago herpes pills online <a href="https://anviralpl.com/">buy herpes treatment online</a> most effective diabetes drugs
Dyzknr # 4 days ago buy cheap generic phenergan <a href="https://prohnrg.com/">buy generic phenergan</a> stromectol generic
Ajtsqa # 4 days ago tests to determine stomach ulcers <a href="https://amenahealthp.com/">otc pain relief for uti</a> uti treatment online doctor
Ezyful # 21 hours ago strongest otc acid reflux medicine <a href="https://benauseap.com/">how much ampicillin in unasyn</a> medication to stop excessive farting
Club-ul este dedicat membrilor si ofera access la mai multe zone ale website-ului.
Login Register

๐Ÿ”– Bookmarks โž•
โœจ Pentru a sustine aceasta comunitate am sa te rog sa te autentifici sau sa te inregistrezi!

๐ŸŒช๏ธ Discord โž•
Back to top
Folosim cookie-uri pentru a oferi functionalitatile critice ale aplicatiei Invata-Programare. Folosim cookie-uri si pentru a analiza traficul, pentru care e nevoie de consimtamantul dvs. explicit.