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

From: Date: Thu, 28 Jun 2012 17:50:06 +0000
Subject: Re: Depreciation message I can't make out....
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-318331@lists.php.net to get a copy of this message
"Gary Lebowitz" <gurqinfo@gmail.com> wrote in message news:CAFbVBik1Ga9eYXKStPsHxK+DDFax0fQoy-GNPDYMFL_26_gHzA@mail.gmail.com... > 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.

« previous php.general (#318331) next »