Apache enable Htaccess for directory

 

Php GD (GD Extension for php)

# apt-get install php5-gd

Proof that ;

$ php5 -m | grep -i gd

 

Ant Deployment – (Ant for building and deployment)

Cmd :  Ant Get Task

Cmd:  Apache Ant can do a lot of tasks automatically

Cmd : FTP –  TAR – Other

 

 

Ant Documentation(Reference) : http://ant.apache.org/manual/

 

 

 

 

Php5 en mod (php7-also)

After installing php modules, some are not enabled by default upon installation.

One of those modules is php5-imap and php5-mcrypt is another one.

You have to enable them with php5enmod command.

php5enmod works just like the way a2enmod works for Apache.


 

… php5dismod, just like a2dismod works.

 

  • enabled php modules with…

 

 

php -m” list,

Php Opcache (Php performance Increase – Cache Optimization)

A few words about the OPcache.

OpCode Cache“. “APC” is one of them. “Zend OPcache” is another one; and this Zend OPcache (or OPcache for short) is built into php 5.5, not APC.

The workaround is to disable the OPcache, which is enabled by default. It is a setting in php.ini file.

The question has been raised if disabling the OPcache before installation and enabling it right after would be good enough. While I don’t have a solid answer for that, it should be good enough to keep it disabled during installation and upgrades. I permanately turned it off on my test site.

 

if we can disable the OPcache per site basis. Like disabling it for a DomainCluster  sites and enabling it for others.

Yes,  can do that.

  • Developer can disable OPcache per site basis
  • Developer cannot enable it whenever Developers want it;
  • It should be enabled by default.
  • If developer has disabled it through php.ini file, then you need to revert it back.

Placing below line in your “settings.php” file will disable it.

 

 apache config should

has“AllowOverride All” in order to make the .htaccess method work; which is also a requirement for installing & running other properties.