Page 1 of 1

I can't even install it on Win2K, this is BS

Posted: Sat Aug 17, 2002 7:24 pm
by HUWUWA
Hi Guys, I have spent the last ten hours trying to install PHP on my Win2K Pro machine and no matter what I do it does not work. The thing is, I installed it in about ten minutes following the manual installation instructions before and it worked fine. But not now.

Now I am not an idiot, I know C++ and Windows like the back of my hand so this is getting me very frustrated. So frustrated in fact that I have just been getting price quotes for a new Win2K Server host so I can go back to ASP.

I tried everything, I used forward and back slashes in the php.ini file, I copied all the .dll files to my winnt/system32 directory, I tried it all to no avail.

WTF am I doing wrong ? Do I need to run a Unix machine at my house to make this work ? I guess I can write the code, FTP it to my server to test, and then make the code modifications; with that method I think I can make one page work in about six days. This is BS.

Please Help.

Posted: Sat Aug 17, 2002 7:30 pm
by hob_goblin
are you running apache?
are you sure you got the windows binaries?

any specific errors?

Posted: Sat Aug 17, 2002 7:49 pm
by HUWUWA
Hi, no, I'm not running Apache. I use Win2K Professional at home to test my code before I upload it to a live server.

I even installed IIS because I thought I needed it for PHP, I really didn't want IIS on my machine since I thought I would not be using ASP anymore. I just wanted to install the stable CGI php.exe version so I can test some simple code but there were no instructions on that, I couldn't even figure out where the php.exe file went, and I don't know much about using CGI (isn't that really old, like PERL ?)

I guess I can use the InstallShield version but I know it will mess my computer up and I'll have to format and re-install Win2K again in a week. I just did a fresh Win2K Pro install last night and today, I guess I can do it every week since my host doesn't use Win2K Servers and I'm forced to use PHP.

All I can say is that this sucks. If I don't get this working within a few days I'll just shut my site down, that's how frustrated I am.

Thanks for the help.

Posted: Sat Aug 17, 2002 8:06 pm
by volka
hmmm...just tried it and following the install.txt to the letter I had no problem. Now there is an IIS-cgi-php and an apache-module-php on my w2k ;)
Have you read the part starting with
The following steps should be performed on all installations
before the server specific instructions.
and the "Windows NT/2000/XP and IIS 4 or newer and PWS 4 on NT Workstation or W2K non server editions"-section carefully?

When I first tried php I took the windows installer version and it worked, too. click-click-click, ready

If you still have trouble with installing php you might want to take a look at complete webserver/mysql/php-distributions like http://sourceforge.net/projects/foxserv/

Posted: Sun Aug 18, 2002 10:03 am
by HUWUWA
Hi, I really just want to install the CGI stable version manually. Where do I put the php.exe file ? This is driving me crazy because I installed the ISAPI version in the past, it took me five minutes just following the instructions. But now I can't get it to work, it's the same computer and OS. I would think installing the CGI version would be easier. I tried both versions to no avail.

Also, if I use the InstallShield version do I get the option of CGI or ISAPI installations ?

Please help guys. Sorry if I seemed a little crazy in my other posts. Thanks.

Posted: Sun Aug 18, 2002 10:08 am
by HUWUWA
Also, do I put the php4isapi.dll file in the win32\inetsrv folder or just in the win32 folder ? I'm gonna get this to mo-fo to work today even if it kills me :?

Posted: Sun Aug 18, 2002 11:23 am
by twigletmac
Having done this installation procedure a number of times now the best thing I can recommend (as volka did) is to read and follow the instructions in the readme file exactly. If you're just using the CGI version then you don't need to do anything with the php4isapi.dll at all.

Mac

Posted: Sun Aug 18, 2002 11:24 am
by twigletmac
Oh yeah, php.exe should live wherever the PHP installation went, eg. C:/PHP is the default. Then you point the webserver to it by setting up your extensions in IIS (check the installation file for more info).

Mac

Posted: Sun Aug 18, 2002 11:49 am
by twigletmac
New thread started on same topic. Please reply there now.

http://www.devnetwork.net/forums/viewtopic.php?t=2356

Mac