<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://community.activestate.com" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>ActiveState Community Site - linux - Comments</title>
 <link>http://community.activestate.com/tags/linux</link>
 <description>Comments for &quot;linux&quot;</description>
 <language>en</language>
<item>
 <title>Comment out doc_root line in php.ini</title>
 <link>http://community.activestate.com/faq/cgi-debugging-no-input-fi#comment-5662</link>
 <description>&lt;p&gt;It looks like doc_root setting in the php.ini bundled with Web Developer Suite 2.0 causes problems for the remote debugger. Comment out that line in c:\www\php5\debug\php.ini and it should work.&lt;/p&gt;
&lt;p&gt;Thanks for bringing this to our attention! We&#039;ll create a bug for Komodo to handle this better and mention it in the release notes, but it&#039;s unlikely to be fixed in time for the 4.4 release.&lt;/p&gt;
</description>
 <pubDate>Thu, 12 Jun 2008 13:48:55 -0700</pubDate>
 <dc:creator>troyt</dc:creator>
 <guid isPermaLink="false">comment 5662 at http://community.activestate.com</guid>
</item>
<item>
 <title>Re: try latest Komodo (4.3.2)</title>
 <link>http://community.activestate.com/faq/cgi-debugging-no-input-fi#comment-5640</link>
 <description>&lt;p&gt;Thanks for the help Todd.  &lt;/p&gt;
&lt;p&gt;I&#039;m using:&lt;/p&gt;
&lt;p&gt;Komodo IDE, version 4.4.0-beta1, build 19400, platform win32-x86.&lt;br /&gt;
Built on Fri May 30 02:25:59 2008.&lt;/p&gt;
&lt;p&gt;Web Developer Suite 2.0 which includes Apache 2.2 and PHP 5.2.5&lt;br /&gt;
&lt;a href=&quot;http://sourceforge.net/projects/webdeveloper/&quot; title=&quot;http://sourceforge.net/projects/webdeveloper/&quot;&gt;http://sourceforge.net/projects/webdeveloper/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Preferences, PHP Language:&lt;/p&gt;
&lt;p&gt;Interpreter: c:\www\php5\php.exe&lt;br /&gt;
php.ini:  c:\www\php5\debug&lt;/p&gt;
&lt;p&gt;I also tested with c:\www\php5\php-cgi.exe and received the same results.&lt;/p&gt;
&lt;p&gt;the debug\php.ini was created during installation of Komodo.  It&#039;s the default php.ini with the following prepended from Komodo:&lt;/p&gt;
&lt;p&gt;; xdebug config added by Komodo&lt;br /&gt;
zend_extension_ts=C:\www\php5\ext\php_xdebug.dll&lt;br /&gt;
xdebug.remote_enable=1&lt;br /&gt;
xdebug.remote_handler=dbgp&lt;br /&gt;
xdebug.remote_mode=req&lt;br /&gt;
xdebug.remote_port=9000&lt;br /&gt;
cgi.force_redirect = 0&lt;/p&gt;
&lt;p&gt;I verified that those parameters are commented out everywhere else in the php.ini file.&lt;/p&gt;
&lt;p&gt;Choosing Debug -&amp;gt; Go/Continue:&lt;/p&gt;
&lt;p&gt;I choose &quot;Use the CGI interpreter&quot;&lt;/p&gt;
&lt;p&gt;I check &quot;Simulate CGI Environment&quot;&lt;/p&gt;
&lt;p&gt;and I add the post values according to the debugging PHP tutorial / demo.&lt;/p&gt;
&lt;p&gt;It works if I choose &quot;Use the CLI interpreter&quot;, but then it doesn&#039;t allow me to specify the post variables.&lt;/p&gt;
&lt;p&gt;The only thing I can think to add at this point (in case it helps) is a copy of the php.ini along with lists of extensions enabled in php.&lt;/p&gt;
</description>
 <pubDate>Tue, 10 Jun 2008 17:51:29 -0700</pubDate>
 <dc:creator>osmosis</dc:creator>
 <guid isPermaLink="false">comment 5640 at http://community.activestate.com</guid>
</item>
<item>
 <title>Re: try latest Komodo (4.3.2)</title>
 <link>http://community.activestate.com/faq/cgi-debugging-no-input-fi#comment-5629</link>
 <description>&lt;p&gt;Can you try using Komodo 4.3.2 or the Komodo 4.4 beta:&lt;br /&gt;
