<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Setting up Notepad++ to run PHP under WAMP]]></title><description><![CDATA[<p dir="auto">Setting up Notepad++ to run PHP under WAMP</p>
<p dir="auto">I am using WAMP server and have installed my php files in subdirectories under the localhost directory in the WAMP directory. When I create or edit a php file in Notepad++ and try and Launch in Chrome all I see is the text of the php file, I can’t get it to run the PHP code.</p>
<p dir="auto">The URL is pointing to the file…<br />
file:///C:/wamp64/www/lindaphp/introduction/config.php</p>
<p dir="auto">The only way I can get the code to run in the browser is to specify the path…<br />
<a href="http://localhost/lindaphp/introduction/config.php" rel="nofollow ugc">http://localhost/lindaphp/introduction/config.php</a></p>
<p dir="auto">How do I get Notepad++ to correctly launch the PHP file regardless of what directory it is in, under the localhost?</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/11507/setting-up-notepad-to-run-php-under-wamp</link><generator>RSS for Node</generator><lastBuildDate>Sun, 06 Sep 2026 05:39:17 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/11507.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 24 Mar 2016 11:18:49 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Setting up Notepad++ to run PHP under WAMP on Thu, 24 Mar 2016 16:27:40 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/fergus-flanagan" aria-label="Profile: Fergus-Flanagan">@<bdi>Fergus-Flanagan</bdi></a>,</p>
<p dir="auto">you can use the run menu or a plugin named nppExec (which I prefer as it has better options) and call<br />
the browser of your choice like so</p>
<pre><code>INSTALLATION_PATH\YOUR_BROWSER.exe http://localhost…/$(FILE_NAME)
</code></pre>
<p dir="auto">where $(FILE_NAME) is the current file open. You need to provide this variable, don’t replace it.<br />
… of course is the path you configured.</p>
<p dir="auto">Cheers<br />
Claudia</p>
]]></description><link>https://community.notepad-plus-plus.org/post/14882</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/14882</guid><dc:creator><![CDATA[Claudia Frank]]></dc:creator><pubDate>Thu, 24 Mar 2016 16:27:40 GMT</pubDate></item></channel></rss>