Professional Web Applications Themes

[PHP] PHP4 and PHP5 at one machine - PHP Development

Yes all these things I know, because already I'm running these two servers, but both with PHP4. But now I came accros the problem of "php4ts.dll". Because in both versiones it has the same name. And if I have the old one my \WINNT\SYSTEM32 the server which is running PHP5 won't start, and if i put there the newer one the one with PHP4 won't start. That's my problem. Do you know how to solve this? Milan -- ---------------------------------- Milan Reznicek Software Developer e-mail: [email]reznicekmgytool.cz[/email] "Burhan Khalid" <phplistmeidomus.com> wrote in message news:1587371732.20030709061856lists.php.net... > On Tuesday, July 8, 2003, 8:42:16 PM, ...

  1. #1

    Default Re: [PHP] PHP4 and PHP5 at one machine

    Yes all these things I know, because already I'm running these two servers,
    but both with PHP4.
    But now I came accros the problem of "php4ts.dll". Because in both versiones
    it has the same name. And if I have the old one my \WINNT\SYSTEM32 the
    server which is running PHP5 won't start, and if i put there the newer one
    the one with PHP4 won't start. That's my problem. Do you know how to solve
    this?


    Milan

    --
    ----------------------------------
    Milan Reznicek
    Software Developer

    e-mail: [email]reznicekmgytool.cz[/email]
    "Burhan Khalid" <phplistmeidomus.com> wrote in message
    news:1587371732.20030709061856lists.php.net...
    > On Tuesday, July 8, 2003, 8:42:16 PM, Milan wrote:
    >
    > MR> is there any posibility to run PHP4 and PHP5 at one machine, with
    two
    > MR> Apache servers running at the same time.
    >
    > MR> Windows 2000 SP3
    > MR> Apache 1.3.27/PHP 4.3.0
    > MR> Apache 2.0.46/PHP 5.0.0b1
    >
    > Yes it is possible. If you want both of the servers to be running at
    > one time, then you'll have to change the Listen directive on one of
    > them, since both will default to port 80. So, change one to something
    > else, like 8080. Then access it with the port number
    > [url]http://address:port[/url]
    >
    > As far as the PHP install goes, you can have two PHP installs (one for
    > each server), you just have to make sure where the .ini files are
    > stored, and that the configuration directives for PHP (such as
    > LoadModule, etc.) point to the right direction for each server.
    >
    > I also believe that the Apache Service Monitor can handle more than
    > one Apache install, so you'll have a convienient place to control your
    > servers.
    >
    > --
    > Regards,
    > Burhan Khalid
    > phplist[at]meidomus[dot]com
    > [url]http://www.meidomus.com[/url]
    >

    Milan Reznicek Guest

  2. #2

    Default RE: [PHP] PHP4 and PHP5 at one machine

    > -----Original Message-----
    > From: Milan Reznicek [mailto:reznicekmgytool.cz]
    > Sent: 09 July 2003 07:38
    >
    > Yes all these things I know, because already I'm running
    > these two servers,
    > but both with PHP4.
    > But now I came accros the problem of "php4ts.dll". Because in
    > both versiones
    > it has the same name. And if I have the old one my \WINNT\SYSTEM32 the
    > server which is running PHP5 won't start, and if i put there
    > the newer one
    > the one with PHP4 won't start. That's my problem. Do you know
    > how to solve
    > this?
    Don't put either php4apache.dll (or equivalent) or php4ts.dll in your
    Windows directory. Put the files for each version in separate directories
    specific to the version (say, C:\php\4.3.2\dlls and C:\php\5.0.0\dlls), then
    in your Apache .conf file specifically name this location in your LoadModule
    command -- for instance:

    Module php4_module c:/php/4.3.2/dlls/php4apache.dll

    This has worked fine for me for a while now.

    Cheers!

    Mike

    ---------------------------------------------------------------------
    Mike Ford, Electronic Information Services Adviser,
    Learning Support Services, Learning & Information Services,
    JG125, James Graham Building, Leeds Metropolitan University,
    Beckett Park, LEEDS, LS6 3QS, United Kingdom
    Email: [email]m.fordlmu.ac.uk[/email]
    Tel: +44 113 283 2600 extn 4730 Fax: +44 113 283 3211
    Mike Ford Guest

  3. #3

    Default Re: [PHP] PHP4 and PHP5 at one machine

    Well, it is not possible to run two seperate php4ts.dll file in the same
    file path with the same file name even though they have different version.
    One workaround to it would be to compile the older version into a different
    file name while making sure the script point to that different file name but
    it got to be tough to do that. Because you'll be modifying the codes and
    compile it, into windows files and so on.

    "Milan Reznicek" <reznicekmgytool.cz> wrote in message
    news:20030709063928.35104.qmailpb1.pair.com...
    > Yes all these things I know, because already I'm running these two
    servers,
    > but both with PHP4.
    > But now I came accros the problem of "php4ts.dll". Because in both
    versiones
    > it has the same name. And if I have the old one my \WINNT\SYSTEM32 the
    > server which is running PHP5 won't start, and if i put there the newer one
    > the one with PHP4 won't start. That's my problem. Do you know how to solve
    > this?
    >
    >
    > Milan
    >
    > --
    > ----------------------------------
    > Milan Reznicek
    > Software Developer
    >
    > e-mail: [email]reznicekmgytool.cz[/email]
    > "Burhan Khalid" <phplistmeidomus.com> wrote in message
    > news:1587371732.20030709061856lists.php.net...
    > > On Tuesday, July 8, 2003, 8:42:16 PM, Milan wrote:
    > >
    > > MR> is there any posibility to run PHP4 and PHP5 at one machine,
    with
    > two
    > > MR> Apache servers running at the same time.
    > >
    > > MR> Windows 2000 SP3
    > > MR> Apache 1.3.27/PHP 4.3.0
    > > MR> Apache 2.0.46/PHP 5.0.0b1
    > >
    > > Yes it is possible. If you want both of the servers to be running at
    > > one time, then you'll have to change the Listen directive on one of
    > > them, since both will default to port 80. So, change one to something
    > > else, like 8080. Then access it with the port number
    > > [url]http://address:port[/url]
    > >
    > > As far as the PHP install goes, you can have two PHP installs (one for
    > > each server), you just have to make sure where the .ini files are
    > > stored, and that the configuration directives for PHP (such as
    > > LoadModule, etc.) point to the right direction for each server.
    > >
    > > I also believe that the Apache Service Monitor can handle more than
    > > one Apache install, so you'll have a convienient place to control your
    > > servers.
    > >
    > > --
    > > Regards,
    > > Burhan Khalid
    > > phplist[at]meidomus[dot]com
    > > [url]http://www.meidomus.com[/url]
    > >
    >
    >

    Scott Fletcher Guest

Similar Threads

  1. XML package for PHP4 and PHP5
    By Zurab Davitiani in forum PHP Development
    Replies: 0
    Last Post: September 16th, 12:47 AM
  2. PHP4 => PHP5 ???????????? What to do?
    By Slao in forum PHP Development
    Replies: 1
    Last Post: May 24th, 08:23 PM
  3. OOP, PHP4 & PHP5
    By Mike Brum in forum PHP Development
    Replies: 2
    Last Post: July 27th, 02:09 AM
  4. php5 + php4 on same server
    By Comex in forum PHP Development
    Replies: 4
    Last Post: July 26th, 12:38 PM
  5. php4 vs php5
    By Robert Janeczek in forum PHP Development
    Replies: 2
    Last Post: July 24th, 02:55 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139