Skip to content

David Yin's Blog

Tech geek. Life geek.

  • Home
  • About & Contact
  • Advertise
  • Subscribe
  • Privacy Policy
  • Gallery 3 – G3Grey Theme
David Yin's Blog
  • Home
  • About & Contact
  • Advertise
  • Subscribe
  • Privacy Policy
  • Gallery 3 – G3Grey Theme

Tag: PHP

Posted on June 9, 2022 L.A.M.P.

reCaptcha PHP lib is not OK with php 8.0

I have a website running on an Nginx web server. I implemented the Google reCaptcha tool to stop spam. The server is Nginx 1.18.0 with php7.4-fpm supported. Everything is OK with this configuration. Recently, I am working on the development... Read more

Posted on January 24, 2021January 25, 2021 L.A.M.P.

php 8.0 on Ubuntu 20.04

PHP 8.0 has been released officially to the General Availability on November 26, 2020. I got no chance to install it and test it. Yesterday I did the test run on my Vultr VPS. Firstly, I prepare the VPS. I... Read more

Posted on June 7, 2018June 7, 2018 L.A.M.P.

php Benchmark test on php 7.2

Now it is a php 7.2. Included in the Ubuntu 18.04. My site is running on this platform. I also want to try to run the php Benchmark test, and see how fast it is.   -------------------------------------- | PHP BENCHMARK... Read more

Posted on April 11, 2017April 20, 2018 L.A.M.P.

How to connect DBF file and read data by PHP script

Afte last post, my php-fpm support the dbase database file now.  Here is an example php script. $db = dbase_open('../db/clients.dbf',0); if ($db){ $record_numbers = dbase_numrecords($db); for ($i = 1; $i <= $record_numbers; $i++) { $row = dbase_get_record_with_names($db, $i); if (... Read more

Posted on December 9, 2015December 31, 2015 L.A.M.P.

PHP Benchmark on PHP 7.0

It is a test bed on a VPS. Here is the basic information of it. Ubuntu Linux 14.04.3 Linux 3.13.0-71-generic on x86_64 Intel(R) Xeon(R) CPU L5520 @ 2.27GHz, 1 cores 512MB Memory Nginx 1.9.9 PHP 7.0 Read more

Posted on June 11, 2015December 31, 2015 WordPress Notes

Remove link of comment in WordPress

By default all links posted in the comments under your articles are turned by WordpPress into links. Unfortunately, this features encourages spammers to post many unwanted comments in your blog. To disable turning URLs from comments into actual links, go... Read more

Posted on May 14, 2015April 20, 2018 L.A.M.P.

PHP – Parse error: syntax error, unexpected end of file

FastCGI sent in stderr: “PHP message: PHP Parse error: syntax error, unexpected end of file in /your_path/yourscript.php on line 308” while reading response header This is the error when I check the php log file. Because I met the blank... Read more

Posted on March 17, 2015 L.A.M.P. Web & Network

HHVM 3.6 has problem with MariaDB

The same script php file, always works smoothly on HHVM 3.2 to HHVM 3.5. Until I upgrade it to HHVM 3.6. It is a simply script which use mysqli connection and so on. Now it is shown the error as... Read more

Posted on October 10, 2014October 10, 2014 Web & Network

Some changes on Timthumb script

What is Timthumb? It is a small php script for cropping, zooming and resizing web images (jpg, png, gif).   Here is the official place to donwload the script. https://code.google.com/p/timthumb/ Even the developers said it is not supported any more,... Read more

Posted on May 24, 2014May 24, 2014 L.A.M.P.

PHP bench test results of PHP 5.3, PHP 5.4, and PHP 5.5

It is a bench test. Testing on the testing machine I just installed in the previous post. Including PHP 5.3.28, PHP 5.4.28, and PHP 5.5.12, installed with fastcgi running on Apache and mod_fcgid. PHP 5.3 is 6.567 seconds. -------------------------------------- |... Read more

Posted on May 23, 2014May 23, 2014 L.A.M.P.

Install multiple version of php on CentOS 6.5

This is a how-to of install php 5.3 an dphp 5.5 on one server, CentOS and use them simultaneously. It is based on CentOS 6.5, 64bit for Apache only. 1) Enable rpmforge and epel yum repository   2) Install php... Read more

Posted on May 21, 2014May 21, 2014 L.A.M.P.

PHP 5.3, PHP5.4 and PHP5.5

PHP, as a program language, has its only life cycle. The main three version of PHP is 5.3, 5.4, and 5.5. PHP5.3 will be supported until July, 2014. It is still the main default version in CentOS. PHP5.4 will be... Read more

Posted on March 11, 2014March 10, 2014 L.A.M.P.

PHP Accelerator tools

There are a few options I can choose when I setup my PHP environment for my Web Site here. APC – Alternative PHP Cache It is used widely. Free, Open Source framework that caches the output of the PHP bytecode... Read more

Posted on November 8, 2013April 20, 2018 L.A.M.P.

Zend Opcache is a Must Have extension of PHP

Zend Opcache is an open source component of Zend Server and Zend Server Community Edition. Zend Opcache speeds up PHP execution by opcode caching and optimization. It stores precompiled script bytecode in shared memory. This eliminates the stages of reading... Read more

Posted on October 25, 2013February 24, 2014 L.A.M.P.

Install Memcached with Admin Panel on Centos 6.4 64bit

Since I installed PHP 5.5.3 and Zend OPcache v7.0.3, it is good for WordPress opcode already. For other cache optimization, I need a cache system. I choose Memcached server. Part 1. Install Memcached Server I install Memcached with following command: Then... Read more

Posts navigation

1 2 3 4 →


Tags

"new features" "phpBB 3" "speed test" "Windows 7" backup beta Blog bug calibre Canada Centos Code dreamhost error Firefox firmware freeware game Google how-to installation internet Linux MovableType MT MySQL performance PHP plugin release review router security server software SSD test tool ubuntu update upgrade voip VPS windows wordpress

Useful links

  • Alive Math Worksheet
  • Free InOut Board
  • Web Site Directory
  • Free Thinking
  • Dba notes
  • aw’s Blog
  • OneLaunch

Categories

  • Digest (77)
  • DreamHost Log (41)
  • Hardware (366)
  • Independent Thinking (28)
  • Insurance (5)
  • jQuery (9)
  • L.A.M.P. (249)
  • Money Maker (22)
  • My Life (117)
    • Journey of Faith (1)
    • Shanghai food (1)
  • Notes of MovableType (127)
  • phpBB Mod & Tips (14)
  • Reviews (171)
    • Freeware Review (43)
  • Save Money (2)
  • SEO & SEM (9)
  • Software (266)
  • Two Week Campaign (13)
  • Uncategorized (1)
  • Vehicles (15)
  • VOIP (38)
  • Web & Network (390)
  • WordPress Notes (52)

Archives

© 2023 David Yin's Blog / Powered by WordPress / Theme by Design Lab