<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Guides on Sammy&#39;s Blog</title>
    <link>https://words.theresnotime.co.uk/categories/guides/</link>
    <description>Recent content in Guides on Sammy&#39;s Blog</description>
    <generator>Hugo -- 0.139.3</generator>
    <language>en-gb</language>
    <lastBuildDate>Thu, 03 Jun 2021 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://words.theresnotime.co.uk/categories/guides/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Failed to enable crypto stream_socket_client() error after upgrading PHP</title>
      <link>https://words.theresnotime.co.uk/2021/failed-to-enable-crypto-stream_socket_client-error-after-upgrading-php/</link>
      <pubDate>Thu, 03 Jun 2021 00:00:00 +0000</pubDate>
      <guid>https://words.theresnotime.co.uk/2021/failed-to-enable-crypto-stream_socket_client-error-after-upgrading-php/</guid>
      <description>&lt;p&gt;I just upgraded the version of PHP on the server running this blog, and popped over to &lt;em&gt;/wp-admin/site-health.php&lt;/em&gt; to check for any errors.&lt;/p&gt;
&lt;p&gt;There were a few, the main one which caught my eye being &lt;strong&gt;The REST API encountered an erro&lt;/strong&gt;r.&lt;/p&gt;
&lt;p&gt;&lt;p class=&#34;md__image&#34;&gt;
    &lt;img loading=&#34;lazy&#34; src=&#34;https://words.theresnotime.co.uk/images/image-4.png&#34; alt=&#34;&#34;  /&gt;
&lt;/p&gt;&lt;/p&gt;
&lt;p&gt;For the Google results, that error message in text is:&lt;/p&gt;
&lt;p&gt;The REST API request failed due to an error.&lt;br&gt;
Error: stream_socket_client(): SSL operation field with code 1. OpenSSL Error messages: error:14094410:SSL routines:ssl3_read_bytes:sslv3 alert handshake failure stream_socket_client(): Failed to enable crypto stream_socket_client(): unable to connect to ssl://words.samtarling.co.uk:443 (Unknown error) (http_request_failed)&lt;/p&gt;</description>
    </item>
    <item>
      <title>Upgrading Apache from PHP 7.3 to PHP 7.4</title>
      <link>https://words.theresnotime.co.uk/2021/upgrading-apache-from-php-7.3-to-php-7.4/</link>
      <pubDate>Thu, 03 Jun 2021 00:00:00 +0000</pubDate>
      <guid>https://words.theresnotime.co.uk/2021/upgrading-apache-from-php-7.3-to-php-7.4/</guid>
      <description>&lt;p&gt;Okay, I know we&amp;rsquo;re not upgrading &lt;em&gt;Apache&lt;/em&gt;, but y&amp;rsquo;know what I mean - let&amp;rsquo;s upgrade a Debian web server using PHP 7.3 to PHP 7.4!&lt;/p&gt;
&lt;p&gt;I&amp;rsquo;ll also cover some pointers on if that web server is running WordPress.&lt;/p&gt;
&lt;h2 id=&#34;0-assumptions&#34;&gt;0) Assumptions&lt;/h2&gt;
&lt;p&gt;I&amp;rsquo;m assuming:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;The server runs Debian 9 (Stretch) or Debian 10 (Buster) with Apache version 2.4.38* (though it should work for other versions)&lt;/li&gt;
&lt;li&gt;Apache is using the PHP module, &lt;em&gt;not PHP-FPM&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;You have sudo and SSH access&lt;/li&gt;
&lt;li&gt;You&amp;rsquo;ve made backups and any sites you&amp;rsquo;re hosting can tolerate downtime 😉&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;* You can get this info by running &lt;code&gt;/usr/sbin/apache2 -v&lt;/code&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>Using PHP 8 with Laragon</title>
      <link>https://words.theresnotime.co.uk/2021/using-php-8-with-laragon/</link>
      <pubDate>Wed, 17 Feb 2021 00:00:00 +0000</pubDate>
      <guid>https://words.theresnotime.co.uk/2021/using-php-8-with-laragon/</guid>
      <description>&lt;p&gt;&lt;a href=&#34;https://laragon.org/&#34;&gt;Laragon&lt;/a&gt; is local WAMP development server (and a much better one than XAMMP..) - I use it for most of my development work.&lt;/p&gt;
&lt;p&gt;Recently I&amp;rsquo;ve moved a couple of my ongoing projects over to PHP 8, and was caught out slightly by some unexpected behaviour.&lt;/p&gt;
&lt;p&gt;Laragon makes it pretty easy to add a new PHP/Apache version, but it makes a slight mistake when generating the &lt;code&gt;mod_php&lt;/code&gt; config.&lt;/p&gt;
&lt;p&gt;You need to change&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
