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 08-04-2000, 09:45 PM   #1
Anon
Senior Member
 
Join Date: Jun 2000
Posts: 65,386
newbie - win2000 php apache

Hi

Apache starts great, but when executing php scripts, the server doesnīt do anything with the php code, in source it shows all the php code with <? ?> tags....

Anyone? Thanks.
Anon is offline   Reply With Quote
Old 08-05-2000, 02:24 AM   #2
Anon
Senior Member
 
Join Date: Jun 2000
Posts: 65,386
RE: newbie - win2000 php apache

why don't you use iis 5 come with win2k
it runs better apache, at least for me.
I got the same problem on apache like you.
Kevin
Anon is offline   Reply With Quote
Old 08-06-2000, 12:24 AM   #3
Anon
Senior Member
 
Join Date: Jun 2000
Posts: 65,386
RE: newbie - win2000 php apache

Did you uncomment the php file types in your Apache config files ????

By default, they are commented out.

In Apache\conf\httpd.conf:-

# For example, the PHP3 module (not part of the Apache distribution)
# will typically use:
#
#AddType application/x-httpd-php3 .phtml
#AddType application/x-httpd-php3-source .phps


Also, you might want to add .php as well as .phtml


Anon is offline   Reply With Quote
Old 08-06-2000, 01:04 PM   #4
Anon
Senior Member
 
Join Date: Jun 2000
Posts: 65,386
RE: newbie - win2000 php apache

Hi

Yes, thatīs done.

Iīve also tried installed php and apache on linux, and I got the same problem.

I have rebooted apache several times, but no change.

I have now installed php on win2000(iis5), and it worked nice. But I wish to develop
/use programs with path organization as on linux, so I donīt have to change all include paths to c:\server etc...SO I have to try to get linux to accept php



Sikosis wrote:
-------------------------------
Did you uncomment the php file types in your Apache config files ????

By default, they are commented out.

In Apache\conf\httpd.conf:-

# For example, the PHP3 module (not part of the Apache distribution)
# will typically use:
#
#AddType application/x-httpd-php3 .phtml
#AddType application/x-httpd-php3-source .phps


Also, you might want to add .php as well as .phtml


Anon is offline   Reply With Quote
Old 08-07-2000, 03:46 AM   #5
Anon
Senior Member
 
Join Date: Jun 2000
Posts: 65,386
RE: newbie - win2000 php apache

Did you add this ?

ScriptAlias /php/ "d:/php/"

d:/php <== location of your php




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 07:00 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.