|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
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
|
|||
|
|||
|
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 |
|
#2
|
|||
|
|||
|
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 |
|
#3
|
|||
|
|||
|
RE: Problem installing PHP 5 on WinXP, IIS 5
You are better off using Apache with PHP
|
|
#4
|
|||
|
|||
|
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? |
|
#5
|
|||
|
|||
|
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.
|
|
#6
|
|||
|
|||
|
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! |
|
#7
|
|||
|
|||
|
RE: Problem installing PHP 5 on WinXP, IIS 5
Make sure that you report your problems to PHP.net.
|
|
#8
|
|||
|
|||
|
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?
|
|
#9
|
|||
|
|||
|
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 |
|
#10
|
|||
|
|||
|
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? |
|
#11
|
|||
|
|||
|
RE: Problem installing PHP 5 on WinXP, IIS 5
Uhm...well not exactly, think ill just try that one
|
|
#12
|
|||
|
|||
|
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!!!
|
|
#13
|
|||
|
|||
|
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 |
|
#14
|
|||
|
|||
|
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. |
|
#15
|
|||
|
|||
|
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 |
![]() |
| Viewing: Codewalkers Forums > PHP Related > PHP Installation > Problem installing PHP 5 on WinXP, IIS 5 |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|