To register for an Internet.com membership to receive newsletters and white papers, use the Register button ABOVE.
To participate in the message forums BELOW, click here
PHPBuilder.com  
 

 

Go Back   PHPBuilder.com > PHP Help > Install

Install Conversation regarding installation and upgrade of PHP

Reply
 
Thread Tools Rate Thread Display Modes
Old 07-03-2000, 11:30 AM   #1
Anon
Senior Member
 
Join Date: Jun 2000
Posts: 65,386
Content-type

I have a little problem with php4 under apache 1.3.12 on win2000 pro...

Php4 return the content type at the start of all my pages even if I have disabled it in php.ini

Beyond this , php is slow, it uses about 8 , 10 seconds to return my page

What's the problem ???
Anon is offline   Reply With Quote
Old 07-05-2000, 04:12 AM   #2
Anon
Senior Member
 
Join Date: Jun 2000
Posts: 65,386
RE: Content-type

Hi,

I've had the very same problem. I've set this in my php.ini:

default_charset =
default_mimetype =

(so I left those 2 both empty). As of version 4.0b4, php always outputs the content type headers, and they say to leave those two settings empty to get rid of it.

Strangly enough; that didn't work for me. I finally gave up and closed down for the day. When I restarted everything, voila the content headers where gone...

So make sure those are empty and all other settings are what they should be, then restart everything and it should work fine.

At least; it worked for me.
Anon is offline   Reply With Quote
Old 07-17-2000, 01:34 PM   #3
Anon
Senior Member
 
Join Date: Jun 2000
Posts: 65,386
RE: Content-type

i had the same problem and it still generate the contype-type at the top of my document.
if someone can help me....
Anon is offline   Reply With Quote
Old 07-18-2000, 05:55 AM   #4
Anon
Senior Member
 
Join Date: Jun 2000
Posts: 65,386
RE: Content-type

I resolved this problem in this way.

My error was that I installed php4 over the previous installation of php3, and when I've set this is my php.ini

default_charset =
default_mimetype =

it didn't worked, the content-type was present again at the top of my pages, even after rebooting.

But when I've installed php4 in another folder it finally worked


(sorry for my bad english :) )


Anon is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 12:58 AM.






Acceptable Use Policy

internet.comMediabistrojusttechjobs.comGraphics.com

WebMediaBrands Corporate Info


Advertise | Newsletters | Feedback | Submit News

Legal Notices | Licensing | Permissions | Privacy Policy


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.