Browsing all articles tagged with date
Feb
27

Strict Standards: date() [function.date] Error

I was installing NagVis when I came across this weird message:

Strict Standards: date() [function.date]: It is not safe to rely on the system’s timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected ‘UTC’ for ‘GMT/0.0/no DST’ instead in /usr/local/nagios/nagvis/nagvis/includes/classes/objects/NagVisStatefulObject.php on line 360

It clearly says that I should check the timezone, which I did. But there’s nothing wrong with time or date. ntpd is running and it set the correct timezone so what could be wrong?

If you are reading this then probably you are seeing this error too. To fix this, open your php.ini using your favourite text editor (like vi) and add this line:

date.timezone=UTC

Take note that depending on how you installed php, it could be in /etc/php.ini (RedHat) or /etc/php5/apache2/php.ini (SLES) or if compiled, /usr/local/php5/php.ini.

You need to restart Apache for changes to take effect.

Apr
6

Tips: SSL Certificate Checker

If you have one too many SSL certificates to manage, there is one nifty program made with Bash that can determine a certificate’s validity.

SSL Certificate Expiration Check can do that for you and send the results to email. The program’s “send to email” feature allows the user to simply add it to cron to check the certificates and send an alert to the administrator if any certificate (from file or website) falls below the set expiration date.

The source can be downloaded here.

Mar
4

Apple MacBook Can Get You A Hot Date

According to Cosmo, which is NEVER wrong, girls looking to find a single man need look no further than their local Apple Store.  That’s right. Thanks to sky-high Mac and iPod sales, Apple’s 142 Stores have made Cosmo’s short list of the The Best Places to Meet a Guy. Although, if Cosmo’s readers look anything like their cover girl, odds are they could meet a man at a Girl Scout meeting. So, what’s the Apple Store’s draw?

” Most guys are natural gadget lovers, and with sales of iPods and MacBooks skyrocketing, more men than ever are stopping by Apple boutiques. The vibe at the stores is conducive to man meeting too: You can check your email among cuties, take a free workshop on anything from Photoshop to podcasting (a great opportunity to strike up a conversation), or just survey the, ahem, good-looking merchandise.”

Cosmo’s other two brilliant suggestions for locations are at “The Gym” and at “A Fortune 500 Company”. Out of these 3 choices, the Apple Store certainly seems like the least shallow location, if not one with the hottest guys.

I can’t say I ever noticed “hot” guys at the Apple Store, but I admit I wasn’t looking. So, if you’re a single Mac Chick into “checking your e-mail among cuties”, head over to the Apple Store.

Source: macenstein.com

Powered by 1and1.comGlobat Webhosting Earn with Your BlogAdvertise @ PinoyTux

Search PinoyTux

Subscribe to Email Feeds

Enter Email Address:

Blog Lounge

Popular Posts

Recent Posts

Drop your Card Here

Recent Comments

Site Stats