----------------------------------- Amailer Thu Apr 15, 2004 5:54 pm View source code (phps) ----------------------------------- Hey, Ahh i got a little problem, i got php installed correctly with apache. ######### ENABLE PHP ############# ScriptAlias /php/ "C:/php/" Action application/x-httpd-php "/php/php.exe" AddType application/x-httpd-php .php .phtml AddType application/x-httpd-php-source .phps ################################## now, when i try to view the source code of a php file by renaming it to .phps it makes me download the file... why?? why isn't it working? ----------------------------------- Homer_simpson Fri Apr 16, 2004 11:41 pm ----------------------------------- what did u expect it to do... it doesn't have anything to open the source.. with altho i think i'm sounding pretty wrong ... :? :lol: but like u can change it to a text so it reads it like a txt... ----------------------------------- Amailer Fri Apr 16, 2004 11:49 pm ----------------------------------- it's suppose to show the souce in php coloruing the code... ----------------------------------- Blade Fri Apr 23, 2004 3:08 pm ----------------------------------- well, as far as i can see there's nothin wrong with it. but this is what i have in mine. and i am using the regular httpd.conf file that comes with the windows version with php added AddType application/x-httpd-php .php LoadModule php4_module c:/php/sapi/php4apache2.dll AddType application/x-httpd-php-source .phps ----------------------------------- Amailer Sun Apr 25, 2004 4:48 am ----------------------------------- well i just put in what you had and my apache server crashed..a nd i keeped getting a php error that it couldn't find ./php_gd2.dll :|