+ Post New Thread
Page 1 of 2 12 LastLast
Results 1 to 15 of 18
Web Development Thread, Webserver & PHP site advice in Coding and Web Development; Hi We have a webserver, i am setting up a new PHP based website. The current site is HTML so ...
  1. #1

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    15,852
    Thank Post
    877
    Thanked 1,681 Times in 1,460 Posts
    Blog Entries
    12
    Rep Power
    445

    Webserver & PHP site advice

    Hi

    We have a webserver, i am setting up a new PHP based website. The current site is HTML so there is no software installed required for PHP.

    I have installed MYSQL & PHP V5 and i still can't get the PHP based software to work.

    It is running Server 2003 with IIS webserver.

    Any suggestions please?

    Z

  2. #2


    Join Date
    Oct 2006
    Posts
    3,411
    Thank Post
    184
    Thanked 356 Times in 285 Posts
    Rep Power
    148

    Re: Webserver & PHP site advice

    Use linux and apache. You will have nothing but problems with IIS, especially if your new to it.

    Besides 99.99999% of the documentation for web stuff is for linux anyway

  3. #3

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    15,852
    Thank Post
    877
    Thanked 1,681 Times in 1,460 Posts
    Blog Entries
    12
    Rep Power
    445

    Re: Webserver & PHP site advice

    Well we already have a current webserver all setup running an HTML site so my Network Manager would want to keep that one running.

    Z

  4. #4
    Joedetic's Avatar
    Join Date
    Jan 2006
    Location
    Walsall
    Posts
    1,316
    Thank Post
    6
    Thanked 13 Times in 13 Posts
    Rep Power
    22

    Re: Webserver & PHP site advice

    Why can't you install apache and put the current HTML site onto that instead?

    You can use the same server, just remove IIS.

  5. #5

    Join Date
    Nov 2007
    Location
    Preston
    Posts
    98
    Thank Post
    2
    Thanked 4 Times in 4 Posts
    Rep Power
    14

    Re: Webserver & PHP site advice

    If you want it easy use something like Easyphp or xampp.

  6. #6

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    15,852
    Thank Post
    877
    Thanked 1,681 Times in 1,460 Posts
    Blog Entries
    12
    Rep Power
    445

    Re: Webserver & PHP site advice

    Well my boss would rather keep it as it is. I would move to apache but if it can be done in IIS i would rather do it in that before I move it over.

    Z

  7. #7

    maniac's Avatar
    Join Date
    Feb 2007
    Location
    Kent
    Posts
    3,037
    Thank Post
    209
    Thanked 425 Times in 306 Posts
    Rep Power
    144

    Re: Webserver & PHP site advice

    Is the server actually parsing the PHP pages when called up from a web browser or just returning the raw contents of them?

  8. #8

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    15,852
    Thank Post
    877
    Thanked 1,681 Times in 1,460 Posts
    Blog Entries
    12
    Rep Power
    445

    Re: Webserver & PHP site advice

    I have attached the error message,

    Z
    Last edited by FN-GM; 25th June 2008 at 02:47 PM.

  9. #9

    maniac's Avatar
    Join Date
    Feb 2007
    Location
    Kent
    Posts
    3,037
    Thank Post
    209
    Thanked 425 Times in 306 Posts
    Rep Power
    144

    Re: Webserver & PHP site advice

    404 page not found is basically that, it can't even find the page you're trying to access, which means whatever page you're trying to call up doesn't exist in the right place on your server. Double check where your PHP files are on your server, and that the folder(s) they are in are published correctly in IIS.

    Mike.

  10. #10

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    15,852
    Thank Post
    877
    Thanked 1,681 Times in 1,460 Posts
    Blog Entries
    12
    Rep Power
    445

    Re: Webserver & PHP site advice

    When i put an HTML file in there it loads fine.

    Z

  11. #11
    Joedetic's Avatar
    Join Date
    Jan 2006
    Location
    Walsall
    Posts
    1,316
    Thank Post
    6
    Thanked 13 Times in 13 Posts
    Rep Power
    22

    Re: Webserver & PHP site advice

    I forget what it's called in IIS but have you added the default document for directory/site you've made as index.php ???

  12. #12

    maniac's Avatar
    Join Date
    Feb 2007
    Location
    Kent
    Posts
    3,037
    Thank Post
    209
    Thanked 425 Times in 306 Posts
    Rep Power
    144

    Re: Webserver & PHP site advice

    I'm presuming you calling pages up leaving off the extension .php, so it could be that PHP hasn't added its self to IIS correctly. Try calling up the page with the .php on the end of your URL and see what happens. IIS will probably just serve you the raw contents of the page, meaning that IIS isn't aware of PHP. If this is the case, try removing and re-installing PHP.

    Mike.

  13. #13

    Join Date
    Oct 2007
    Posts
    10
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Re: Webserver & PHP site advice

    Hi,

    Have you actually configured IIS to work with PHP or simply downloaded and installed PHP? It's not that easy to get php running with IIS as its a typical microsoft product.

    I'd recommend installing xampp, you could do this with a few minutes downtime to your website. If you insist on going down the IIS route a quick googling comes up with loads of howto's.

    See about 1/2 way down this page http://shabbir.hassanally.net/blog/2...is-part-3-php/

    Regards

  14. #14

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    15,852
    Thank Post
    877
    Thanked 1,681 Times in 1,460 Posts
    Blog Entries
    12
    Rep Power
    445

    Re: Webserver & PHP site advice

    Looks like i will be going down the Apache route.

    Z

  15. #15

    maniac's Avatar
    Join Date
    Feb 2007
    Location
    Kent
    Posts
    3,037
    Thank Post
    209
    Thanked 425 Times in 306 Posts
    Rep Power
    144

    Re: Webserver & PHP site advice

    Apache route would be easier, although I rate WAMP above XAMPP for an easy setup on a windows platform.

    Mike.

SHARE:
+ Post New Thread
Page 1 of 2 12 LastLast

Similar Threads

  1. Not school related need some advice for my home site
    By edie209 in forum Web Development
    Replies: 4
    Last Post: 22nd August 2007, 03:28 PM
  2. domain name to point to subfolder on webserver.
    By Quackers in forum Wireless Networks
    Replies: 8
    Last Post: 15th August 2007, 12:15 PM
  3. New Web site ,some advice
    By edie209 in forum Web Development
    Replies: 9
    Last Post: 18th December 2006, 03:45 PM
  4. My WebServer Died :'(
    By fooby in forum Hardware
    Replies: 13
    Last Post: 16th February 2006, 12:30 PM
  5. Which Webserver Installation Kit?
    By in forum Web Development
    Replies: 16
    Last Post: 15th November 2005, 10:36 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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