Problem while using 'printf' for writing PHP5 extensions
configuration.
prve instalacije paketa ili u slucaju da se pokrene
* README.CARNet datoteka - opisano odredjivanje preporucene
vrijednosti za post_max_size i memory_limit postavke.
+ * provjera dozvola pristupa za svaku PHP5 konfiguracijsku
+ datoteku (file access permissions, chmod 644).
-- Dragan Dosen <ddosen@ffzg.hr> Sun, 30 Mar 2008 22:10:32 +0200
cp_mv $ini_file_tmp $ini_file
need_restart=1
fi
+ chmod 644 $ini_file
done
cp_echo "CN: Adding $php5ext extension to file $PHP5CONFD/$php5ext.ini"
- printf "# configuration for php %s module\nextension=%s\n" "${php5ext_up}" "${php5ext}" >> "$INITMP"
+ printf "# configuration for php %s module\nextension=%s.so\n" "${php5ext_up}" "${php5ext}" >> "$INITMP"
cp_mv "$INITMP" "$PHP5CONFD/$php5ext.ini"
need_restart=1
need_restart=1
fi
fi
+ chmod 644 $PHP5CONFD/$php5ext.ini
done