Re: [PHP-DOC] windows installation

2004-07-20 Thread Philip Olson
> > Now to get MySQL 4.0.20d to work: > > > > 7) Uncommented php_mysql.dll > > 8) Copied c:\php5\libmysql.dll to c:\WINDOWS, it works! > > > > I tried other solutions to #8 but they failed. I assumed > > PHP would look in the folder where all the other DLLs are > > but it did not. Also copyin

Re: [PHP-DOC] windows installation

2004-07-20 Thread Gabor Hojtsy
1) Downloaded PHP 5, unzipped to c:\php5 2) Added the following to httpd.conf LoadModule php5_module "c:/php5/php5apache2.dll" AddType application/x-httpd-php .php 3) Default php.ini location is c:\WINDOWS so rather than put there I set PHPRC. I didn't want to reboot Windows so set

Re: [PHP-DOC] windows installation

2004-07-20 Thread Philip Olson
I'm very new to installing on Windows but just did, here's what worked [for me] w/ PHP 5.0.0 and Apache 2.0.40, on Windows XP. Not sure if this adds anything useful to the conversation but in the very least it shows that "how to install mysql with PHP 5" needs better documentation, and how I assu

Re: [PHP-DOC] windows installation

2004-07-15 Thread Nuno Lopes
> >>3) add to httpd.conf: > >>PHPIniDir "C:/php" > > > > This is Apache 2 specific directive. I checked and it doesn't work with > > Apache 1. Bad luck... It was souding a too much perfect solution :-) > And not with other servers. We need to advise people to set PHPRC if > they are not using Ap

Re: [PHP-DOC] windows installation

2004-07-15 Thread Gabor Hojtsy
3) add to httpd.conf: PHPIniDir "C:/php" This is Apache 2 specific directive. I checked and it doesn't work with Apache 1. And not with other servers. We need to advise people to set PHPRC if they are not using Apache 2. BTW how was the moving issue with the php[45]ts.dll solved? Have I missed so

Re: [PHP-DOC] windows installation

2004-07-15 Thread Jakub Vrana
Nuno Lopes wrote: > 3) add to httpd.conf: > PHPIniDir "C:/php" This is Apache 2 specific directive. I checked and it doesn't work with Apache 1. Jakub Vrana

Re: [PHP-DOC] windows installation

2004-07-15 Thread Nuno Lopes
> If this works, then it is more than good :) BTW does PHPIniDir work for > PHP 4? > > Goba Yes! I've tested PHP 4.3.8 at it runs perfectly! Nuno P.S.: Maybe its better to add a note saying to delete the libmysql.dll file in the mysql/bin folder, so that other persons won't have the same proble

Re: [PHP-DOC] windows installation

2004-07-15 Thread Nuno Lopes
> If this works, then it is more than good :) BTW does PHPIniDir work for > PHP 4? > > Goba I don't know if PHPIniDir works for PHP 4, but I'll test it now and let you know about the results :) If nobody objects, I'll re-write the windows installation instructions today. Nuno

Re: [PHP-DOC] windows installation

2004-07-15 Thread Gabor Hojtsy
First of all, I would like to say that I've solved my problem with having to copy the libmysql.dll to the windows folder :) With Filemon, I've traced the filesystem calls, and I've found the problem: PHP was loading the libmysql.dll that was in the C:\mysql\bin folder (that is first in the path). T

[PHP-DOC] windows installation

2004-07-15 Thread Nuno Lopes
Ok, here we code for a third time :) First of all, I would like to say that I've solved my problem with having to copy the libmysql.dll to the windows folder :) With Filemon, I've traced the filesystem calls, and I've found the problem: PHP was loading the libmysql.dll that was in the C:\mysql\bin

[PHP-DOC] Windows installation instructions

2003-10-21 Thread Phil Driscoll
Can whoever looks after the windows install.txt file change the following paragraph from: If it still fails then it could be one of the following: file permissions on your php script, php.exe, php4ts.dll, php.ini or any php extensions you are trying to load are such that the anonymous interne