<?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>vvv &#8211; Fernando Marichal</title>
	<atom:link href="https://marichal.blog/tag/vvv/feed/" rel="self" type="application/rss+xml" />
	<link>https://marichal.blog</link>
	<description>My Blog</description>
	<lastBuildDate>Sun, 31 May 2020 22:38:08 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9</generator>

<image>
	<url>https://marichal.blog/wp-content/uploads/2020/03/favicon.png</url>
	<title>vvv &#8211; Fernando Marichal</title>
	<link>https://marichal.blog</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">217996019</site>	<item>
		<title>Activate Xdebug in VVV</title>
		<link>https://marichal.blog/activate-xdebug-in-vvv/</link>
					<comments>https://marichal.blog/activate-xdebug-in-vvv/#respond</comments>
		
		<dc:creator><![CDATA[Fernando]]></dc:creator>
		<pubDate>Sun, 31 May 2020 22:34:43 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[activate]]></category>
		<category><![CDATA[vagrant]]></category>
		<category><![CDATA[vvv]]></category>
		<category><![CDATA[xdebug]]></category>
		<guid isPermaLink="false">https://marichal.blog/?p=128</guid>

					<description><![CDATA[How to activate Xdebug in VVV]]></description>
										<content:encoded><![CDATA[
<h3 class="wp-block-heading">How to activate Xdebug in VVV</h3>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow"><p>From <a href="https://github.com/woocommerce/woocommerce/wiki/Extra-VVV-Configurations">Activate Xdebug in VVV</a></p></blockquote>



<p>Running <code>xdebug_on</code> inside Vagrant:</p>



<ul class="wp-block-list"><li>Copy and paste output from <a href="http://vvv.test/phpinfo/">phpinfo()</a> to <a href="https://xdebug.org/wizard.php">Xdebug wizard</a>, analyze and check step about editing the php.ini file (step 9 in my case).</li><li>Check if <code>/usr/lib/php/*/xdebug.so</code> is present in the VM (it should be): </li></ul>



<pre class="wp-block-preformatted"><code>$ ls /usr/lib/php/20170718/xdebug.so</code></pre>



<ul class="wp-block-list"><li>Update <code>/etc/php/*/fpm/php.ini</code> inside the Vagrant VM according to instructions from the Xdebug wizard website.</li></ul>



<pre class="wp-block-preformatted"><code>$ sudo tee -a /etc/php/7.2/fpm/php.ini &gt;/dev/null &lt;&lt;'EOF'
 [xdebug]
 zend_extension = /usr/lib/php/20170718/xdebug.so
 EOF</code></pre>



<ul class="wp-block-list"><li>Restart php service</li></ul>



<pre class="wp-block-preformatted"><code>$ sudo service php7.2-fpm restart</code></pre>



<ul class="wp-block-list"><li>Check&nbsp;<a href="http://vvv.test/phpinfo/">phpinfo()</a>&#8211;it should contain a new section for Xdebug</li></ul>
]]></content:encoded>
					
					<wfw:commentRss>https://marichal.blog/activate-xdebug-in-vvv/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">128</post-id>	</item>
		<item>
		<title>Symlinks on VVV</title>
		<link>https://marichal.blog/symlinks-on-vvv/</link>
					<comments>https://marichal.blog/symlinks-on-vvv/#respond</comments>
		
		<dc:creator><![CDATA[Fernando]]></dc:creator>
		<pubDate>Sun, 29 Mar 2020 12:57:44 +0000</pubDate>
				<category><![CDATA[Vargant]]></category>
		<category><![CDATA[symlinks]]></category>
		<category><![CDATA[vagrant]]></category>
		<category><![CDATA[vvv]]></category>
		<category><![CDATA[wordpress]]></category>
		<guid isPermaLink="false">https://marichal.blog/?p=115</guid>

					<description><![CDATA[Configure symlinks on a VVV environment.]]></description>
										<content:encoded><![CDATA[
<p>Trying to use outside symlinks in a WordPress environment can be a headache. </p>



<p>If you are using VVV and want to create a symlink (for example, in order to have your plugins folder outside the Vagrant installation), the following is a way to do it.</p>



<p>Go to your <code>./Vagrantfile</code> and add the following code:</p>



<pre class="wp-block-preformatted">if vagrant_version &gt;= "1.3.0"
   config.vm.synced_folder "/Users/path/to/your/plugins/folder/", "/srv/www/wordpress-one/wp-content/plugins", :owner =&gt; "www-data", :mount_options =&gt; [ "dmode=775", "fmode=774" ]
 else
   config.vm.synced_folder "/Users/path/to/your/plugins/folder/", "/srv/www/wordpress-one/wp-content/plugins", :owner =&gt; "www-data", :extra =&gt; 'dmode=775,fmode=774'
 end</pre>



<h3 class="wp-block-heading">Details:</h3>



<ul class="wp-block-list"><li>In the <code>./Vagrantfile</code> you should use the param: <a href="https://www.vagrantup.com/docs/synced-folders/basic_usage.html">config.vm.synced_folder</a></li><li>The first path should point to the folder where you want to keep your plugins</li><li>The second path should point to the <code>Vagrant</code> folder that has the plugins</li></ul>
]]></content:encoded>
					
					<wfw:commentRss>https://marichal.blog/symlinks-on-vvv/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">115</post-id>	</item>
	</channel>
</rss>
