i have without any success tried hard to get python
scripts running under apache on windows using fastcgi.
it is totally unclear to me what role the adaption
script http://alldunn.com/python/fcgi.py plays, or
exactly what directives i have to use in which places.
given the promises of fastcgi, its wide deployment and
good standing, this is sort of, well, disappointing. can
anyone substantially help here? my suspicion is that
fcgi.py will not run under windows at all, because the
modified version of the same script deployed with
quixote says, on lines 380ff, "This function won't work
on Windows at all." What can i do?
helplessly,
_wolf 1 2099
err, embarisingly, my reply seems to be atatched to the wrong thread.
see reply to post on 21st with subject Tkinter: Clipping a canvas text
item.
soz ca****@snafu.de (wolf) wrote in message news:<6f******* *************** ****@posting.go ogle.com>... i have without any success tried hard to get python scripts running under apache on windows using fastcgi. it is totally unclear to me what role the adaption script http://alldunn.com/python/fcgi.py plays, or exactly what directives i have to use in which places. given the promises of fastcgi, its wide deployment and good standing, this is sort of, well, disappointing. can anyone substantially help here? my suspicion is that fcgi.py will not run under windows at all, because the modified version of the same script deployed with quixote says, on lines 380ff, "This function won't work on Windows at all." What can i do?
helplessly,
_wolf This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Henri Vilminko |
last post by:
I installed the Zend PHP enabler for Sun ONE Web Server which is
basically a wrapper to run PHP in fastcgi mode. The interpreter runs
fine but there's one nasty problem: PHP doesn't use the PHPRC
environment variable I set in the config to assign each virtual server a
different php.ini file. phpinfo() shows PHPRC correctly among the
environment vars but for some reason PHP uses the default compiled-in
ini path anyway. Any ideas what might...
|
by: Adam Szendzielorz |
last post by:
Hello!
I'm searching patch for Apache SuEXEC (1.3.*) which get me gate to work PHP
(compiled with --enable-fastcgi) with mod_fastcgi. SuEXEC check owner/group
of script before run script, i don't want this! I have this configuration:
httpd.conf:
LoadModule fastcgi_module libexec/mod_fastcgi.so
|
by: Peter Otten |
last post by:
Is there a way to limit both width and height of a canvas text item?
My current workaround seems clumsy:
import Tkinter as tk
root = tk.Tk()
canvas = tk.Canvas(root, width=400, height=200, bg="white")
canvas.pack()
# simulate a clipped text item - never transparent :-(
s = "The long and winding road.."
|
by: venkatbo |
last post by:
Hi folks,
I'm trying to get lighttpd, fastcgi & python working on a 2.4.21.x i686
linux system. I tried following the steps in:
http://www.cleverdevil.org/computing/24/python-fastcgi-wsgi-and-lighttpd
Some of the lighttpd.conf setting are slightly different from those in
that article - fixing some erros in the original and accounting for
some change in entry formats itself.
|
by: Joshua Ruppert |
last post by:
When I'm using FastCGI do I need to code differently than I do when
using regular CGI? Because the PHP.exe processes don't go away do
global variables stick around from page request to page request,
creating the need for better managment / pooling of DB connections?
Josh
| |
by: Vincent Delporte |
last post by:
Hello
I'm interested in hearing reflections by seasoned web app
developpers about the different ways to write PHP apps, and especially
how they compare in terms of performance, whether it's the PHP part or
connections to MySQL.
As far as I know, there are different ways to write a PHP application:
- CGI, ie. the usual way : some PHP code in web pages, and the PHP
interpreter is loaded each time a PHP page is called
|
by: ebeard |
last post by:
I have replaced apache with nginx and now run php in FASTCGI server
mode like this:
PHP_FCGI_CHILDREN=6 php -b 127.0.0.1:9086 -c /my/php/ini/path
nginx reverse proxies to php and this works great!
Now I want to monitor the php processes using monit but it requires a
pid file. Here's the question. How do I generate these pid files? I
would like them to be /var/run and be in the form of:
|
by: Drew |
last post by:
Microsoft's IIS server recently added native support for FastCGI. The
big roadblock to Python support seems to be that socket.fromfd()
doesn't work on Windows.
Are there any plans to add this or similar functionality to the
Windows build?
Thanks,
Drew
|
by: turnstyle |
last post by:
Hi all, I seem to be having some weird problems with PHP on IIS7, and
now I wonder -- is anybody here running PHP on IIS7?
Thanks! -Scott
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |