PHP – FPDF – Examples

 

Smarty Quick Installation

Reference : Smarty Web Site

Smarty Repository

[   ] Smarty-2.6.24.tar.gz 2010-11-11 18:20 149K
[   ] Smarty-2.6.24.zip 2010-11-11 18:20 188K
[   ] Smarty-2.6.25.tar.gz 2010-11-11 18:20 149K
[   ] Smarty-2.6.25.zip 2010-11-11 18:20 188K
[   ] Smarty-2.6.26.tar.gz 2010-11-11 18:20 149K
[   ] Smarty-2.6.26.zip 2010-11-11 18:20 188K
[   ] Smarty-2.6.27.tar.gz 2012-09-25 14:43 151K
[   ] Smarty-2.6.27.zip 2012-09-25 14:43 190K
[   ] Smarty-2.6.28.tar.gz 2013-10-01 15:24 151K
[   ] Smarty-2.6.28.zip 2013-10-01 15:24 190K
[   ] Smarty-3.0.0.tar.gz 2010-11-11 21:01 130K
[   ] Smarty-3.0.0.zip 2010-11-11 21:01 191K
[   ] Smarty-3.0.1.tar.gz 2010-11-12 10:09 130K
[   ] Smarty-3.0.1.zip 2010-11-12 10:09 191K
[   ] Smarty-3.0.2.tar.gz 2010-11-12 20:26 130K
[   ] Smarty-3.0.2.zip 2010-11-12 20:26 191K
[   ] Smarty-3.0.3.tar.gz 2010-11-13 08:33 130K
[   ] Smarty-3.0.3.zip 2010-11-13 08:33 190K
[   ] Smarty-3.0.4.tar.gz 2010-11-13 14:34 130K
[   ] Smarty-3.0.4.zip 2010-11-13 14:34 190K
[   ] Smarty-3.0.5.tar.gz 2010-11-20 22:02 131K
[   ] Smarty-3.0.5.zip 2010-11-20 22:02 191K
[   ] Smarty-3.0.6.tar.gz 2010-12-13 10:54 132K
[   ] Smarty-3.0.6.zip 2010-12-13 10:54 192K
[   ] Smarty-3.0.7.tar.gz 2011-02-11 17:09 132K
[   ] Smarty-3.0.7.zip 2011-02-11 17:09 192K
[   ] Smarty-3.0.8.tar.gz 2011-06-03 15:29 147K
[   ] Smarty-3.0.8.zip 2011-06-03 15:29 206K
[   ] Smarty-3.0.9.tar.gz 2011-09-16 13:17 147K
[   ] Smarty-3.0.9.zip 2011-09-16 13:17 207K
[   ] Smarty-3.0b7.tar.gz 2010-11-11 18:20 127K
[   ] Smarty-3.0b7.zip 2010-11-11 18:20 207K
[   ] Smarty-3.0b8.tar.gz 2010-11-11 18:20 125K
[   ] Smarty-3.0b8.zip 2010-11-11 18:20 183K
[   ] Smarty-3.0rc1.tar.gz 2010-11-11 18:20 119K
[   ] Smarty-3.0rc1.zip 2010-11-11 18:20 174K
[   ] Smarty-3.0rc2.tar.gz 2010-11-11 18:20 122K
[   ] Smarty-3.0rc2.zip 2010-11-11 18:20 177K
[   ] Smarty-3.0rc3.tar.gz 2010-11-11 18:20 123K
[   ] Smarty-3.0rc3.zip 2010-11-11 18:20 178K
[   ] Smarty-3.1.0.tar.gz 2011-09-16 13:19 178K
[   ] Smarty-3.1.0.zip 2011-09-16 13:19 249K
[   ] Smarty-3.1.1.tar.gz 2011-09-23 10:19 184K
[   ] Smarty-3.1.1.zip 2011-09-23 10:19 256K
[   ] Smarty-3.1.2.tar.gz 2011-10-03 16:04 186K
[   ] Smarty-3.1.2.zip 2011-10-03 16:06 258K
[   ] Smarty-3.1.3.tar.gz 2011-10-07 12:14 188K
[   ] Smarty-3.1.3.zip 2011-10-07 12:14 259K
[   ] Smarty-3.1.4.tar.gz 2011-10-19 15:23 188K
[   ] Smarty-3.1.4.zip 2011-10-19 15:23 259K
[   ] Smarty-3.1.5.tar.gz 2011-11-14 12:56 191K
[   ] Smarty-3.1.5.zip 2011-11-14 12:56 263K
[   ] Smarty-3.1.6.tar.gz 2011-12-01 10:32 191K
[   ] Smarty-3.1.6.zip 2011-12-01 10:32 263K
[   ] Smarty-3.1.7.tar.gz 2011-12-19 17:07 193K
[   ] Smarty-3.1.7.zip 2011-12-19 17:07 265K
[   ] Smarty-3.1.8.tar.gz 2012-02-20 11:24 195K
[   ] Smarty-3.1.8.zip 2012-02-20 11:24 266K
[   ] Smarty-3.1.9.tar.gz 2012-06-08 16:35 197K
[   ] Smarty-3.1.9.zip 2012-06-08 16:35 268K
[   ] Smarty-3.1.10.tar.gz 2012-06-09 11:54 197K
[   ] Smarty-3.1.10.zip 2012-06-09 11:54 268K
[   ] Smarty-3.1.11.tar.gz 2012-06-30 17:18 198K
[   ] Smarty-3.1.11.zip 2012-06-30 17:18 269K
[   ] Smarty-3.1.12.tar.gz 2012-09-25 14:43 198K
[   ] Smarty-3.1.12.zip 2012-09-25 14:43 270K
[   ] Smarty-3.1.13.tar.gz 2013-01-15 20:00 199K
[   ] Smarty-3.1.13.zip 2013-01-15 20:00 271K
[   ] Smarty-3.1.14.tar.gz 2013-06-27 22:13 200K
[   ] Smarty-3.1.14.zip 2013-06-27 22:13 272K
[   ] Smarty-3.1.15.tar.gz 2013-10-01 15:24 201K
[   ] Smarty-3.1.15.zip 2013-10-01 15:24 272K
[   ] Smarty-3.1.16.tar.gz 2013-12-19 17:53 203K
[   ] Smarty-3.1.16.zip 2013-12-19 17:53 275K
[   ] Smarty-3.1.17.tar.gz 2014-03-12 15:57 204K
[   ] Smarty-3.1.17.zip 2014-03-12 15:57 276K
[   ] Smarty-3.1.18.tar.gz 2014-04-07 14:37 204K
[   ] Smarty-3.1.18.zip 2014-04-07 14:37 276K
[   ] Smarty-3.1.19.tar.gz 2014-07-01 01:15 203K
[   ] Smarty-3.1.19.zip 2014-07-01 01:15 276K
[   ] Smarty-3.1.20.tar.gz 2014-10-10 09:39 203K
[   ] Smarty-3.1.20.zip 2014-10-10 09:39 276K
[   ] Smarty-3.1.21.tar.gz 2014-10-18 23:30 203K
[   ] Smarty-3.1.21.zip 2014-10-18 23:30 276K
[   ] Smarty-3.1rc1.tar.gz 2011-06-27 12:01 178K
[   ] Smarty-3.1rc1.zip 2011-06-27 12:01 249K
[   ] Smarty-stable.tar.gz 2014-10-18 23:30 203K
[   ] Smarty-stable.zip 2014-10-18 23:30 276K
[   ] SmartyTrademark.pdf 2010-11-11 18:20 65K
[DIR] docs/ 2013-06-27 22:13
[   ] sampleapp.zip 2011-11-22 15:41 5.3K

 

Php GD (GD Extension for php)

# apt-get install php5-gd

Proof that ;

$ php5 -m | grep -i gd

 

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.