Re: 5 or 6?
| From: | Arnold Daniels | Date: | Fri, 01 Jun 2007 13:48:21 +0000 |
| Subject: | Re: 5 or 6? | ||
| References: | 1 2 3 4 5 6 7 8 9 10 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-30030@lists.php.net to get a copy of this message | ||
Sure you're right. I always build the SAPI alone, which is the debian style. So in my mind this was always the case, but in fact it is not.
Anyway I think a '--libary-suffix' would do the trick nicely.
Best regards,
Arnold
Jani Taskinen wrote:
It's actually not the only binary/script that is build. --program-suffix|prefix affect also phpize, etc. scripts names. And AFAIK, CLI binary is always build unless of course you disable it. :) Patches are welcome. --Jani Arnold Daniels kirjoitti:When you build the Apache2 SAPI the only binary build is the module, so '--program-suffix' is unused. Anyway it doesn't have to be the same configuration option per say (though I don't see why not), but the method of specifying the suffix with configure is much handier than having it hard-coded in source. I've stated the reasons in the previous e-mail. Best regards, Arnold Jani Taskinen wrote:Because it's --program-suffix and not --library-suffix. --Jani On Fri, 2007-06-01 at 11:29 +0200, Arnold Daniels wrote:Hi, Why isn't the Apache module appended with the same suffix as the other binaries (configuration option --program-suffix). It seems like the logical solution here. That way you can have any different versions if you want, but the default is just the overwrite. Best regards, Arnold Stanislav Malyshev wrote:Well, there was a setting that kinda allowed that, but I'm not sure it ever worked correctly - there are all sorts of symbol clashes, etc. On the other hand, you can happily run two (or a dozen :) PHP versions right now - just install any FastCGI implementation, compile two cgi-fcgi PHPs and install. Only thing you would need to care about is to give them separate php.ini's and/or separate extension directories.I'd rather not have my old libphp#.so file over-written when I install a new version, in case things go horribly wrong and I want to just roll-back...Then you have the same reason to worry right now - every php5 install from 5.0.0 to 5.2.3 overwrites libphp5.so.eh?There was a time where one could have 2 php mod versions running at once, as I recall, and having different filenames was kinda important,