OK.... I give up!!!

  • tonymuffin
  • Novice
  • Novice
  • tonymuffin
  • Posts: 26

Post 3+ Months Ago

ATNO/TW wrote:
yes. At least they are for mine. However for application mapping I did not map it using the all websites folder like shown in that link. I only mapped it for the default website. And that is mapped to php-cgi.exe

And the dll is for the web extension. And yes they both need to be in the respective path.

That's all I'll be able to answer tonight. Leaving work and won't be on again until tomorrow.

But I've had mine configured like this since I wrote that tutorial and it works perfectly. Hope that helps.


So... let's back up a second to the quote above. It is my understanding that PHP ISAPI was not offered a while back (and your instructions are indeed for an earlier version of PHP). It is also my understanding that PHP ISAPI is the way to go here. However, it sounds to me like that is not the case per what you are saying. It also sounds to me that you are saying to include both?

Perhaps you can clarify better what this is suppose to look like and how I go about doing this? Perhaps this is the issue.
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Posts: 23456
  • Loc: Woodbridge VA

Post 3+ Months Ago

I have it installed on my 2003 Webserver (live for work) as well as 2 XP machines and 2 Windows 2000 machines. Guess what. Every install had it's own set of quirks and things I had to troubleshoot.

If you are running Sharepoint, I'll assume you don't want that not running which is why I didn't even bring up Apache. In fact I wasn't even aware you could run Apache and IIS simultaneously since obviously they are both going to want port 80. localhost is going to be your default website regardless of what directory it is.

I just assumed default website because typically that's where most people install their websites. Is mydomainname.com for your blog.mydomainname.com not your default website? For example if I wanted to my CEO's blog (which is b2evolution, btw) is http://www.alaron-nuclear.com/presidents-desk/ however, I could just as easily have made it http://blog.alaron-nuclear.com Regardless of how I set that up mydomainname.com i.e. alaron-nuclear.com is my default website and resides in wwwroot

The default website does not have to be wwwroot you could make it any directory you want, but it is going to in most cases be what port 80 is going to resolve to.

I think the thing that confuses me the most is why you get a 404 error when you try to access your database connect test file. What did you do to resolve the 404 error so you could see your phpinfo.php?

As far as wordpress you're welcome to try it. I see that guy has instructions in his blog http://www.iisadmin.co.uk/?p=6 I didn't see those instructions when I tried mine but they look like what I did roughly and in know way did it install as easily as he made it appear. If you do get to the point where you try it and the install screws up like mine did. Save yourself pulling your hair out and check b2evolution.

Sorry I can't help you pinpoint the exact problem, but you've obviously been reading the same things I have, and obviously have done the same things I've done, and obviously know what you are doing.

Honestly, it's why I haven't decided to upgrade my php or MySql versions. It's working just fine as it is, and I don't want to break it lol.
  • tonymuffin
  • Novice
  • Novice
  • tonymuffin
  • Posts: 26

Post 3+ Months Ago

No, it is not my DEFAULT website. All of my servers host numerous websites and domains. None of which are the DEFAULT website. All the sites resolve to Port 80.

So, basically what you are saying is that I should be able to install this to any of the domain hosted sites correct?

I don't know what I did to resolvd the 404 error with regards to http://localhost/phpinfo.php. I have flattened and rebuitl the test server 8 times now. The 8th time I obviously did something slightly different. Don't know...

Yes, reading that guy's tuts on PHP and MY SQL still leaves questions but between a combination of yours and his I am at least as far as I am now. I will be sure to check out b2evolution.

With regards to my last post, can you please elaborate further with regards to the PHP CGI and the PHP ISAPI? Perhaps that is the issue if I need to have both.

OH... and I have been meaning to ask this. Your tut is using the Windwos Installer version of PHP installation. However, each time I have tried that it does not do any of the configuration things that need to be done and that I do manually. Are you saying that the Windows Installer installation should be doing this?

I am trying this again now using the Windows Installer. Which Server setup should I select, IIS ISAPI Module, IIS Fast CGI, IIS CGI?
  • tonymuffin
  • Novice
  • Novice
  • tonymuffin
  • Posts: 26

Post 3+ Months Ago

Ok.. so I have decided to proceed without waiting for the answers :)

One of the things I wanted to tackle during my holiday time off was to get this setup so I am pushing forward.

Good news!!! I setup PHP on one of the live servers. I used the Windows Installer which kind of sort of worked. One thing that is not clear in your tutorial is why the need to unzip the package in the same directory and the Windows Installer MSI. However, the seccond attemp I did that plus made some configuration edit in IIS which I was assuming the installer msi should but doesn't. But, once that was done I was successful in getting http://localhost/phpinfo.php to work.

