Re: how use php4 / php5 in localhost



I read a solution
that use PHP 5 how CGI on Apache port dedicated

Yes, that would be another solution. I have not tried it, though.

so the php4 can it used how module;

On my server (I'm using XAMPP), PHP is also running as a module, so you can
have that in addition to the CGI versions. Is it really necessary for you to
have PHP run as a module?


no; but now I have php4 installed how module and my applications work; so
now I not want change (only because if I have some difficulty I not know if
simple return at previous settings);
also I not know if when one application run on php cgi is possible that
some application not run more (I am not an php expert so not know potential
problmes);
also I know that moduel is more fast but not know if this is so important
for small applications in localhost;





[Apache configuration using two different ports]
think is onoother good solutions?

As I said, I have never tried this solution. To me, it seems a bit
complicated (what if you want more than two PHP versions?), but it really
depends on your specific needs.


not more than two; only two;
a question when you move an application from php cgi to server you on
server use module ? and you had some problems?



.



Relevant Pages

  • Re: Running PHP 4 & PHP 5 together as modules
    ... Most people coding for 5 should be prepared to deal with a CGI environment ... Yes, thanks, but as you know running CGI is a lot more server ... PHP runs as ...
    (comp.lang.php)
  • Re: Running PHP 4 & PHP 5 together as modules
    ... Not so bad running v4 as a module and v5 as CGI, ... Most people coding for 5 should be prepared to deal with a CGI environment ... Yes, thanks, but as you know running CGI is a lot more server ... PHP runs as ...
    (comp.lang.php)
  • Re: PHP under CGI Directory
    ... I ran phpInfoand I saw the PHP version on the server is 3.0.3 built ... MySQL module when they compiled PHP. ... > PHP scripts under CGI directory sounds like to have a mule to pull ... >> upload must be put under the CGI directory. ...
    (comp.lang.php)
  • Re: login script question in a PHP-CGI environment
    ... Viking wrote: ... > The server that the script will run on has the following settings: ... > fact that PHP is running as a CGI? ...
    (comp.lang.php)
  • Re: What websites use Lisp?
    ... languages, frameworks, and libraries are used by various websites. ... languages for their CGI applications, my personal answer is that I ... In the future I plan to switch to PHP for the ... different alias to that script for each user online at a given ...
    (comp.lang.lisp)