Pre-installation Requirements1. Java2. PythonSteps1. Download Latest version of Tomcat (Tomcat 7) fromhttp://tomcat.apache.org/download-70.cgi2. After successful installation of Tomcat modify the Web file in theUncomment the CGI servlet and its mapping3. Add an servlet parameter "Passshellenvironment" and set it to "true" ("Force" the environment variables to be passed)4. Add an servlet parameter "executable"The overall
should be no space in front, followed by the interpreter;Second, the directory of the interpreter program such as Python is correct;Thirdly, as the requirements of HTTP protocol, we must output HTTP headers;Four, in the presence of HTTP headers, it is important to print a blank line behind the headers, or the server will error;Five, the wrong program in the Python idle execution, verify correctness;Finally, in case of uncertainty, look at the Error.log file under Apache's Logs folder to determi
Now that you've installed 2.6 of Python and support 2.6 of ERIC4, you don't want to reinstall 2.5来 to continue configuring Apache Mod_python.
Later, I found an article running Python as CGI in Apache in Windows, which tells you to run Python script in the CGI mode instead of Mod_python. And this python for Windows.
T
is almost the final point, and everything is going well! Next, configure CGI. The configuration in Linux will not work. I don't know if it will work well today? First install Perl (ActivePerl-5.6.1.635-MSWin32-x86, now address: http://downloads.activestate.com/ActivePerl/Windows/5.6/ActivePerl-5.6.1.635-MSWin32-x86.zip), the installation process is very simple, open installer. BAT: Set the installation pat
Build a perfect server platform in Windows (APACHE + JSP + CGI + PHP + ASP + MYSQL)
Author: Ziqi [EST]Information Source: evil
You need to download several software packages:1. php-5.0.2-Win322. apache_2.0.52-win32-x86-no_ssl3. mysql-5.0.1-alpha-snapshot-win4. iASP2.1.015. jakarta-tomcat-4.1.317. j2sdk-1_4_2-windows-i586PhpMyAdmin-2.6.0-pl29. ActivePerl-5.8.4.810
Now there are more and more personal home owners who need to know how to configure their own php,cgi servers under Windows system to facilitate local debugging of CGI and PHP programs.
We can do this in Apache (Windows version): Here's my own article about installing and configuring Apache Server in a stand-alone
Now, because Python 2.6 is installed and eric4 2.6 is supported, you do not want to reinstall 2.5 to configure mod_python under Apache.
Later I found an articleArticleRunning python as CGI in Apache in Windows describes how to use the CGI Mode instead of mod_python to run Python scripts. This article also describes python for
Under the IIS6 environmentMSI installation release the next step Next, and then create a new extension.Compress Package EditionISAPI Mode configurationPHP5.3.0 does not support ISAPI later, so you will need to select 5.3.0 Previous TS (thread safe) version to use this mode.1. Add the application. The php suffix executable file path is the PHP directory under the Php5isapi.dll (5.X version for this file) file.2. Allow PHP extensions in Web Service extensions: Create a new extension (typically cal
The Windows php-cgi process automatically shuts down after processing a certain number of accesses, and since there is no way to directly allow the php-cgi process to support more access, it is only possible to start multiple processes to meet the requirements.XXFPM is an executable program that can start multiple php-cgi
Things passed: Download PHP 7.0 and then run, found that php-cgi has been hanging off, start not up. I directly to the folder start php-cgi boot, failure, error hint: missing Vcruntime140.dll.At that time the heart secretly a smile, when playing single-machine when not often appear this bug, go to Baidu, script home under a corresponding DLL, put to the system directory, 64-bit put to C:\
/{# root HTML;# index index.html index.htm;# }#}}3. Double-click Nginx.exe to start, OK4. Attach bat for closing process@echo offecho Stopping Nginx ...taskkill/f/im nginx.exe > nulecho Stopping PHP FastCGI ...taskkill/f/im php-cgi.exe > nulExit5. Start Web_runat.vbsFunction process (name)Process = FalseDim O, A, ISet o = GetObject ("winmgmts:")Set a = o.instancesof ("Win32_Process")For each i in aIf InStr (UCase (name), UCase (i.description)) Process = TrueExit forEnd IfNextSet A = NothingSet o
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.