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 > Misc Help > Windows Help

Windows Help Help with the Windows operating system

Reply
 
Thread Tools Rate Thread Display Modes
Old 07-22-2000, 01:50 PM   #1
Anon
Senior Member
 
Join Date: Jun 2000
Posts: 65,386
Error on Apache + Win98& PHP4 configuration

I have a problem running Apache 1.3.9 and PHP4 on Win98. I think I set all things like they should be, but I'm getting an error.
In my httpd.conf I have these lines:

ScriptAlias /php4/ "C:/php4/"

AddType application/x-httpd-php .php .php4
AddType application/x-httpd-php-source .phps

Action application/x-httpd-php "/php4/php.exe"
When I invoke php script, I'm getting folowing header information, printed on the page (where it doesn't belong):

X-Powered-By: PHP/4.0.0 Content-type: text/html

Need help !
Anon is offline   Reply With Quote
Old 07-22-2000, 04:57 PM   #2
Anon
Senior Member
 
Join Date: Jun 2000
Posts: 65,386
RE: Error on Apache + Win98& PHP4 configuratio

Pavlovic,

Your problem is most likely cuased because, in your php.ini, you're loading dll's for which PHP4 currently has no support. Try commenting out all the Windows Extensions in php.ini. If you need more that just MySQL support, which is built-in, grab the PHP 4.0.1pl2 update from php.net. If that still doesn't give you the level of support you require, try download.swwwing.com. Also, unlike PHP3, you don't specify version in Apache's Action directive;

Action application/x-httpd-php "/php4/php.exe"

should read:

Action application/x-httpd-php "/php/php.exe"

Hope this helps!

Cheers,

Geoff

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 02:54 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.