<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>PC Tutorials Online &#187; RunCloud</title>
	<atom:link href="http://pctutorialsonline.net/category/runcloud/feed" rel="self" type="application/rss+xml" />
	<link>http://pctutorialsonline.net</link>
	<description>Improve Your PC</description>
	<lastBuildDate>Sat, 07 Mar 2020 07:55:22 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Changing the PHP date.timezone value on RunCloud.io</title>
		<link>http://pctutorialsonline.net/changing-the-php-date-timezone-value-on-runcloud-io.html</link>
		<comments>http://pctutorialsonline.net/changing-the-php-date-timezone-value-on-runcloud-io.html#comments</comments>
		<pubDate>Sat, 04 Jan 2020 05:22:54 +0000</pubDate>
		<dc:creator>pctutorials</dc:creator>
				<category><![CDATA[How To]]></category>
		<category><![CDATA[RunCloud]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[Change PHP date]]></category>

		<guid isPermaLink="false">http://pctutorialsonline.net/?p=250</guid>
		<description><![CDATA[
I spent a significant amount of time setting up CiviCRM yesterday, only to discover there was a mismatch between the timestamp provided by the MySQL server and PHP. Normally, modifying the php.ini file (specifically the date.timezone value) adjusts PHP&#8217;s timezone. Yet, running phpinfo() still showed the timezone had not been changed. There were no other [...]]]></description>
			<content:encoded><![CDATA[<p><a href="https://runcloud.io/r/jqk5wLkje8gA"><img src="http://pctutorialsonline.net/wp-content/uploads/2020/01/runcloud.jpg" alt="runcloud" title="runcloud" width="360" height="360" class="aligncenter size-full wp-image-251" /></a><br />
I spent a significant amount of time setting up CiviCRM yesterday, only to discover there was a mismatch between the timestamp provided by the MySQL server and PHP. Normally, modifying the php.ini file (specifically the date.timezone value) adjusts PHP&#8217;s timezone. Yet, running phpinfo() still showed the timezone had not been changed. There were no other ini files being loaded, so I did some more snooping in the settings of <a href="https://runcloud.io/r/jqk5wLkje8gA">RunCloud</a>. A Google search result led me to a FaceBook page that had a change log for RunCloud&#8217;s app. Turns out it&#8217;s possible to tune PHP for each specific app and adjust the timezone within RunCloud&#8217;s interface. To change the timezone in a specific RunCloud web app, do the following:</p>
<p>1. On the Server page, click Web Apps.<br />
2. Click on the app you wish to modify the timezone of.<br />
3. Click settings on the left hand panel.<br />
4. Scroll down to PHP settings and you&#8217;ll see the second value is date.timezone. Modifying this accordingly.<br />
5. Hit Update Web Applications Settings and you should be good to go.</p>
<p>To verify the change, run phpinfo(); in a php file and locate the date.timezone value to see if it has updated.</p>
<p>If you&#8217;re like me and also setting up CiviCRM, you&#8217;ll need to update the timezone within Wordpress. Go to Settings>General and select the time zone drop down.</p>
<p>It&#8217;s important to have all systems on the server running the same timezone, otherwise  timestamps for payments will be incorrect and backups won&#8217;t run at correct times. I&#8217;m really enjoying <a href="https://runcloud.io/r/jqk5wLkje8gA">RunCloud</a> at the moment and will probably do some further posts about it &#8212; it&#8217;s very handy for managing VPS&#8217;s.</p>
]]></content:encoded>
			<wfw:commentRss>http://pctutorialsonline.net/changing-the-php-date-timezone-value-on-runcloud-io.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
