أفكار مشتاق

My Thoughts

The New WordPress 5.0

Earlier this month, the schedule for rolling out WordPress 5.0 (including Gutenberg – the new block editor) was announced: https://make.wordpress.org/core/2018/10/03/proposed-wordpress-5-0-scope-and-schedule/

Even though Gutenberg will be officially part of WordPress in version 5.0, you can still download it as a plugin and start using it. (This post is written using Gutenberg editor ;-))

The numerous benefits of using Gutenberg for the following are the ones that I like the most:

  • Instead of editing through inline text you now use blocks.
  • You can easily drag and drop blocks from one place to another in a wordpress post.
  • Third party services have integration with guttenberg, for instance when I copied the meetup link in this post it automatically became a widget.
  • Works with almost any theme.
  • We will  be talking about Gutenberg and wordpress 5.0 in the upcoming meetup. If you want to learn and need help using Gutenberg, this would be the perfect opportunity. So don’t forget to register using the below:

    https://www.meetup.com/wordpress-jeddah/events/255796016/

    mush# October 24, 2018 no responses permalink

    Fix PHP.INI In An Apache Mac Setup

    If you issue the following command in terminal:

    php --i | grep ini

    This will show you the loaded pho configuration file. My output was this:

    Loaded Configuration File:         /usr/local/etc/php/5.6/php.ini

    But when I upgraded my MacOS from El Capitan to Sierra, updating the above file didn’t reflect any change on my development websites. WordPress was still showing 2 MB even though I was using the following:

    upload_max_filesize = 64M
    post_max_size = 64M
    max_execution_time = 300

    After googling here and there, I found a solution. Thanks to Gergely on stackoverflow here.

    First use phpinfo to find out the current loaded file.

    You would see:

    Loaded Configuration File  None

    now open your terminal:

    cp /etc/php.in.default /etc/php.ini

    Thats it. Make any change to the newly copied file and it would update in the webserver without any issues 🙂

    Original Article: http://www.ahmadmushtaq.com/php-ini-not-updating-in-an-apache-on-mac-setup/

    mush# October 2, 2018 2 responses permalink