Pogledajte određenu poruku
Staro 09. 09. 2010.   #7
vidak
Banned
Expert
 
Datum učlanjenja: 29.09.2007
Poruke: 458
Hvala: 131
71 "Hvala" u 44 poruka
vidak is on a distinguished road
Default

Eve gi rešenjaaaaa

kao što reče Gorky "suPHP is a tool for executing PHP scripts with the permissions of their owners. It consists of an Apache module (mod_suphp) and a setuid root binary (suphp) that is called by the Apache module to change the uid of the process executing the PHP interpreter."

sudo apt-get install libapache2-mod-suphp
sudo a2dismod php5
sudo a2enmod userdir suphp
Otvorite fajl sudo vi /etc/apache2/apache2.conf
Dodajte sledeće linije na kraju fajla
suPHP_Engine on
suPHP_AddHandler application/x-httpd-php .php
sudo /etc/init.d/apache2 restart
vidak je offline   Odgovorite uz citat