You are here: Re: how use php4 / php5 in localhost « All PHP « IT news, forums, messages
Re: how use php4 / php5 in localhost

Posted by Thomas Mlynarczyk on 10/30/07 17:40

Also sprach artev:

> 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);

Just make a backup of your httpd.conf. Then it's no problem to switch back.
(Just remember to restart Apache.) I have simply added an Include directive
to the httpd.conf file to load my additional config with the CGI settings.
If anything should go wrong, I can either comment out the include or replace
the included file with an empty one.

> 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);

It is true that there are a few things one cannot do with the CGI version,
like HTTP authentication or setting PHP config values or flags in an
..htaccess file, but if your application does not make use of either, I see
no problem.

> also I know that moduel is more fast but not know if this is so
> important for small applications in localhost;

Yes, the module version is faster (as it is loaded only once when Apache
starts). But there are many other factors that influence the speed, so I do
not think this issue is of much importance.

> a question when you move an application from php cgi to server you on
> server use module ? and you had some problems?

An application that runs fine under CGI should run fine under a PHP module.
I've never had any problems with that. Just give it a try!

Greetings,
Thomas

--
C'est pas parce qu'ils sont nombreux à avoir tort qu'ils ont raison!
(Coluche)

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация