Kotsi ho PHP e u lumellang hore u fete lithibelo tse behiloeng ho php.ini

Ho hatisitsoe mokhoa oa ho feta ho mofetoleli oa PHP lithibelo tse boletsoeng ho sebelisoa taelo ea disable_functions le litlhophiso tse ling ho php.ini. A re hopoleng hore taelo ea disable_functions e etsa hore ho khonehe ho thibela ts'ebeliso ea mesebetsi e itseng ea ka hare ho mangolo, mohlala, o ka thibela "system, exec, passthru, popen, proc_open le shell_exec" ho thibela li-call ho mananeo a kantle kapa fopen ho thibela. ho bula lifaele.

Hoa hlokomeleha hore tlhekefetso e reriloeng e sebelisa ts'oaetso e tlalehiloeng ho baetsi ba PHP lilemong tse fetang 10 tse fetileng, empa ba e nka e le bothata bo fokolang bo se nang ts'ireletso. Mokhoa o reriloeng oa tlhaselo o ipapisitse le ho fetola boleng ba litekanyetso mohopolong oa ts'ebetso mme o sebetsa lits'ebetsong tsohle tsa hajoale tsa PHP, ho qala ka PHP 7.0 (tlhaselo e ka etsahala hape ho PHP 5.x, empa sena se hloka liphetoho molemong oa ts'ebeliso) . Tšebeliso e 'nile ea lekoa ka mekhoa e fapaneng ea Debian, Ubuntu, CentOS le FreeBSD e nang le PHP ka mokhoa oa cli, fpm le module ea apache2.

Source: opennet.ru

Eketsa ka tlhaloso