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 ...
-
26th November 2007, 03:54 PM #1 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
-
-
IDG Tech News
-
26th November 2007, 04:22 PM #2 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
-
-
26th November 2007, 04:29 PM #3 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
-
-
26th November 2007, 04:45 PM #4 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.
-
-
26th November 2007, 04:49 PM #5
- Rep Power
- 12
Re: Webserver & PHP site advice
If you want it easy use something like Easyphp or xampp.
-
-
26th November 2007, 05:33 PM #6 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
-
-
26th November 2007, 06:55 PM #7 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?
-
-
26th November 2007, 07:00 PM #8 Re: Webserver & PHP site advice
I have attached the error message,
Z
Last edited by FN-GM; 25th June 2008 at 02:47 PM.
-
-
26th November 2007, 07:10 PM #9 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.
-
-
26th November 2007, 07:33 PM #10 Re: Webserver & PHP site advice
When i put an HTML file in there it loads fine.
Z
-
-
26th November 2007, 07:39 PM #11 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 ???
-
-
26th November 2007, 07:43 PM #12 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.
-
-
26th November 2007, 07:48 PM #13
- 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
-
-
26th November 2007, 08:04 PM #14 Re: Webserver & PHP site advice
Looks like i will be going down the Apache route.
Z
-
-
26th November 2007, 08:13 PM #15 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: 
Similar Threads
-
By edie209 in forum Web Development
Replies: 4
Last Post: 22nd August 2007, 03:28 PM
-
By Quackers in forum Wireless Networks
Replies: 8
Last Post: 15th August 2007, 12:15 PM
-
By edie209 in forum Web Development
Replies: 9
Last Post: 18th December 2006, 03:45 PM
-
By fooby in forum Hardware
Replies: 13
Last Post: 16th February 2006, 12:30 PM
-
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
-
Forum Rules