Re: Depreciation message I can't make out....

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"Gary Lebowitz" <gurqinfo@xxxxxxxxx> wrote in message 
news:CAFbVBik1Ga9eYXKStPsHxK+DDFax0fQoy-GNPDYMFL_26_gHzA@xxxxxxxxxxxxxx...
> Hi,
>
> I am running Moodle 2.2.3 and using PHP 5.3 on a Linux server with GoDaddy
> and am getting the message about "depreciation" after having typed the
> following command into their cron job manager:
> /web/cgi-bin/php5_3 "$HOME/html/moodle223a/admin/cli/cron.php"
>
> PHP Deprecated:  Comments starting with '#' are deprecated in
> /web/conf/php5.ini on line 1256 in Unknown on line 0
> PHP Deprecated:  Comments starting with '#' are deprecated in
> /web/conf/php5.ini on line 1257 in Unknown on line 0
> <br />
> <b>Deprecated</b>:  Directive 'magic_quotes_gpc' is deprecated in PHP 5.3
> and greater in <b>Unknown</b> on line <b>0</b><br />
> Content-type: text/html
>
> GoDaddy says that I am using a command that is not adapted to version 5.3
> of PHP, but they suggested I contact you to fix it. Also, I do not believe
> I have access to php5.ini; only they do. But I would need to tell them how
> to fix this issue. And no one at Moodle.org seems to be able to help.
> Perhaps it's a Moodle thing; perhaps not, but I thought it wise to contact
> you. By the way, this message is only sent to me when using version 5.3 of
> PHP; I have another Moodle site using 5.2 and things go perfectly well,
> without this message.
>
> Regards,
>

It's "deprecated", not depreciated.  That said - magic quotes were marked 
for "deprecation" a while ago, so you should be prepared to stop expecting 
them in your appls.  As for the # sign, apparently it is no longer a valid 
char for comments (deprecated).  Remove the magci quotes setting and change 
your # chars to // or whatever pleases you for your comments. 



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux