TIL that PHP 7.2 doesn’t support mcrypt and MySQL 5.7.5+ changed GROUP BY behavior. Both break Craft CMS. Here is how to solve those issues.
Today I upgraded from Homestead 4.0.0 to 5.0.1 so I could test my sites in PHP 7. That was a major upgrade and a number of things changed, so I decided that I needed to back up my databases before I did the upgrade. I’d only ever dumped specific databases before, but TIL how to dump them all at once. Here is how to do that in Laravel Homestead.
Here is how to load scripts on specific pages in WordPress with wp_enqueue_scripts
TIL how to hide my TIL posts from the front page of my site, the Unless tag, and inserting mysql with PHP.
TIL the basics of connecting to a MySQL database and creating tables in PHP.
TIL a new-to-me development philosophy and the basic parts of creating a WordPress plugin.
TIL how to check for keys and look up values in arrays, as well as how to restrict files via .htaccess.
TIL how to do basic logging to CSV in PHP and how to highlight syntax in Jekyll.
TIL how to convert unicode characters in PHP and I released my first personal project on Github.
TIL about date/time conversions in PHP and a lesson about automatic inheritance in CSS.
TIL two ways to tile patterns in Photoshop. One is manual and time consuming, the other is fast, easy, and less prone to error. I also re-learned some stuff about Homestead and Composer.