We will be documenting all the issues we encounter during the course of developing a yii2 advanced template powered web application here.
1. PHP Parse error: syntax error, unexpected ‘[‘, expecting ‘)’ in vendor/yiisoft/yii2/Yii.php on line 25
2. mcrypt_create_iv(): Cannot open source device
…
Continue reading
Monthly Archives: January 2015
APC double free or corruption error and php 5.4+
APC (latest stable 3.1.9) got segmentation fault when running with php 5.4.
*** glibc detected *** /opt/php/sbin/x86_64-redhat-linux-gnu-php-fpm: double free or corruption (out): 0x00007fa3e0fc88a0 ***
Continue reading
RPM related notes
1. How to check if a package is installed, e.g.
$ rpm -qa | grep -i mysql
2. checkout file list in a rpm package (not installed), e.g.
$ rpm -qpl ImageMagick-6.9.0-4.x86_64.rpm
3. check out file list in an installed rpm package
$ rpm -ql ImageMagick-6.9.0-4.x86_64
php 5.4 chroot set up
How to build a php 5.4 chroot env. with most useful extensions and php-fpm?
Nginx returns 404 when enabling permalinks for a WordPress subfolder install
After we enable WordPress permalinks, we got 404 not found error.
Since we set up WordPress under a sub folder (/kb) with Nginx.
the correct config for Nginx is slightly different as below.
Note that we are using chroot nginx /html/ is the nginx webroot seen from the chroot.
Choose an adsense ready WordPress theme
How to choose a google adsense optmized WordPress theme?
what is the best wordpress themes for google adsense for year 2015 and beyond?
Below is our stance on what matters most and our research result.
Download previous versions of wordpress
Where to download all the previous versions of WordPress. We have archived the official WordPress archive download links here.
Continue reading