Re: PHP5beta2 - anyone successfully installed in

From: andrea (techref_at_despammed.com)
Date: 11/06/03


Date: Thu, 6 Nov 2003 11:52:54 +0100

I did it, and actually i'm running both php 4.3.4 and php5 beta 2 on windows
xp with apache2 as http server
Of course they are running as cgi, not apache module
To install successfully as apache module, you need to copy both
php4apace2.dll and php4ts.dll in the {APACHE INSTALL DIR}/modules directory.
Then make changes in the config files and copy php.ini in {WINDOWS}
(first of all remeber to delete any old .dll's from php 4 in apache dirs or
windows and windows/system32 dir)
If you haven't make mistakes, you will only need to restart apache2

I think it's better to install php as cgi, even because you may have both
stable and beta version
Simply use 2 different folders (eg php and php5) and in apache config files
use standard extensions for php4 cgi and create a new php5 extension for
beta version
Remember to copy all the dll in {php}/dll to php path, to edit the extension
command in php.ini and, very important, do not put your php.ini in {windows}
but leave it in the same path as php.exe.
Thus you will have a different ini file for php4 and php5.
If you should have any trouble with mysql in php5 (i dont have any, indeed)
probably it's because you need to enable php extension for mysql in php.ini
and copy libmysql.dll in {PHP}path (ias i've done, but it is not a pleasant
solution) or in windows/system32 (probably the best way)

Everything shuld work fine (on my pc it does)

Hope this will help you
Regards
Andrea



Relevant Pages

  • Re: Developing PHP under Windows - Why?
    ... Windows 2000, Apache 2, Microsoft SQL Server, and PHP. ... We went with the Windows route mainly for human resource reason. ... I knew virtually nothing about Linux at the time - and very little about Apache. ...
    (comp.lang.php)
  • Re: PHP5 install in Windows Vista
    ... need, purely for convenience, to set up a parallel platform under Windows. ... I suppose you're using a recent installer (older ones were broken in Vista ... not even PHP). ... You must use proper DLL from PHP installation, not from Apache. ...
    (comp.lang.php)
  • Re: [: -le: argument expected
    ... I chose to look at the possibility of using Apache ... Regardless of the errors you reported, I believe changing the MPM is a problem. ... I would argue that I am not seeing php5 using anthing regarding my ... That said, with problems like this, I just reckon that it's best to start simple i.e. setup apache in the known good way and then get php working. ...
    (freebsd-stable)
  • Re: Apache 2.2.2 and PHP 5.1.4 on Win2k crashing
    ... Everything works except PHP: when starting Apache, ... pops out a message saying that it is unable to locate the module (even ... I'm running XAMPP fine on Windows XP ...
    (comp.lang.php)
  • Re: PHP is looking for php.ini file in c:windows
    ... Configuration File - C:\WINDOWS ... Be sure to restart your PC, since Apache needs to read this env var ... when using PHP as CGI" ... WINDOWS nor anything in the REGISTRY. ...
    (comp.lang.php)