Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    New Coder
    Join Date
    Sep 2005
    Posts
    89
    Thanks
    2
    Thanked 0 Times in 0 Posts

    running phtml on a windows 2003 webserver

    Hello All,

    Very sorry If this is in the wrong place. I'm new to server technology and don't have a vast knowledge of it.

    We have just got a new windows 2003 server for our various sites and I am moving them across to it. Some of our site are built in phtml and I was wondering how to get these working on the windows box - should I just install php on it? Or is there a different parser that I need to get?

    Thanks all

    J

  • #2
    Senior Coder JamieR's Avatar
    Join Date
    Oct 2004
    Location
    United Kingdom
    Posts
    3,161
    Thanks
    0
    Thanked 5 Times in 5 Posts
    Phtml is, I believe, just an outdated suffix for PHP pages...so just change the file extension to .php. I think PHP by default parses .phtml pages - if not then you'll need to specifiy it. Installing PHP will be the correct thing to do.

    On a different note, even though it will work perfectly, Linux web servers are suited more to apache/php than Windows is
    There again, I run PHP and Apache on Server 03 Enterprise, and Fedora Core

  • #3
    New Coder
    Join Date
    Sep 2005
    Posts
    89
    Thanks
    2
    Thanked 0 Times in 0 Posts
    Thats great - thanks man

    I agree with you about using a linux/apache box, But the problem is most of the sites on the box are asp based and about 25% are php, which we will be converting soon.

    Thanks again!

  • #4
    Senior Coder gsnedders's Avatar
    Join Date
    Jan 2004
    Posts
    2,340
    Thanks
    1
    Thanked 7 Times in 7 Posts
    Quote Originally Posted by weazel
    Phtml is, I believe, just an outdated suffix for PHP pages...so just change the file extension to .php. I think PHP by default parses .phtml pages - if not then you'll need to specifiy it. Installing PHP will be the correct thing to do.
    It's got nothing to do with PHP whether PHP parses .phtml/.php (or any other extension) files, but rather up to IIS/Apache (or whatever other webserver is used).

  • #5
    Rockstar Coder
    Join Date
    Jun 2002
    Location
    USA
    Posts
    9,074
    Thanks
    1
    Thanked 328 Times in 324 Posts
    Quote Originally Posted by Error 404
    It's got nothing to do with PHP whether PHP parses .phtml/.php (or any other extension) files, but rather up to IIS/Apache (or whatever other webserver is used).
    Regardless, it is easy to make it do that.
    OracleGuy


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •