NYCPHP Meetup

NYPHP.org

[joomla] question about php 4 and php 5

Mitch Pirtle mitch.pirtle at gmail.com
Sun Feb 22 15:24:03 EST 2009


"This is from my host's website:"

You need a new host, or at least one that knows the difference between
apache and an apache module. Holy smokes, I thought we made crack
cocaine illegal?

-- Mitch, shaking head

On Sun, Feb 22, 2009 at 2:26 PM, Mark Simko <masimko at verizon.net> wrote:
> This is from my host's website:
>
> With Linux hosting packages you have the choice between PHP 4 and
> PHP 5. To distinguish a script as PHP 5, simply name the script with the
> file
> extension .php5.
>
> Please note that in contrast to PHP 4, the default for the variable
> RegisterGlobals and allow_url_fopen is "off".
>
> By default Apache uses PHP 4 for .php extension. If you don't want to
> rename all your
> scripts to .php5 you can do the following:
> Create a .htaccess file and place the following line AddType
> x-mapp-php5 .php in it.
>
> This will tell Apache to use PHP 5 instead of PHP 4 for the
> extension .php in the
> directory the .htaccess is placed and all sub-directories under it.
>
> Hopefully that will help you too.
>
> Mark
>
> _______________________________________________
> New York PHP SIG: Joomla! Mailing List
> http://lists.nyphp.org/mailman/listinfo/joomla
>
> NYPHPCon 2006 Presentations Online
> http://www.nyphpcon.com
>
> Show Your Participation in New York PHP
> http://www.nyphp.org/show_participation.php
>



More information about the Joomla mailing list