> > Yep.  PHP 3 and PHP 4 have different apache directives.  PHP 3
> uses a whole
> > list of special directives.  PHP 4 has just a few, and you use them to
> > the values of config variables.
> >
> > Leon
>
> well, I'll have to do more reading but if there are *more* available in
> php 3 than 4 why would that be a reason it works in 4 and not 3?  I had
> thought that when I install FT on the other server it was still 3 but it
> might have been upgraded to 4 at that point...
>
> Christie, very confused!

The key point is that they are completely different.  Here's a quote from
the part of the manual on configuration
<http://www.php.net/manual/configuration.php>:

"When using PHP as an Apache module, you can also change the configuration
settings using directives in Apache configuration files and .htaccess
files."

"With PHP 3.0, there are Apache directives that correspond to each
configuration setting in the php3.ini name, except the name is prefixed by
"php3_"."

"With PHP 4.0, there are just a few Apache directives that allow you to
change the PHP configuration settings. "

So, in PHP 4 you say

php_value magic_quotes_gpc 0

in PHP 3 you say

php3_magic_quotes_gpc 0


Leon





------------------------------------------------------------
To subscribe:    [EMAIL PROTECTED]
To unsubscribe:  [EMAIL PROTECTED]
Site:            http://www.working-dogs.com/freetrade/
Problems?:       [EMAIL PROTECTED]

Reply via email to