View previous topic :: View next topic |
Author |
Message |
penumbra -
Joined: 27 Mar 2004 Posts: 3 Location: France
|
Posted: Sat Sep 23, 2006 1:35 pm Post subject: PHP pre-processing failure.... |
|
|
Hi
I'm trying to get php to pre-process my files (that is, run them before Abyss tries to serve them)
I've followed the instructions for isntaling the pre-built php package and setting up Scripting Parameters for the one host I have running - using Fast-CGI - Local Pipes and declaring php htm & html as the file suffixes I want php to pre-process.
It seems by default I have /*.htm,/*.html & /*.php installed as Script Paths (there is no trashcan next to these entries, so I cannot delete them, even if I wanted to)
I'm running server 2.3.2 on a WinXP Pro box
Restarting the server after all this and running up a page, any page, in my browser results in the php elements being ignored - even .php files simply do nothing.... as far as I can see.
I have even set up a .htaccess file containing
AddType application/x-httpd-php .html
AddType application/x-httpd-php .htm
in the host pages directory (as Iwould for an Apache setup, f'risntance) but no joy.
Can anyone shed any light on this? I suspect I've been glaring at the problem so long now I can no longer see the wood for the trees, as it were.
Cheers
Bill |
|
Back to top |
|
 |
penumbra -
Joined: 27 Mar 2004 Posts: 3 Location: France
|
Posted: Sat Sep 23, 2006 1:47 pm Post subject: |
|
|
Whoopsie - I set everything back to CGI/ISAPI and now all is well... bizarre!
Bill |
|
Back to top |
|
 |
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Sat Sep 23, 2006 3:33 pm Post subject: Re: PHP pre-processing failure.... |
|
|
penumbra,
The .htaccess is not for Abyss Web Server so there is no point to adding it.
Are you sure you have flushed the cache of your browser and that your browser was contacting the server to get the PHP script results from it (and not pulling them from its cache). _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
 |
|