<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:10pt"><div><span>No it's not a module. Drupal (application) is calling python scripts via exec ...</span></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;"><span>This is a localhost. Both python versions are installed on the server, server is pointing to python2.7 and application to python2.4. I need to figure out where this is set. Which file/path???<br></span></div><div><br></div> <div style="font-family: arial, helvetica, sans-serif; font-size: 10pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <hr size="1"> <font face="Arial" size="2"> <b><span style="font-weight:bold;">From:</span></b> Jamie Holly <hovercrafter@earthlink.net><br> <b><span style="font-weight:
bold;">To:</span></b> support@drupal.org <br> <b><span style="font-weight: bold;">Sent:</span></b> Monday, May 20, 2013 6:05 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [support] drupal6 and python<br> </font> </div> <div class="y_msg_container"><br><div id="yiv7721510632">
<div>
<div class="yiv7721510632moz-cite-prefix">Where did the Python come from? Is it
in some custom module or contributed module? <br>
<br>
How is it being called? Is it just requested through the
webserver, or is Drupal calling it via an exec?<br>
<br>
As Walt said, you're hosting company may have changed versions.
There are numerous ways to set servers up to handle multiple
versions of Python, so you're best bet is to contact your host. <br>
<pre class="yiv7721510632moz-signature">Jamie Holly
<a rel="nofollow" class="yiv7721510632moz-txt-link-freetext" target="_blank" href="http://www.intoxination.net/">http://www.intoxination.net</a>
<a rel="nofollow" class="yiv7721510632moz-txt-link-freetext" target="_blank" href="http://www.hollyit.net/">http://www.hollyit.net</a></pre>
On 5/20/2013 8:33 PM, Katy Mozafar wrote:<br>
</div>
<blockquote type="cite">
<div style="color:#000;background-color:#fff;font-family:arial, helvetica, sans-serif;font-size:10pt;">In addition to PHP the
application is using Python also. It was using Python2.7 and
everything fine. All of a sudden the application is using
python2.4???<br>
I need to figure out where the python version is set, what file?
Does Drupal set it or Apache or PHP???<br>
<br>
Thanks, Katy
<div><br>
</div>
<div style="font-family:arial, helvetica, sans-serif;font-size:10pt;">
<div style="font-family:times new roman, new york, times, serif;font-size:12pt;">
<div dir="ltr">
<hr size="1"> <font face="Arial" size="2"> <b><span style="font-weight:bold;">From:</span></b> Walt
Daniels <a rel="nofollow" class="yiv7721510632moz-txt-link-rfc2396E" ymailto="mailto:wdlists@gmail.com" target="_blank" href="mailto:wdlists@gmail.com"><wdlists@gmail.com></a><br>
<b><span style="font-weight:bold;">To:</span></b>
<a rel="nofollow" class="yiv7721510632moz-txt-link-rfc2396E" ymailto="mailto:support@drupal.org" target="_blank" href="mailto:support@drupal.org">"support@drupal.org"</a> <a rel="nofollow" class="yiv7721510632moz-txt-link-rfc2396E" ymailto="mailto:support@drupal.org" target="_blank" href="mailto:support@drupal.org"><support@drupal.org></a>; Katy
Mozafar <a rel="nofollow" class="yiv7721510632moz-txt-link-rfc2396E" ymailto="mailto:katy_mozafar@yahoo.com" target="_blank" href="mailto:katy_mozafar@yahoo.com"><katy_mozafar@yahoo.com></a> <br>
<b><span style="font-weight:bold;">Sent:</span></b>
Monday, May 20, 2013 5:28 PM<br>
<b><span style="font-weight:bold;">Subject:</span></b>
Re: [support] drupal6 and python<br>
</font> </div>
<div class="yiv7721510632y_msg_container"><br>
<div id="yiv7721510632">
<div dir="ltr">Drupal uses PHP not Python. The versions
numbers are whatever your web host provides. So
perhaps your web host changed versions. </div>
<div class="yiv7721510632gmail_extra"><br>
<br>
<div class="yiv7721510632gmail_quote">On Mon, May 20,
2013 at 8:23 PM, Katy Mozafar <span dir="ltr"><<a rel="nofollow" ymailto="mailto:katy_mozafar@yahoo.com" target="_blank" href="mailto:katy_mozafar@yahoo.com">katy_mozafar@yahoo.com</a>></span>
wrote:<br>
<blockquote class="yiv7721510632gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div>
<div style="font-size:10pt;font-family:arial, helvetica, sans-serif;">
<div>I have a problem in Drupal 6!<br>
I'm using Python and all of a sudden the
application is pointing to a different
version of python. It used to be python2.7,
now the application is pointed to python2.4
and it causes errors. I haven't changed
anything! The server is pointing to 2.7,
it's only the application. Do you have any
idea where it's set, which file? It's a
linux machine and uses LAMP.</div>
<div style="font-style:normal;font-size:13.3333px;background-color:transparent;font-family:arial, helvetica, sans-serif;"><br>
</div>
<div style="font-style:normal;font-size:13.3333px;background-color:transparent;font-family:arial, helvetica, sans-serif;">
Thanks, Katy<br>
</div>
</div>
</div>
<br>
--<br>
[ Drupal support list | <a rel="nofollow" target="_blank" href="http://lists.drupal.org/">http://lists.drupal.org/</a>
]<br>
</blockquote>
</div>
<br>
</div>
</div>
<br>
<br>
</div>
</div>
</div>
</div>
<br>
<fieldset class="yiv7721510632mimeAttachmentHeader"></fieldset>
<br>
</blockquote>
<br>
</div>
</div><br>-- <br>[ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/ </a>]<br><br></div> </div> </div> </div></body></html>