php.ini or phprc
About PHP, this question has been in my draft for a long time. I am going to finish it. What is the main difference between php.ini and phprc? Here is one quick way to get the answer, ChatGPT. I asked...
Tech geek. Life geek.
About PHP, this question has been in my draft for a long time. I am going to finish it. What is the main difference between php.ini and phprc? Here is one quick way to get the answer, ChatGPT. I asked...
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...
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...
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...
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 (...
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
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...
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...
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...
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,...
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. -------------------------------------- |...
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...
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...
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...
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...