Click to See Complete Forum and Search --> : newbie - win2000 php apache


Anon
08-04-2000, 09:45 PM
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
08-05-2000, 02:24 AM
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
08-06-2000, 12:24 AM
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
08-06-2000, 01:04 PM
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
08-07-2000, 03:46 AM
Did you add this ?

ScriptAlias /php/ "d:/php/"

d:/php <== location of your php