&lt;a href=&quot;http://downloads.activestate.com/Komodo/releases/&quot; title=&quot;http://downloads.activestate.com/Komodo/releases/&quot;&gt;http://downloads.activestate.com/Komodo/releases/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;If that does not fix the problem, we&#039;ll need some additional details like:&lt;br /&gt;
* where did you download PHP from&lt;br /&gt;
* how are performing the CGI debugging (through Komodo&#039;s Debug - F5 command)&lt;br /&gt;
* which interpreter is set in your PHP language preferences&lt;/p&gt;
&lt;p&gt;Thanks,&lt;br /&gt;
Todd&lt;/p&gt;
</description>
 <pubDate>Tue, 10 Jun 2008 10:57:00 -0700</pubDate>
 <dc:creator>ToddW</dc:creator>
 <guid isPermaLink="false">comment 5629 at http://community.activestate.com</guid>
</item>
<item>
 <title>any other ideas?</title>
 <link>http://community.activestate.com/faq/cgi-debugging-no-input-fi#comment-5613</link>
 <description>&lt;p&gt;What else could be causing this?  I&#039;ve tried everything above with no luck.&lt;/p&gt;
&lt;p&gt;Komodo 4.3 beta&lt;br /&gt;
PHP 5.2.5&lt;br /&gt;
Windows XP&lt;/p&gt;
&lt;p&gt;The trial period ran out before I had a chance to test cgi debugging, so I installed the beta to extend my trial and finish testing things out...&lt;/p&gt;
</description>
 <pubDate>Mon, 09 Jun 2008 21:54:08 -0700</pubDate>
 <dc:creator>osmosis</dc:creator>
 <guid isPermaLink="false">comment 5613 at http://community.activestate.com</guid>
</item>
<item>
 <title>Todd,
  Your fix worked</title>
 <link>http://community.activestate.com/faq/cgi-debugging-no-input-fi#comment-2403</link>
 <description>&lt;p&gt;Todd,&lt;/p&gt;
&lt;p&gt;  Your fix worked perfectly. Thanks for the prompt response.&lt;/p&gt;
&lt;p&gt;  I assume this has made it&#039;s way into the beta -- which I look forward to participating in once I purchase the IDE. Komodo is, after all, a project worth supporting! ;)&lt;/p&gt;
&lt;p&gt;~ Brice&lt;/p&gt;
</description>
 <pubDate>Tue, 24 Jul 2007 19:35:46 -0700</pubDate>
 <dc:creator>brice</dc:creator>
 <guid isPermaLink="false">comment 2403 at http://community.activestate.com</guid>
</item>
<item>
 <title>Fort a more permanent fix</title>
 <link>http://community.activestate.com/faq/cgi-debugging-no-input-fi#comment-2395</link>
 <description>&lt;p&gt;Open up Komodo file:&lt;br /&gt;
&lt;code class=&quot;geshifilter&quot;&gt;&amp;lt;install_dir&amp;gt;/lib/mozilla/components/koInvokeInterpreters.py&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;At line 600, add another environment flag &quot;SCRIPT_FILENAME&quot; so it looks like:&lt;br /&gt;
&lt;blockcode type=&quot;python&quot;&gt;&lt;br /&gt;
        env[&quot;SCRIPT_NAME&quot;]=scriptName&lt;br /&gt;
        env[&quot;SCRIPT_FILENAME&quot;]=pathTranslated&lt;br /&gt;
        env[&quot;REQUEST_METHOD&quot;]=requestMethod&lt;br /&gt;
&lt;/blockcode&gt;&lt;/p&gt;
&lt;p&gt;Restart komodo and your CGI scripts should debug properly.&lt;/p&gt;
&lt;p&gt;Cheers,&lt;br /&gt;
Todd&lt;/p&gt;
</description>
 <pubDate>Tue, 24 Jul 2007 14:32:00 -0700</pubDate>
 <dc:creator>ToddW</dc:creator>
 <guid isPermaLink="false">comment 2395 at http://community.activestate.com</guid>
</item>
<item>
 <title>Similar Experience</title>
 <link>http://community.activestate.com/faq/cgi-debugging-no-input-fi#comment-2387</link>
 <description>&lt;p&gt;I am having a similar experience under Archlinux (not Ubuntu) using Komodo 4.1.1, build 279677, platform linux-libcpp5-x86. &lt;/p&gt;
&lt;p&gt;Regardless of the cgi.force_redirect setting, I get the &#039;No input file specified&#039; message upon debugging with CGI Emulation. I see that the Debugger Configuration wizard sets cgi.force_redirect to 0 in its &quot;copied&quot; php.ini (along w/ the xdebug reference). &lt;/p&gt;
&lt;p&gt;The only way I found around this issue was to manually set the SCRIPT_FILENAME as a CGI environment variable. Set this to the absolute path of the .php file to be debugged.&lt;/p&gt;
&lt;p&gt;Screenshot: &lt;img src=&quot;http://farm2.static.flickr.com/1419/882417034_53018a8b16_o.png&quot; /&gt; - &lt;a href=&quot;http://farm2.static.flickr.com/1419/882417034_53018a8b16_o.png&quot; title=&quot;http://farm2.static.flickr.com/1419/882417034_53018a8b16_o.png&quot;&gt;http://farm2.static.flickr.com/1419/882417034_53018a8b16_o.png&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Does anyone have other ideas for a fix?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;~ Brice&lt;/p&gt;
</description>
 <pubDate>Mon, 23 Jul 2007 21:56:57 -0700</pubDate>
 <dc:creator>brice</dc:creator>
 <guid isPermaLink="false">comment 2387 at http://community.activestate.com</guid>
</item>
<item>
 <title>this is a dupe</title>
 <link>http://community.activestate.com/faq/komodo-4-on-ubuntu-x86-64#comment-1004</link>
 <description>&lt;p&gt;Just discovered this is mostly a dupe of this FAQ:&lt;br /&gt;
&lt;a href=&quot;http://support.activestate.com/faq/komodo-on-ubuntu-edgy-eft&quot; title=&quot;http://support.activestate.com/faq/komodo-on-ubuntu-edgy-eft&quot;&gt;http://support.activestate.com/faq/komodo-on-ubuntu-edgy-eft&lt;/a&gt;&lt;/p&gt;
</description>
 <pubDate>Thu, 15 Mar 2007 16:09:00 -0700</pubDate>
 <dc:creator>trentm</dc:creator>
 <guid isPermaLink="false">comment 1004 at http://community.activestate.com</guid>
</item>
<item>
 <title>This is because the Ubuntu</title>
 <link>http://community.activestate.com/faq/cgi-debugging-no-input-fi#comment-811</link>
 <description>&lt;p&gt;This is because the Ubuntu PHP is set to discard the script file path and not set SCRIPT_FILENAME in the environment. I have yet to find a magic bullet for this issue when using Ubuntu&#039;s php build. &lt;/p&gt;
&lt;p&gt;--&lt;br /&gt;
JeffG | Komodo IDE 4.0 | MacBook Pro OS X Intel / Ubuntu 6.10 i386&lt;/p&gt;
</description>
 <pubDate>Wed, 28 Feb 2007 16:25:00 -0800</pubDate>
 <dc:creator>jeffg</dc:creator>
 <guid isPermaLink="false">comment 811 at http://community.activestate.com</guid>
</item>
<item>
 <title>still doesn&#039;t work</title>
 <link>http://community.activestate.com/faq/cgi-debugging-no-input-fi#comment-582</link>
 <description>&lt;p&gt;komodo 4.01 on ubuntu 6.10&lt;/p&gt;
&lt;p&gt;I&#039;ve set cgi.force_redirect to 0 on every php.ini on my system, yet I still get &quot;no input file specified&quot; every time I try to run the following script using cgi emulation:&lt;/p&gt;
&lt;div class=&quot;geshi-block&quot;&gt;
&lt;div class=&quot;geshifilter php&quot; style=&quot;font-family: monospace;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;?php&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #0000ff;&quot;&gt;$hr&lt;/span&gt; = &lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;;&lt;br /&gt;
&lt;a href=&quot;http://www.php.net/echo&quot;&gt;&lt;span style=&quot;color: #000066;&quot;&gt;echo&lt;/span&gt;&lt;/a&gt; &lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;$hr&lt;span style=&quot;color: #000099; font-weight: bold;&quot;&gt;\n&lt;/span&gt;&amp;quot;&lt;/span&gt;;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;color: #b1b100;&quot;&gt;if&lt;/span&gt; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;a href=&quot;http://www.php.net/array_key_exists&quot;&gt;&lt;span style=&quot;color: #000066;&quot;&gt;array_key_exists&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #ff0000;&quot;&gt;&#039;foo&#039;&lt;/span&gt;, &lt;span style=&quot;color: #0000ff;&quot;&gt;$_POST&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#123;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &lt;a href=&quot;http://www.php.net/print&quot;&gt;&lt;span style=&quot;color: #000066;&quot;&gt;print&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;_POST[foo]=:&amp;quot;&lt;/span&gt; . &lt;span style=&quot;color: #0000ff;&quot;&gt;$_POST&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span style=&quot;color: #ff0000;&quot;&gt;&#039;foo&#039;&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#93;&lt;/span&gt; . &lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;:$hr&lt;span style=&quot;color: #000099; font-weight: bold;&quot;&gt;\n&lt;/span&gt;&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;;&lt;br /&gt;
&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span style=&quot;color: #b1b100;&quot;&gt;else&lt;/span&gt; &lt;span style=&quot;color: #b1b100;&quot;&gt;if&lt;/span&gt; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;a href=&quot;http://www.php.net/array_key_exists&quot;&gt;&lt;span style=&quot;color: #000066;&quot;&gt;array_key_exists&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #ff0000;&quot;&gt;&#039;foo&#039;&lt;/span&gt;, &lt;span style=&quot;color: #0000ff;&quot;&gt;$_GET&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#123;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &lt;a href=&quot;http://www.php.net/print&quot;&gt;&lt;span style=&quot;color: #000066;&quot;&gt;print&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;_GET[foo]=:&amp;quot;&lt;/span&gt; . &lt;span style=&quot;color: #0000ff;&quot;&gt;$_GET&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span style=&quot;color: #ff0000;&quot;&gt;&#039;foo&#039;&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#93;&lt;/span&gt; . &lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;:$hr&lt;span style=&quot;color: #000099; font-weight: bold;&quot;&gt;\n&lt;/span&gt;&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;;&lt;br /&gt;
&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span style=&quot;color: #b1b100;&quot;&gt;else&lt;/span&gt; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#123;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &lt;a href=&quot;http://www.php.net/print&quot;&gt;&lt;span style=&quot;color: #000066;&quot;&gt;print&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;no foo defined$hr&lt;span style=&quot;color: #000099; font-weight: bold;&quot;&gt;\n&lt;/span&gt;&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;;&lt;br /&gt;
&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#125;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;color: #808080; font-style: italic;&quot;&gt;//phpinfo();&lt;/span&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.php.net/echo&quot;&gt;&lt;span style=&quot;color: #000066;&quot;&gt;echo&lt;/span&gt;&lt;/a&gt; &lt;span style=&quot;color: #0000ff;&quot;&gt;$hr&lt;/span&gt;;&lt;br /&gt;
&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;pre class=&quot;geshi-plain&quot;&gt;&amp;lt;?php
$hr = &amp;quot;&amp;quot;;
echo &amp;quot;$hr\n&amp;quot;;

if (array_key_exists(&#039;foo&#039;, $_POST)) {
  print(&amp;quot;_POST[foo]=:&amp;quot; . $_POST[&#039;foo&#039;] . &amp;quot;:$hr\n&amp;quot;);
} else if (array_key_exists(&#039;foo&#039;, $_GET)) {
  print(&amp;quot;_GET[foo]=:&amp;quot; . $_GET[&#039;foo&#039;] . &amp;quot;:$hr\n&amp;quot;);
} else {
  print(&amp;quot;no foo defined$hr\n&amp;quot;);
}

//phpinfo();
echo $hr;
?&amp;gt;&lt;/pre&gt;&lt;/div&gt;
</description>
 <pubDate>Fri, 09 Feb 2007 07:22:41 -0800</pubDate>
 <dc:creator>Patrick.Hayes@spie.com</dc:creator>
 <guid isPermaLink="false">comment 582 at http://community.activestate.com</guid>
</item>
</channel>
</rss>
