Архив рубрики: LAMP

Web разработка

Web chmod

The other answers are correct, in that chmod -R 755 will set this as permissions to all files and folders in the tree. But why on earth would you want to? It might make sense for the directories, but why set the execute bit on all the files?

I suspect what you really want to do is set the directories to 755 and either leave the files alone or set them to 644. For this, you can use the find command. For example:

To change all the directories to 755 (-rwxr-xr-x):

To change all the files to 644 (-rw-r—r—):

Установка прав 755 на папки и 644 на файлы

При переносе сайта на другой хостинг столкнулся с проблемой: надо поставить права 755 на все папки (включая вложенные) и 644 на файлы в этих папках.

NETBEANS fontsize

To change the GUI font-size only once, you can launch NetBeans with the --fontsize <size> option.

To change the GUI font size permanently, edit netbeans.conf file. Specifically, in netbeans.conf (which is located in the /etc folder of your NetBeans installation), look for the line that starts with «netbeans_default_options=». Edit the fontsize parameter if present. If not, add something like «—fontsize 16» (without the quote) at the end of the line.

File location:


В файле /etc/php5/conf.d/xdebug.ini

Раскомментировать строки:

Для XAMPP под Windows:
Добавить строки в файл c:/xampp/php/php.ini