473,386 Members | 1,810 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,386 software developers and data experts.

Win98 + Apache 1.3.up + PHP 4.3.up something wrong

Hi

I been first times setup. So Who have experience the Win98 + Apache + php
(not run PWS or IIS)

I begin download and installed the Apache. I test the run is working on
browser (http://localhost) show the apache page.

But Apache Console Running under the DOS Window say :-
=====================================
[Thu Nov 20 15:13:49 2003] [warn] (2)No such file or
directory: exec() may not be safe
Apache/1.3.29 (Win32) running...
=====================================

I expect that it.

So, I shall the php installer from download. I try changed the httpd.conf
under the Apache directory. Restart Apaches Console.

I testing the (http://localhost/test.php), show error page say "HTTP -
Error 400 Bad Request" also "HTTP - Error 404 Not found"

I have tried times.... But unknown....
Apaches Directory - c:\apache\apaches\*.*
PHP Directory - c:\apache\apaches\phpwin32\*.*
httd.conf -: (was add the line)
ScriptAlias /php/ "C:/Apache/Apache/phpwin32/"
AddType application/x-httpd-php .php
AddType application/x-httpd-php .phtml
Action application/x-httpd-php "/php.exe"
I didn't change php.ini yet

I copy and paste the "php4ts.dll" under to C:\window\system from PHP
What I have done that above ?


Jul 17 '05 #1
5 2787
DrWizard wrote:
Hi

I been first times setup. So Who have experience the Win98 + Apache + php
(not run PWS or IIS)

I begin download and installed the Apache. I test the run is working on
browser (http://localhost) show the apache page.

But Apache Console Running under the DOS Window say :-
=====================================
[Thu Nov 20 15:13:49 2003] [warn] (2)No such file or
directory: exec() may not be safe
Apache/1.3.29 (Win32) running...
=====================================

I expect that it.

So, I shall the php installer from download. I try changed the
httpd.conf
under the Apache directory. Restart Apaches Console.

I testing the (http://localhost/test.php), show error page say "HTTP -
Error 400 Bad Request" also "HTTP - Error 404 Not found"

I have tried times.... But unknown....
Apaches Directory - c:\apache\apaches\*.*
PHP Directory - c:\apache\apaches\phpwin32\*.*
httd.conf -: (was add the line)
ScriptAlias /php/ "C:/Apache/Apache/phpwin32/"
AddType application/x-httpd-php .php
AddType application/x-httpd-php .phtml
Action application/x-httpd-php "/php.exe"
I didn't change php.ini yet

I copy and paste the "php4ts.dll" under to C:\window\system from PHP
What I have done that above ?


Basic question:
Did you create a "test.php"?
Jul 17 '05 #2
> Basic question:
Did you create a "test.php"?


Oh Well, I download from PHP Website some test. I have tested is not
working
Jul 17 '05 #3
DrWizard wrote:
Basic question:
Did you create a "test.php"?

Oh Well, I download from PHP Website some test. I have tested is not
working


now for some answers from an ol' pro at getting this stuff set up. first
of all, you're using the php cgi executable. that's generally a bad
idea, use the installation help file and SET IT UP AS A MODULE. that
will get your test.php working. second, that exec() thing, i'm having
the same problem on all the '98 machines i install apache on, it works
fine on the xp machine i'm on now. i'd like an answer too, cause it bugs
the crap outta me every time i start up apache!

Jul 17 '05 #4
Anonymous wrote:
DrWizard wrote:
Basic question:
Did you create a "test.php"?


Oh Well, I download from PHP Website some test. I have tested is not
working


now for some answers from an ol' pro at getting this stuff set up. first
of all, you're using the php cgi executable. that's generally a bad
idea, use the installation help file and SET IT UP AS A MODULE. that
will get your test.php working. second, that exec() thing, i'm having
the same problem on all the '98 machines i install apache on, it works
fine on the xp machine i'm on now. i'd like an answer too, cause it bugs
the crap outta me every time i start up apache!


and also, if you delete all that stuff you added for php in httpd.conf,
here's the config you should have where C:\ or C:/PHP is where php is
installed:

LoadModule php4_module C:/PHP/sapi/php4apache.dll
AddModule mod_php4.c
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps

Jul 17 '05 #5
also, view your test.php file in a text editor and make sure the code
is as expected. i had the same problem and found the actual
downloaded code was different than advertised. when i put in the
expected code, it worked fine.

Anonymous <an*******@isp.com> wrote in message news:<y0mAb.314423$9E1.1567955@attbi_s52>...
Anonymous wrote:
DrWizard wrote:
Basic question:
Did you create a "test.php"?

Oh Well, I download from PHP Website some test. I have tested is not
working


now for some answers from an ol' pro at getting this stuff set up. first
of all, you're using the php cgi executable. that's generally a bad
idea, use the installation help file and SET IT UP AS A MODULE. that
will get your test.php working. second, that exec() thing, i'm having
the same problem on all the '98 machines i install apache on, it works
fine on the xp machine i'm on now. i'd like an answer too, cause it bugs
the crap outta me every time i start up apache!


and also, if you delete all that stuff you added for php in httpd.conf,
here's the config you should have where C:\ or C:/PHP is where php is
installed:

LoadModule php4_module C:/PHP/sapi/php4apache.dll
AddModule mod_php4.c
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps

Jul 17 '05 #6

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

Similar topics

3
by: Jeff Skeith | last post by:
i'm following this tutorial http://internetmaster.com/installtutorial/download_php.htm i downloaded apache and got the test page on http://localhost:8080. i followed their php instructions...
0
by: Perttu Pulkkinen | last post by:
I tried to install php as apache module. Previously it has been cgi. WIn 98 is not supported but cgi worked fine, anyway. I tried to everything according to instructions in php.net, but still...
2
by: NevrGivUp | last post by:
Hello. I am in the process of learning php. I am particularly interested in its uses with MySQL. I have Apache 2 and PHP5 both installed and working fine. I pasted a MySQLi example for opening...
1
by: Peter Maas | last post by:
Some days ago I installed Apache 2.0.50 on my Win98SE computer. Apache worked fine but Python ceased to work. There is a message "The MSVCRT.dll file is linked to missing export NTDLL.dll:...
0
by: Kurt Behn | last post by:
I'm trying to use the following html/css to create a box with a left side and a right side. It's not complicated and it works well in several versions of IE on Win2k and Win98 and Opera 7.11 on...
6
by: Andrzej | last post by:
Used to read newsgroup for answers, now have to ask for them as well. I have an application (C#, .NET 1.1) that connects to local db on MSDE 2000 SP3a (using ADO from MDAC 2.71) on one side and...
1
by: Jodi Wedll | last post by:
I am attempting to deploy my .Net Application from my WinXP development machine to production systems based upon WinNT and Win98. I believe that it is mostly working except for code relating to the...
9
by: Matt Helm | last post by:
I am starting the design phase of a large project (ERP) where the backend will mostly be Python (or Ruby) providing web services. In this type of usage, is there any benenfit to running under...
3
by: long eddy | last post by:
Greetings, I'm using an old computer - Win 98. I'd like to install php/apache/mySql on it but there are many versions and some do not recommend installing on Win98. If somebody could point me...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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
Oralloy
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.