Click to See Complete Forum and Search --> : 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.
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
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
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
Did you add this ?
ScriptAlias /php/ "d:/php/"
d:/php <== location of your php
PHP Builder
Copyright WebMediaBrands Inc. All Rights Reserved.