Next step... configure the actual directory I want to use for this whole thing assuming I do succeed at it. So, I configured the site http://blog.mydomainname.com in IIS for PHP mimicing the setup used in the DEFAULT site. At first it did not work until I configured EXECUTE PERMISSIONS form NONE to SCRIPT ONLY under HOME DIRECTORY. Now when I call http://blog.mydomainname.com/phpinfo.php I get the PHP page just like http://localhost/phpinfo.php. Sweet!! Onward.

Now I plan to install MySQL. I will post back when completed.
  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Posts: 23456
  • Loc: Woodbridge VA

Post 3+ Months Ago

Man I don't have the time to give you detailed reply. It's been a couple years. Yes my tute was for some 4.x version, although I did at some point upgrade mine to 5.1.4.4 but honestly can't remember what setup I selected. I think it was IIS CGI but can't swear to that 100% In regards to answering that question give a quick glance at this article http://www.webmaster-talk.com/articles/ ... -iis-.html

I would follow his advice in regards to CGI vs ISAPI as well as the Windows installer. I don't know about newer versions but in the past the Installer didn't include the Extensions and those had to be added manually. I don't know what all has changed with the installer since then.

I think I'm having a hard time helping you pinpoint your problem because I've never run multiple domains on an IIS server. Only the default website in wwwroot which is why I don't know how to address some of your questions. However, I have been wanting to find time to add two domains to mine and might ask you for some advice on that in the near future.

Good luck. I may not be able to check back until after Christmas. Happy Holidays.
  • tonymuffin
  • Novice
  • Novice
  • tonymuffin
  • Posts: 26

Post 3+ Months Ago

Alrighty then....

Ok... MySQL is installed and setup. My phpinfo.php page is now showing MySQL listed.

Next step is to do the test page that was not working on my test server.

Stay tuned!
  • tonymuffin
  • Novice
  • Novice
  • tonymuffin
  • Posts: 26

Post 3+ Months Ago

Ok........

Well, further than I have been so far. I made a call to dbtest.php and at least got a page back that said it could not connect to MySQL as opposed to Page Cannot be Found. This is progress. Figure I would try an install of WordPress and Holy Crap Batman!!! This thing is a whore!. You gots to just love the 5 minute easy install...NOT! Then you got's to love the steps here, http://www.iisadmin.co.uk/?p=6 NOT.......

It is always so amazing to me when someone writes installation or any type of steps but write them like you already should know how to do it... Go figure.

So, next step is to try b2evolution.

Stay tuned!!
  • tonymuffin
  • Novice
  • Novice
  • tonymuffin
  • Posts: 26

Post 3+ Months Ago

After re-doing this 13 times now... I am still no further than before.

1. PHP is installed and appears to be working. When I make a call to phpinfo.php it returns the PHP information page, including the MySQL module stuf.

2. I installed MySQL and all installed with no errors however, I have idea of how to test the installation. A call to dbtest.php no longer returns anything but Page Cannot Be Found, yet the call to phpinfo.php returns the PHP information.

So... being an extreme newbie to all of this... how do I test to make sure that PHP is talking with MySQL before moving on to installing WordPress or whatever??

Any help and suggestions is greatly appreciated.
  • Bogey
  • Genius
  • Genius
  • Bogey
  • Posts: 8397
  • Loc: USA

Post 3+ Months Ago

Go to #module_mysql on the phpinfo page (Just put that at the end of the url and press enter) and see if it's enabled, the version and that stuff...
  • tonymuffin
  • Novice
  • Novice
  • tonymuffin
  • Posts: 26

Post 3+ Months Ago

So, assuming what you are saying is to add #module_mysql to the URL like,
http://mydomainname.com/phpinfo.php#module_mysql, it takes me to the MySQL module in the PHPINFO page.

Here is what it says,
http://tdehan.com/images/MySQLModule.JPG

So, assuming that is the test then this indicates that PHP is talking to MySQL?
  • tonymuffin
  • Novice
  • Novice
  • tonymuffin
  • Posts: 26

Post 3+ Months Ago

Just so we can put this thread to bed, here is the latest...

Success!!!

I now have the latest versions of PHP, MySQL and Wordpress up and running along with my newly created blog live on my own server.

This was accomplished on a Windows 2003 IIS6 Server along with Sharepoint Services (WSS3.0) with Wordpress installed in a seperate application than the Default website (localhost)to not mess with WSS3.0.

In order to accomplish all of this took reading numerous posts on numerous forums. No one post or forum covered all of this. The thing that is really interesting is that no one post was identicle either in how to go about doing any of this.

Cheers!!!
  • Gertruman
  • Novice
  • Novice
  • Gertruman
  • Posts: 23

Post 3+ Months Ago

The 3 extensions are indeed listed in the php.ini.

Post Information

  • Total Posts in this topic: 42 posts
  • Users browsing this forum: No registered users and 78 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.