Allthough php is properly installed, I cannot get pages to run. Instead, they are treaded as files (they dont execute) I must be doing something wrong with httpd.conf but I cant figure out what?
make sure you've got the followng in httpd.conf:
LoadModule php4_module modules/libphp4.so AddModule mod_php4.c
and associating the .php files with the php module:
AddType application/x-httpd-php .php
Also if you have the items Brandon suggested make sure your PHP pages are labeled .php some editors do not do this and try to add htm or html to the end of everything. additionally if you are trying to use someone elses scripts they will frequently use things like .phtml .php3 .p .phpfi hope this helps.
My pages have .php extension.
Unfortuanetly they still dont work.
were you able to configure your registry so that the variable for php will look like this - C:\PHP\php4isapi.dll %s %s this is at /HKEY_LOCAL_MACHINE/SYSTEM/SERVICES/W3SCV/PARAMETERS/SCRIPTMAPS/PHP the "%s %s" is crucial.
hope this works
me to got the same problem, I got the error that I do not have access to the folder.I\'m pretty new with this whole thing.
Its a linux system so I hardly believe it has something to do with my registry 🙂
I am having the same problem on a Trustix server running apache. have gone through all of the config options in httpd.conf and php.ini and all other related config files. The server still treats it like a text file and displays the contents.