34 messages in com.mysql.lists.win32Re: Mysql-ok,Apache-oh,Php-Hmmmmmmmm
FromSent OnAttachments
chr...@netborders.com03 May 2001 18:09 
Chris03 May 2001 19:20 
Danny Katcher04 May 2001 04:48 
Chris04 May 2001 06:56 
Chris04 May 2001 07:29 
leo g. divinagracia iii04 May 2001 11:53 
Chris04 May 2001 13:08 
leo g. divinagracia iii04 May 2001 13:39 
Chris04 May 2001 14:32 
Bill Koob05 May 2001 04:59 
Chris05 May 2001 05:29 
Patrick L. Olson05 May 2001 05:30 
Chris05 May 2001 05:35 
Chris05 May 2001 05:55 
Chris05 May 2001 08:40 
Chris05 May 2001 09:08 
Chris05 May 2001 12:59 
Chris05 May 2001 15:02 
Chris05 May 2001 15:20 
Chris05 May 2001 15:31 
Chris05 May 2001 17:55 
rjones05 May 2001 18:56 
Chris06 May 2001 02:24 
Chris06 May 2001 06:39 
Chris06 May 2001 06:59 
Walter Bertin06 May 2001 07:22 
Jacob Bezemer06 May 2001 08:35 
Jacob Bezemer06 May 2001 08:37 
Rene Tegel06 May 2001 09:01 
Rene Tegel06 May 2001 09:10 
Rene Tegel06 May 2001 09:40 
Kev06 May 2001 19:35 
Patrick L. Olson06 May 2001 22:17 
Rene Tegel07 May 2001 04:51 
Subject:Re: Mysql-ok,Apache-oh,Php-Hmmmmmmmm
From:Rene Tegel (teg@dubaron.com)
Date:05/07/2001 04:51:54 AM
List:com.mysql.lists.win32

Chris,

you really should check after your odbc drivers,
http://www.microsoft.com/data/odbc/ from downloads pick the newest suitable mdac components, they include everything
including newest odbc dll stuff.

then after installing, check if you can run php.exe without errors...

Maybe if you'd tried to install stuff an another (w98?) box, you probably have
had more luck.

after examining your mail, i think you configured things right. your browser
sais 'document contains no data' cause php.exe crashes, and thus returnes no
data. i apologize for suggesting you misconfigured stuff...

leave a message on the lists if you succeeded installing :)

gl

rene

On Sun, 6 May 2001 13:39:34 GMT Chris <chr@netborders.com> wrote:

The route to current state:- From the dos prompt...

C:\php4>Php phpinfo.php4 > me.htm

Same as before when pressing enter after above I get that pop-up window about the ODBC resource DLL (C:\WINDOWS\SYSTEM\ODBCINT.DLL)is a different version than.......You need to reinstall ........blah

But in addition this time when browsing to the .htm file in C:\php4 instead of getting a pop-up saying 'document contains no data' I get the following:

X-Powered-By: PHP/4.0.0 Content-type: text/html Fatal error: Unable to open phpinfo.php4 in Unknown on line 0

We progress then - albeit slowly! WHAT NEXT? Although I had php4 mentioned in .ini file I did not have doc_root =c:\apache\htdocs\ and extension_dir =c:\php4\ typed in proper way but do now thank you thank you. I take it that this is the reason that the me.htm doc actually contained data this time - Y/N?

SILLY QUESTION: above says apache in C:\ how this works? when my apache in C:\Program files\Apache Group\etc.. - therefore is full path needed Y/N? Sorry, I suppose me.htm wouldn't have worked this time if =c:\apache\htdocs\ was wrong.

NOTE to anyone: I have 2 files in htdocs, 1 is a .php another is a .php4 neither work, BUT when I use: http:localhost/something.php the browser sits and sleeps when I use: http:localhost/something.php4 the browser throws up the code thats in the file but does not actually display properly. Out of interest when I finally get Php to work should I make extensions .php or .php4 or will it work with either?

So The following is what is in http.conf and maybe I need to add .php4 as well - Y/N?

AddType application/x-httpd-php .phtml .php

I was led to believe that only .php was needed, but then I'm easily led!

My sons are out playing golf and I'm stuck in here on a Sunday trying to get php to work? Should get my priorities right!

PS Is it important to sort the Apache not shutting down problem before continuing with trying to get php to work? If so, Anyone out there......