473,396 Members | 1,989 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Installation problem

Hello!
Trying to install cgi PHP 4.3.4 on my win98 computer, I am stuck. When
applying php.exe to a file test.php containing '<?php phpinfo();?>' via
the command line, it produces the desired result. But when I try to
access the same script via the browser (IE5), it just shows "No input
file specified." I am using a simple python script as webserver (using a
slightly modified version of CGIHTTPRequestHandler.py), which calls 'php
test.php ""' and does not detect any error. I also tried Xitami, which
gives the same result ("No input file specified.").

What am I doing wrong?

Any help is appreciated, kind regards,
Karsten.

--
The email above is not in use, please write to k dot weinert at gmx dot net.
Jul 17 '05 #1
2 1589
Karsten Weinert wrote:
Hello!
Trying to install cgi PHP 4.3.4 on my win98 computer, I am stuck. When
applying php.exe to a file test.php containing '<?php phpinfo();?>' via
the command line, it produces the desired result. But when I try to
access the same script via the browser (IE5), it just shows "No input
file specified." I am using a simple python script as webserver (using a
slightly modified version of CGIHTTPRequestHandler.py), which calls 'php
test.php ""' and does not detect any error. I also tried Xitami, which
gives the same result ("No input file specified.").

What am I doing wrong?


I would *guess* the problem is with your simple python script webserver
- I've not heard of it - Are you sure PHP is supported under it? You
might find yourself with more trouble than its worth trying to configure
it - Why not install Apache with PHP? I had it running on my
win98/266mhz laptop with 96mb of ram, with mysql and dreamweaver and it
ran fine'ish (a little slow but it was for my own development, not as a
webserver).
Jul 17 '05 #2
Reply Via Newsgroup <re****************@please.com> wrote in message news:<smx4c.791757$ts4.399892@pd7tw3no>...
I would *guess* the problem is with your simple python script webserver
- I've not heard of it - Are you sure PHP is supported under it? You
might find yourself with more trouble than its worth trying to configure
it - Why not install Apache with PHP? I had it running on my
win98/266mhz laptop with 96mb of ram, with mysql and dreamweaver and it
ran fine'ish (a little slow but it was for my own development, not as a
webserver).


Hello,
finally I found my mistake. I missed to set doc_root in php.ini correctly.

I think some day I will switch to Apache, but for now this simple script is O.K.

Kind regards,
Karsten.
Jul 17 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Rob Brown | last post by:
I put together an installation program and it works great the first time. The problem I have is that we want the users to be able to rerun the installation without needing to uninstall the older...
0
by: MichaƂ Januszczyk | last post by:
Hello. I've got the following problem: I created a windows installer project that installs my application. The application works with some files. I want to include some example files with the...
1
by: 3f | last post by:
Hello; We have made a web application that people can download from our web site and installed on: Windows XP Windows 2000 Professional Windows 2003 Server Windows 2000 Server
2
by: mb12036 | last post by:
All- Having a problem installing a DB2 client on a machine running AIX version 5.0. Client appeared to install one time succesfully, then was uninstalled and a reinstall was attempted. For...
2
by: news.symantec.com | last post by:
Hi All, I'm trying to install DB2 Enterprise Edition 8.1 (partitioned installation) onto a clean Win 2k SP4 advanced server box. The problem is the partitioned installation requires a "Domain...
4
by: Will Honea | last post by:
Wanting to look at V9, I attempted to install Db2 Express-C on a Suse Linux box I use as a sandbox. Since I was less that thorough when removing previous installations of V8 and V7, the...
4
by: James | last post by:
I am going to install DB2 version 9 on Windows XP workstation. But I can not continue the installation after I issue the command "setup /i en". System shows me that "A major error occoured while...
2
by: =?Utf-8?B?R3JlZw==?= | last post by:
I have no idea where to post this question, or even if its appropriate for me to post it here. I don't know if installing a VB.Net program has caused the problem I'm having or not. All I know is I...
0
by: Now You Know | last post by:
Best Christmas Lights Decoration Sale Installation in Los Angeles 818-386-1022 (These types of Innovative lights will definetly add to your Christmas decor) Here are the tips to use: The most...
0
by: Now You Know | last post by:
Best Christmas Lights Decoration Sale Installation in Los Angeles 818-386-1022 (These types of Innovative lights will definetly add to your Christmas decor) Here are the tips to use: The most...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
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,...
0
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
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...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.