Category: HTML, CSS, PHP
Setting Up User-Specific PHP Configuration in Linux
Overview PHP configuration is typically managed through the php.ini file and additional configuration files. While system-wide settings are stored in /etc/php/[version]/, you may want to add your own user-specific settings without modifying system files. This guide demonstrates how to set up user-specific PHP configuration that works alongside the system configuration. Default PHP Configuration Locations In most Linux distributions,…
Git Submodule vs Composer Package for Testing Framework Integration
How to Publish your WordPress plugin via Git or via Composer, with one version of code. Flexible for your clients, clear for you.
Using Git for WordPress Theme Development: Simplify Workflow, Collaboration, and Version Control
With Full-Site Editing in WordPress, theme development is easier. Git is essential for version control and collaboration in WordPress theme development.
WordPress White Screen of Death
Incorrect line endings in .php files can mess up WordPress, even so it only shows a blank white screen (aka “White Screen of Death”). Fix it this way.
Troubleshooting Delays (several seconds) in PHP or WordPress
Find WordPress or PHP coding errors that take long time, even if the problem is system-level time-outs. PEAR Benchmark to find slow or failing PHP code.
LESS for WordPress to compile Bootstrap 3.1+
How to replace Leafo LessPHP library, so you can compile LESS files that use the ‘extend’ command, including BootStrap 3.1+, and use these in WordPress themes.
Configuring XAMPP for Multiple Web Sites
Configuring XAMPP for Multiple Web Sites, have a full Apache server on your Windows computer, for web site development. XAMPP configuration with Windows Hosts file.
IIS Servers Do Not Always Set Document Root
If your IIS server doesn’t set PHP $_SERVER[‘DOCUMENT_ROOT’], here’s how you can set it in a configuration file so all your PHP programs have it.
Using PHP Packages without Composer
Using PHP Composer packages if you don’t have Composer. Standard PHP code to access files (but without the version checking Composer has).
PHP Unzip bug makes WordPress Updates hang
Problems with WordPress Update hanging? Or plugins failing with compression? Might be the version of PHP on your server, having bugs in Unzip.
Server alert you of File Not Found and other Errors
Apache or IIS detailed error reporting, for 404:File Not Found or 403:Forbidden errors. Visitors see minimal information, site administrators get log entries and optionally an email about each error.
HTML on-page links not working
HTML links have changed syntax, can not use name= to define link targets, have to use id=.