FN-GM Posted November 26, 2007 Posted November 26, 2007 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
Guest Guest Posted November 26, 2007 Posted November 26, 2007 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
FN-GM Posted November 26, 2007 Author Posted November 26, 2007 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
Joedetic Posted November 26, 2007 Posted November 26, 2007 Why can't you install apache and put the current HTML site onto that instead? You can use the same server, just remove IIS.
el8linuxel8 Posted November 26, 2007 Posted November 26, 2007 If you want it easy use something like Easyphp or xampp.
FN-GM Posted November 26, 2007 Author Posted November 26, 2007 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
maniac Posted November 26, 2007 Posted November 26, 2007 Is the server actually parsing the PHP pages when called up from a web browser or just returning the raw contents of them?
maniac Posted November 26, 2007 Posted November 26, 2007 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.
FN-GM Posted November 26, 2007 Author Posted November 26, 2007 When i put an HTML file in there it loads fine. Z
Joedetic Posted November 26, 2007 Posted November 26, 2007 I forget what it's called in IIS but have you added the default document for directory/site you've made as index.php ???
maniac Posted November 26, 2007 Posted November 26, 2007 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.
jasonyates Posted November 26, 2007 Posted November 26, 2007 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/2007/10/16/howto-installing-mysql-php-and-phpmyadmin-on-iis-part-3-php/ Regards
FN-GM Posted November 26, 2007 Author Posted November 26, 2007 Looks like i will be going down the Apache route. Z
maniac Posted November 26, 2007 Posted November 26, 2007 Apache route would be easier, although I rate WAMP above XAMPP for an easy setup on a windows platform. Mike.
jasonyates Posted November 26, 2007 Posted November 26, 2007 WAMP is an easier setup I will agree however I had a bad experience with it once so I tend to go for XAMPP now.
maniac Posted November 26, 2007 Posted November 26, 2007 I've never liked all the extras that came with XAMPP. I used to use it myself until I discovered WAMP, basically it's the same product(s) at the end of the day so difficult to destinguish between the two.
FN-GM Posted December 2, 2007 Author Posted December 2, 2007 I decided to move over to Apache using Apache2Triad its works flawlessly and it is so easy to install. As for IIS i have only one thing to say, the day Microsoft makes something that doesn't suck, will be the day they start to make vacume cleaners. Z
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now