SunQuest
           PHP Installation
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsPHP RelatedPHP Installation

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old June 30th, 2003, 10:29 AM
Gipz Gipz is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Stockholm, Sweden
Posts: 98 Gipz User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
Send a message via ICQ to Gipz
Problem installing PHP 5 on WinXP, IIS 5

Windows XP, IIS 5.1, PHP 5.0.0 Beta 1, PHPISAPI Version

I have followed the installation steps in the manual but when I try to access a simple test script I get a "HTTP 500 error".

I reccon it's somethin in the iis configuration that's wrong.

Have read and tried most of the sugesstions at: http://se.php.net/manual/en/install.iis.php

Has this something to do with server rights to the php dlls?

What info do you need to help me?


Regards

Thomas

Reply With Quote
  #2  
Old June 30th, 2003, 05:03 PM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
RE: Problem installing PHP 5 on WinXP, IIS 5

dont use IIS, there is a great many bugs in an IIS server, download the phphome package from sourceforge, and install that (binary release you want).

this install php, apache, mysql all for you and also starts them, and even adds them to start up for you.

i have had no problems with the setup and running of it, only with remebering all the god darn password lmao have fun

Reply With Quote
  #3  
Old June 30th, 2003, 06:40 PM
Hatcher Hatcher is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Yarm, Cleveland, England
Posts: 395 Hatcher User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
Send a message via AIM to Hatcher Send a message via Yahoo to Hatcher
RE: Problem installing PHP 5 on WinXP, IIS 5

You are better off using Apache with PHP

Reply With Quote
  #4  
Old June 30th, 2003, 08:39 PM
Gipz Gipz is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Stockholm, Sweden
Posts: 98 Gipz User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
Send a message via ICQ to Gipz
RE: Problem installing PHP 5 on WinXP, IIS 5

Well, thanks for your opinions about IIS (I have a few myself).

But I need to get php working with IIS.

Someone, please?

Reply With Quote
  #5  
Old July 2nd, 2003, 03:15 PM
Blindeddie Blindeddie is offline
Codewalkers Regular (2000 - 2499 posts)
 
Join Date: Apr 2007
Location: NJ - USA
Posts: 2,152 Blindeddie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 4
RE: Problem installing PHP 5 on WinXP, IIS 5

is it a sapi or CGI install? What is the total error message (IIS will usually include an error description when getting a 500) Did you ever have PHP installed on the server (earlier than 5.0) Provide as much info as possible.

Reply With Quote
  #6  
Old July 2nd, 2003, 03:33 PM
Gipz Gipz is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Stockholm, Sweden
Posts: 98 Gipz User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
Send a message via ICQ to Gipz
RE: Problem installing PHP 5 on WinXP, IIS 5

I tried to install it as sapi...

But, after 5 hours (searching in forums, newsgroups etc and trying diffrent configs) I gave up. Got the PHP 4.x install and had it installed and running after 20 min.

Thx!

Reply With Quote
  #7  
Old July 2nd, 2003, 06:04 PM
Blindeddie Blindeddie is offline
Codewalkers Regular (2000 - 2499 posts)
 
Join Date: Apr 2007
Location: NJ - USA
Posts: 2,152 Blindeddie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 4
RE: Problem installing PHP 5 on WinXP, IIS 5

Make sure that you report your problems to PHP.net.

Reply With Quote
  #8  
Old July 14th, 2003, 11:21 PM
medacs medacs is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: San Antonio, TX, USA
Posts: 5 medacs User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
RE: Problem installing PHP 5 on WinXP, IIS 5

I just installed php 5.0.1B on my XP IIs server last night. There are a couple of strange things happening. First of all it won't work at all until you put the ddls from the dll folder into your XP Windows folder. The next is I needed to use my old php.ini from PHP 4.3.2 for it to work. I have not gotten the php.inis provided to work yet. The good news is that 5.0 comes with many windows extensions which seem to work OK (GD2, pdf, and quite a few others). The bad news is that I am now getting a mySQL failure to connect. Any one else seeing this?

Reply With Quote
  #9  
Old July 16th, 2003, 08:52 PM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
RE: Problem installing PHP 5 on WinXP, IIS 5

Yup I have the same problem, in the PHP5 B1 they have removed the php_mysql.dll but the file has reappeared in the snap's I have downloaded. Now as far as I have understood you need 3 files to make it work <b>'php_mysql.dll'</b> (extensions dir), <b>'iconv.dll'</b> and <b>'libmySQL.dll'</b> (DLLs dir)

<b>Copy</b> these files to the same directory you've installed PHP5 in (e.g.: c:php5).

The you have to edit your <b>php.ini</b> wich should be located in your <b>Windows</b> directory.
You have to add an entry for MySQL in the dynamic extension section! add </b>extension=php_mysql.dll</b> and make sure that extension_dir is set to "."

Now it should work fine, but it doesnt for me, alot of people I know who have tryed this made it work but not me and I dont know what im doing wrong. I have searched google groups and all the WAMP forums I know off, but no solution. I just hope that it'll work for you.

Good Luck

Reply With Quote
  #10  
Old July 16th, 2003, 09:07 PM
medacs medacs is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: San Antonio, TX, USA
Posts: 5 medacs User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
RE: Problem installing PHP 5 on WinXP, IIS 5

Well
This certainly is good information. Where did you get the files for mySql again? If I may make a suggestion, it was important for me to make sure all the dlls were in the Windows folder. Could this be your problem?

Reply With Quote
  #11  
Old July 17th, 2003, 06:54 AM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
RE: Problem installing PHP 5 on WinXP, IIS 5

Uhm...well not exactly, think ill just try that one

Reply With Quote
  #12  
Old July 17th, 2003, 06:59 AM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
RE: Problem installing PHP 5 on WinXP, IIS 5

It didnt work either, but in my desperation i logged on to #php.dk which is a danish PHP IRC channel...There i was told wo place the dll's my system32 folder. AND IT WORKED!!!

Reply With Quote
  #13  
Old July 18th, 2003, 01:53 PM
medacs medacs is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: San Antonio, TX, USA
Posts: 5 medacs User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
RE: Problem installing PHP 5 on WinXP, IIS 5

Anonomous:
I'm glad to here of the solution to your grief. Can you tell me where you obtained the three mySql files?

Thanks
Gordon

Reply With Quote
  #14  
Old June 12th, 2004, 05:50 AM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
RE: Problem installing PHP 5 on WinXP, IIS 5

I had a similar issue, took me some time to solve. What ended up fixing it (in addition to the advice above) is copying the libmysql.dll to windows/system32 from the php directory - be sure to backup the php4 version & replace it.

Dave Lee.

Reply With Quote
  #15  
Old July 19th, 2004, 08:34 AM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
RE: Problem installing PHP 5 on WinXP, IIS 5

Licensing issues came up w/ PHP and MySQL: But here is how you enable it for those who were wondering:

This won't actually affect that many people. Unix users, at least the ones who know what they are doing, tend to always build PHP against their system's libmyqlclient library simply by doing --with-mysql=/usr when building PHP. Windows users may enable the extension php_mysql.dll inside php.ini. Also, copy libmySQL.dll into the appropriate %SYSTEMROOT% directory, just like you do with every other bundled DLL from the dll directory.

http://us2.php.net/manual/en/faq.databases.php#faq.databases.mysql.php5

Reply With Quote
Reply

Viewing: Codewalkers ForumsPHP RelatedPHP Installation > Problem installing PHP 5 on WinXP, IIS 5


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support |