Hello
The easy way to install composer globally is to run bellow commands
curl -sS https://getcomposer.org/installer | php
sudo mv composer.phar /usr/local/bin/composer
Hello
The easy way to install composer globally is to run bellow commands
curl -sS https://getcomposer.org/installer | php
sudo mv composer.phar /usr/local/bin/composer
The short answer is
RewriteRule ^dashboard/index - [E=no-gzip:1] SetEnvIf REDIRECT_no-gzip 1 no-gzip
Some explination of that solution
The – means NOOP, E means set variable, 1 is the value. After redirects, the variables are renamed and prepended with REDIRECT_.
This work for php FPM
If you have a mod dso you can use also this
apache_setenv('no-gzip', '1');
Hello
Well I try today to install a plugin on a wordpress. But when I try to install it it request me the ftp user password host, for my hosting account.
Well, i try to chmod 777 the wp-content, still the same, so I force the wordpress to not require ftp by adding some code into wp-config.php
So to fix this chmod 777 wp-content
and add
define('FS_METHOD', 'direct');
to wp-config.php
You may see PHP code snippets that have an ampersand, ‘&’, preceding a variable like &$examplevar.
So, what does it do? It sets up a reference to the original variable instead of copying it’s value.
Exemple:
$orig = “something 1”;
$reference = &$orig;
echo $reference  // will output “something 1”
Now if we change the $orig with something else
$orig = “something 2”;
echo $reference // will output “something 2”
Powered by WordPress