Click to See Complete Forum and Search --> : phpinfo() ver 4.3.1 on Windoze
dar-k
04-17-2003, 05:19 AM
Hey there,
I got something weird going on on my workstation.
I installed PHP 4.3.1 here as a test evironment.
However, whenever I invoke phpinfo(), it outputs plain text.
HTML formatting is nowhere to be found.
Can anyone tell me what's going on, and what I can do about it?
rklapwijk
04-17-2003, 07:32 AM
Do you run PHP as Isapi or CGI?
If it's Isapi, have you checked if the filter has been loaded properly? Have you configured the extensions so the server knows that the page you request is an php file?
As you can see, need more info to answer your question.
- Server you're using
- Isapi or CGI
- PHP loaded?
- Configured php extensions?
dar-k
04-17-2003, 09:00 AM
-Apache 1.3.24
-ISAPI
-yes
-yes
rklapwijk
04-17-2003, 09:44 AM
1 thing you might check, do you call the file from the server? http://localhost/thefile.php or C:\myfile\thefile.php?
if you call it from the server it is a processing error, but i don't have experience with apache so i can't help you with it. I've never heard/seen it before so i even don't have a clue.
dar-k
04-17-2003, 05:04 PM
Ok, it's not that important anyway.
Thanks for responding.
shareaweb
04-20-2003, 04:25 PM
Go into IIS MMC and on your root site right-click, select properties and go to general settings... Check runisapi extensions in Isolation mode and then try your phpinfo() again.. it should be happy...
its a quirk.. go figure... btw, if your in IIS under .NET, run your php sites in their own worker process accounts instead of iso mode ;)
dar-k
04-22-2003, 02:34 AM
-Apache 1.3.24
-ISAPI
-yes
-yes
IIS is non-existent on my machine.
Thanks for trying.
shareaweb
04-22-2003, 06:00 AM
Oops. sorry.. brain fart.. haha..
Anyway, It is a process error... The ISAPI filter is not able to output because of cocomittent threading..
I assume you have WebMin? You should go into webmin (if it's running) at https://localhost:10000 ( or the other way you admin apache) and then set the isapi sit einto its own worker process threading model.
There is more info at apache.org on how to do this, or you can upgrade to apache 2.0 and that should make php 4.3.1 happy.
Cheers!
dar-k
04-24-2003, 06:45 AM
I checked WebMin, and it doesn't support Windows.
I also can't upgrade to Apache 2, since I'm trying to mimic the server environment we work on.
Oh, Apache runs as a service on my machine.
That's all I know.
PHP Builder
Copyright Internet.com Inc. All Rights Reserved.