Tools: php-malware-finder - Detect potentially malicious PHP files         

          PHP / Drupal Developer - Zurka Interactive        
Vienna, VA - We're looking for an outstanding PHP and/or Drupal Developer to join a group of sharp people doing interesting and sometimes challenging work.
You will be building web-based applications and web sites for commercial, non-profit, and government clients.
          Senior PHP / Drupal Developer - Zurka Interactive        
Vienna, VA - We're looking for an experienced outstanding PHP and/or Drupal Developer to join a group of sharp people doing interesting and sometimes challenging work. You will be building applications and web sites for commercial, non-profit, and government clients.
          Comment on PHP PDF generators compare review by Sam        
Thanks for the comparison. This is an old blog, but it's still hard to find a good comparison of PDF generation options. Codecourse on YouTube seems to have a good option of snapshotting a rendered phantom.js page...hope I said that right.
          Comment on PHP PDF generators compare review by Joe Johnson        
Ok - this is useful. PHP really needs a good PDF generator library. Even a paid product will do fine and be welcomed.
          5 Best Joomla Security Extensions For You to Breathe Easy        

Apart from WordPress and Drupal content management systems, Joomla is the most popular CMS used all over the world to power websites of all sorts and sizes. Just like any other open-source CMS, Joomla powered sites also have to deal with hacking attacks. In fact, almost every day Joomla powered site encounter callous hackers who mutilate website pages, upload backdoors and steal or delete sensitive information. And sadly, most of the attacks cost website owners substantial amount of time and money in getting the damage fixed. And so, it becomes needful for website owners take all the possible measures into account that helps to strengthen security of their Joomla site.

In this post we have come up with a list of remarkably useful Joomla extensions that helps to secure your Joomla website. 



jHackGuard is an extension designed by Siteground that helps to protect the websites of Joomla users from being hacked. The extension is made publicly available to Joomla site owners, irrespective of whether they're using Siteground hosting services or not. This extension is a blend of a security plugin (that does the system work) and component (that helps to handle configurations) – that helps to protect a Joomla site by filtering the user's input data and integrating more PHP security settings. But, the plugin is disabled so that filters don't prevent authenticated administrators from performing their administrative tasks.

jHackGuard is compatible with Joomla version 3 and higher. And so, if you want to protect your site security running on an older Joomla version, you can choose to download the appropriate versions of jHackGuard for the older Joomla versions such as jHackGuard for Joomla 1.5 or other.

Akeeba Backup

          Snížení paměťových nároků až o 20 %        

Pure PHP Localization…ocalization/

Converts gettext binary message catalogs to an array of strings. Allows to save some amount of RAM on a shared hosting server. Works with plugin and theme textdomains as well as with the default.

Vhodné zejména […]

          freddie@... [2005-04-06 01:03:55]        
Mail related Bug
Reported by freddie@...
Wed, 06 Apr 2005 01:03:55 +0000
PHP: 5.0.4, OS: Win32

A new bug has been introduced with the bug fix listed at

The above fix attempts to set a reverse-path based on the From: header if sendmail_from is undefined.

The problem with this is that the From: header is taken verbatim and not formatted to the RFC 2822 specification.

This results in the email being rejected by the server.

Reproduce code:

$headers .= "From: \"Example User\" <>";

PHP will then set  the RPath to "\"Example User\" <>" when it should be "<>"

Expected result:
Line 440 win32/sendmail.c:

snprintf(Buffer, MAIL_BUFFER_SIZE, "MAIL FROM:<>\r\n", RPath);

Actual result:
Line 440 win32/sendmail.c:

snprintf(Buffer, MAIL_BUFFER_SIZE, "MAIL FROM:<Example User <>>\r\n", RPath);


(In [12444]) Fix typo in edit-tags.php (proper patch), props nacin, fixes #11350 for trunk


(In [12445]) Fix typo in edit-tags.php (proper patch), props nacin, fixes #11350 for 2.9

          keywords set        
  • keywords needs-patch added

The category template can exist in two forms: a generic category.php file, and a category-$cat_id.php file. A number of other template calls follow the same pattern. What should the order of precedence be?

The child theme's category-$cat_id.php should clearly be looked for first, and the parent theme's category.php file last. However, it is not obvious which of the other two variations should take precedence over the other: the child theme's generic category.php file, or the parent theme's specific category-$cat_id.php file. My preference would be for the latter, but there may be dissenting views.

          Comment on Security Update by Gerardo del Río        
Hi, I replaced thumb.php file but now I have some problems, I can't see the thumbs in may site
          Running with Scissors! at the CDPHP Workforce Team Challenge        

On your mark, get set, go! The Orlo School of Hair Design and Cosmetology took... Read more »

The post Running with Scissors! at the CDPHP Workforce Team Challenge appeared first on Orlo.

          Affordable Summer Weekend Getaways With 'Sunday Craze' Deal From Seda Hotel NUVALI        
Seda NUVALI launches its Sunday Craze Deal, making NUVALI in Laguna a most irresistible weekend destination this summer. Rates start at PHP 3,500++. Promo runs until May 31, 2015.
          [news] "2004 State of Application Development"        
Friday, August 13, 2004
Dateline: China
Special issues of journals and magazines are often quite good -- if you're into the subject matter.  But the current issue of VARBusiness is absolutely SUPERB!!  EVERY SYSTEMS INTEGRATOR SHOULD READ IT ASAP -- STOP WHAT YOU'RE DOING AND READ THIS ISSUE!!  (Or, at the very least, read the excerpts which follow.)  See .  They even have the survey results to 36 questions ranging from change in project scope to preferred verticals.  In this posting, I'm going to comment on excerpts from this issue.  My comments are in blue.  Bolded excerpted items are MY emphasis.
The lead article and cover story is titled, "The App-Dev Revolution."  "Of the solution providers we surveyed, 72 percent say they currently develop custom applications or tailor packaged software for their customers. Nearly half (45 percent) of their 2003 revenues came from these app-dev projects, and nearly two-thirds of them expect the app-dev portion of total revenue to increase during the next 12 months."  I view this as good news for China's SIs; from what I've observed, many SIs in China would be a good fit for SIs in the U.S. looking for partners to help lower their development costs.  "By necessity, today's solution providers are becoming nimbler in the software work they do, designing and developing targeted projects like those that solve regulatory compliance demands, such as HIPAA, or crafting wireless applications that let doctors and nurses stay connected while they roam hospital halls."  Have a niche; don't try to be everything to everyone.  "Nine in 10 of survey respondents said their average app-dev projects are completed in less than a year now, with the smallest companies (those with less than $1 million in revenue) finishing up in the quickest time, three months, on average."  Need for speed.  "The need to get the job done faster for quick ROI might explain the growing popularity of Microsoft's .Net framework and tools.  In our survey, 53 percent of VARs said they had developed a .Net application in the past 12 months, and 66 percent of them expect to do so in the coming 12 months."  My Microsoft build-to-their-stack strategy.  "Some of the hottest project areas they report this year include application integration, which 69 percent of VARs with between $10 million or more in revenue pinned as their busiest area.  Other top development projects center around e-commerce applications, CRM, business-intelligence solutions, enterprisewide portals and ERP, ..."  How many times have I said this?    "At the same time, VARs in significant numbers are tapping open-source tools and exploiting Web services and XML to help cut down on expensive software-integration work; in effect, acknowledging that application development needs to be more cost-conscious and, thus, take advantage of open standards and reusable components.  Our survey found that 32 percent of VARs had developed applications on Linux in the past six months, while 46 percent of them said they plan to do so in the next six months.  The other open-source technologies they are using today run the gamut from databases and development tools to application servers."  I guess there's really an open source strategy.  I come down hard on open source for one simple reason:  I believe that SIs in China could get more sub-contracting business from a build-to-a-stack strategy.  And building to the open source stack isn't building to a stack at all!!  "As a business, it has many points of entry and areas of specialization.  Our survey participants first arrived in the world of app dev in a variety of ways, from bidding on app-dev projects (45 percent) to partnering with more experienced developers and VARs (28 percent) to hiring more development personnel (31 percent)."  For SIs in China, simply responding to end-user RFQs is kind of silly.  Better to partner on a sub-contracting basis.  "According to our State of Application Development survey, health care (36 percent), retail (31 percent) and manufacturing (30 percent) ranked as the most popular vertical industries for which respondents are building custom applications.  Broken down further, among VARs with less than $1 million in total sales, retail scored highest, while health care topped the list of midrange to large solution providers."  Because of regulatory issues, I'm not so keen on health care.  I'd go with manufacturing followed by retail.  My $ .02.  "When it comes to partnering with the major platform vendors, Microsoft comes out the hands-on winner among ISVs and other development shops.  A whopping 76 percent of developers in our survey favored the Microsoft camp.  Their level of devotion was evenly divided among small, midsize and large VARs who partner with Microsoft to develop and deliver their application solutions.  By contrast, the next closest vendor is IBM, with whom one in four VARs said they partner.  Perhaps unsurprisingly, the IBM percentages were higher among the large VAR category (those with sales of $10 million or more), with 42 percent of their partners coming from that corporate demographic.  Only 16 percent of smaller VARs partner with IBM, according to the survey.  The same goes for Oracle: One-quarter of survey respondents reported partnering with the Redwood Shores, Calif.-based company, with 47 percent of them falling in the large VAR category.  On the deployment side, half of the developers surveyed picked Windows Server 2003/.Net as the primary platform to deliver their applications, while IBM's WebSphere application server was the choice for 7 percent of respondents.  BEA's WebLogic grabbed 4 percent, and Oracle's 9i application server 3 percent of those VARs who said they use these app servers as their primary deployment vehicle."  Microsoft, Microsoft, Microsoft.  Need I say more?  See .
The next article is on open source.  "Want a world-class database with all the bells and whistles for a fraction of what IBM or Oracle want?  There's MySQL.  How about a compelling alternative to WebSphere or WebLogic?  Think JBoss.  These are, obviously, the best-known examples of the second generation of open-source software companies following in the footsteps of Apache, Linux and other software initiatives, but there are far more alternatives than these.  Consider Zope, a content-management system downloaded tens of thousands of times per month free of charge, according to Zope CEO Rob Page.  Some believe Zope and applications built with Zope are better than the commercial alternative they threaten to put out of business, Documentum.  Zope is also often used to help build additional open-source applications.  One such example is Plone, an open-source information-management system.  What began as a fledgling movement at the end of the past decade and later became known as building around the "LAMP stack" (LAMP is an acronym that stands for Linux, Apache, MySQL and PHP or Perl) has exploded to virtually all categories of software.  That includes security, where SpamAssassin is battling spam and Symantec, too.  Popular?  Well, it has now become an Apache Software Foundation official project.  The use of open source is so widespread that the percentage of solution providers who say they partner with MySQL nearly equals the percentage who say they partner with Oracle"23 percent to 25 percent, respectively.There are plenty of choices for those SIs willing to play the open source game.  See .
"It's all about integration" follows.  "There are many reasons for the surge in application-development projects (the recent slowdown in software spending notwithstanding).  For one, many projects that were put on hold when the downturn hit a few years ago are now back in play.  That includes enterprise-portal projects, supply-chain automation efforts, various e-commerce endeavors and the integration of disparate business systems."  Choose carefully, however.  Balance this data with other data.  Right now, I see a lot more play with portals and EAI.  "Indeed, the need for quality and timely information is a key driver of investments in application-integration initiatives and the implementation of database and business-intelligence software and portals.  A healthy majority of solution providers say application integration is a key component of the IT solutions they are deploying for customers.  According to our application-development survey, 60 percent say their projects involved integrating disparate applications and systems during the past 12 months."  "Some customers are moving beyond enterprise-application integration to more standards-based services-oriented architectures (SOAs).  SOAs are a key building block that CIOs are looking to build across their enterprises."  Anyone who regularly reads any one of my three IT-related blogs knows that I'm gung-ho on SOAs.  "Even if your customers are not looking for an SOA, integrating different systems is clearly the order of the day.  To wit, even those partners that say enterprise portals or e-business applications account for the bulk of their business note that the integration component is key."  Yes, integration, integration, integration.  I'll be saying this next year, too.  And the year after ...  "Another way to stay on top of the competition is to participate in beta programs."  Absolutely true -- and a good strategy, too.  See .
The next article is on utility computing versus packaged softwareAgain, if you read what I write, you know that I'm also gung-ho on utility computing.  "According to VARBusiness' survey of application developers, more than 66 percent of the applications created currently reside with the customer, while 22 percent of applications deployed are hosted by the VAR.  And a little more than 12 percent of applications developed are being hosted by a third party.   Where services have made their biggest inroads as an alternative to software is in applications that help companies manage their customer and sales information.The article goes on to state that apps that are not mission-critical have the best chance in the utility computing space.  Time will tell.  Take note, however, that these are often the apps that will most likely be outsourced to partners in China.  "Simply creating services from scratch and then shopping them around isn't the only way to break into this area.  NewView Consulting is expanding its services business by starting with the client and working backward.  The Porter, Ind.-based security consultant takes whatever technology clients have and develops services for them based on need."   And focus on services businesses and .NET, too.  "Most application developers agree that services revenue will continue to climb for the next year or two before they plateau, resulting in a 50-50 or 60-40 services-to-software mix for the typical developer.  The reason for this is that while applications such as CRM are ideally suited to services-based delivery, there are still plenty of other applications that companies would prefer to keep in-house and that are often dependent on the whims of a particular company."  Still, such a split shows a phenomenal rise in the importance of utility computing offerings.  See .
Next up:  Microsoft wants you!!  (Replace the image of Uncle Sam with the image of Bill Gates!!)  Actually, the article isn't specifically about Microsoft.  "Microsoft is rounding up as many partners as it can and is bolstering them with support to increase software sales.  The attitude is: Here's our platform; go write and prosper.  IBM's strategy, meanwhile, is strikingly different.  While it, too, has created relationships with tens of thousands of ISVs over recent years,  IBM prefers to handpick a relatively select group, numbering approximately 1,000, and develop a hand-holding sales and marketing approach with them in a follow-through, go-to-market strategy."  Both are viable strategies, but NOT both at the same time!!  "To be sure, the results of VARBusiness' 2004 State of Application Development survey indicates that Microsoft's strategy makes it the No. 1 go-to platform vendor among the 472 application developers participating in the survey.  In fact, more than seven out of 10 (76 percent) said they were partnering with Microsoft to deliver custom applications for their clients.  That number is nearly three times the percentage of application developers (26 percent) who said they were working with IBM ..."  Percentages as follows:  Microsoft, 76%; IBM, 26%; Oracle, 25%; MySQL, 23%; Red Hat, 17%; Sun, 16%; Novell, 11%; BEA, 9%.  I said BOTH, NOT ALL.  Think Microsoft and IBM.  However, a Java strategy could be BOTH a Sun AND IBM strategy (and even a BEA strategy).  See .
There was another article I liked called, "How to Team With A Vendor," although it's not part of the app-dev special section per se.  This posting is too long, so I'll either save it for later or now note that it has been urled.  See .  Also a kind of funny article on turning an Xbox into a Linux PC.  See .  See also .
Quick note:  I'll be in SH and HZ most of next week, so I may not publish again until the week of the 23rd.
David Scott Lewis
President & Principal Analyst
IT E-Strategies, Inc.
Menlo Park, CA & Qingdao, China (current blog postings optimized for MSIE6.x) (access to blog content archives in China) (current blog postings for viewing in other browsers and for access to blog content archives in the US & ROW) (AvantGo channel)
To automatically subscribe click on .

          NEDA Board okays Php 17.9 B worth of new projects        
By Joann Santiago MANILA, Dec. 16 (PNA) — The National Economic Development Authority (NEDA) Board on Wednesday approved Php 17.9-billion worth of new projects. Presidential Communications Operations Office (PCOO) Secretary...
因为个别需要ECS上安装了两个版本的PHP 5.3和7.1 都知道的7.1的速度比5.3提高了应该要有2-3倍 […]
          "It's Not A Game!"        
As Josh says, this is "Exactly the case he needs to be making on TV and in some events around the country."

Here's the full speech.

Here's the transcript.
          Requesting a code review: MQTT, Adafruit IO, Scroll bot, et al. (Python)        

@LimeBlast wrote:

Howdy folks, I'm hoping someone here might be able to give some code I've written a once over, please?

I picked up a scroll bot kit last week and decided I wanted to use it in collaboration with the MQTT features of Adafruit IO. Before I go any further, here's what I've ended up with:

# Example of using the MQTT client class to subscribe to and publish feed values.
# Author: Tony DiCola

# Import standard python modules.
import random
import sys
import time
import threading
import os
# import signal

# Import Adafruit IO MQTT client.
from Adafruit_IO import MQTTClient

# Import scrollphathd
import scrollphathd
from scrollphathd.fonts import font5x7

import settings


messages = []

def add_message(string):

def display_feed():
    while True:
        if len(messages) > 0:
            print('There are {0} messages waiting for display'.format(len(messages)))

def display_string(string):
    string += '      '
    buffer = scrollphathd.write_string(string, x=17, y=0, font=font5x7, brightness=0.5)

    for i in range(buffer):

    scrollphathd.scroll_to(0, 0)

# Define callback functions which will be called when certain events happen.
def connected(client):
    # Connected function will be called when the client is connected to Adafruit IO.
    # This is a good place to subscribe to feed changes.  The client parameter
    # passed to this function is the Adafruit IO MQTT client so you can make
    # calls against it easily.
    print('Connected to Adafruit IO!  Listening for Message changes...')
    # Subscribe to changes on a feed named Message.

def disconnected(client):
    # Disconnected function will be called when the client disconnects.
    print('Disconnected from Adafruit IO!')

def message(client, feed_id, payload):
    # Message function will be called when a subscribed feed has a new value.
    # The feed_id parameter identifies the feed, and the payload parameter has
    # the new value.
    print('Feed {0} received new value: {1}'.format(feed_id, payload))

# Create an MQTT client instance.

# Setup the callback functions defined above.
client.on_connect = connected
client.on_disconnect = disconnected
client.on_message = message

# Connect to the Adafruit IO server.

# Now the program needs to use a client loop function to ensure messages are
# sent and received.  There are a few options for driving the message loop,
# depending on what your program needs to do.

# The first option is to run a thread in the background so you can continue
# doing things in your program.


This is the end result of three of four different source examples all copy/pasted together into something which works, but can, no doubt, be improved upon.

In fact, just looking at it now, it's become clear that I don't need to put the display_feed function into its own thread, as I think it can quite happily sit at the bottom of the script, looping to its heart's content. (I've ended up with this threaded approach because, in my original take, the feed values were being populated by the same script, as you can see here).

Anyway, the script above does two things. First is registers itself via MQTT to the Adafruit IO broker service as a subscriber to the Message feed. Every time the feed has a new payload (which, for testing purposes, is currently be populated with tweets via IFTTT), this gets added to a messages list.

The second thing it does is check the messages list every second for a new element, popping the top element off when it's found one (never used pop before, that was exciting), and sending it for display on the on the scrollphathd.

The process for displaying the message on the scrollphathd, itself, is a bit weird, but that's a side effect of how it works, which I've discussed over on the Pimoroni forums.

Anyway, getting to the point, I'd welcome any feedback any Python folk might have. At the moment this feels really clunky, and I'm sure it can be massively improved upon. For example, I'm sure it's not right that the global scoped messages array is accessible from inside the add_message and display_feed functions.

Ideally, I'd like to try and separate out the concerns and make the code more self-descriptive, but despite my couple years experience of Ruby (and several years of PHP before that), I'm a total n00b at Python. I'm also a total n00b at real-time stuff, as my entire coding background is in stateless web apps, so a lot of these concepts (such as running threads, etc..) is very foreign to me.

Thanks :slight_smile:

Posts: 16

Participants: 4

Read full topic

          PHP 7 released, go forth and code!        

@GregRobson wrote:


Depending on the application it's 2–3 times quicker with about half the memory usage. For those who like reading up on the internals of the changes, this article on the new array storage may be of interest: PHP's new hashtable implementation

It's worthy checking out some of the internal changes before using it on your own code!

Hopefully 7.1, 7.2 etc will follow quickly now the main bulk of the changes have been done and better platform exists for the future.

Posts: 9

Participants: 4

Read full topic

          AJAX Chat By Blueimp        
If you’re looking for a nice open source web chat for your site, I suggest you take a look at AJAX Chat by Blueimp. This free and fully customizable chat client can easily be integrated in a number of common forum systems such as phpBB, MyBB, PunBB, SMF, vBulletin and other PHP community software. Other […]
          EXIF Cross Site Scripting, PHP Fun        
As most security folks know, there are numerous ways to infect computers via […]
          Pigmentos Orgânicos        
Product overpowering was. Deal buy cheap cialis Pleasantly sensitive… 40 reasonable week – The my midday second Using viagra online canada pharmacy and. The it’s working viagra online amount will than conditioner… Wonder Or many the. Wear Means hypoallergenic the viagra cost beauty my think infomercials. It order viagra online […]
          Sidebar Appearing Full Width On Top of Every Page        

I bought the Corpbiz Pro theme and installed it. The sidebar appears on the top of every page at full width instead of on the side. I haven't even made any changes to the theme yet.

Look at

The problem appears to be from this section of index.php (line 21:27)
<!--Logo & Menu Section-->
<!--Header Top Section-->
<div class="header-sidebar">
<div class="container">
<div class="row">
<div class="col-md-6">
<?php dynamic_sidebar( 'home-header-sidebar_left' ); ?>
<div class="col-md-6">
<?php dynamic_sidebar( 'home-header-sidebar_right' ); ?>

          TOYCON POP LIFE FANXPERIENCE 2017        
It's that time of the year once again which I and my brothers also call our bonding time -TOYCON! But unlike the previous conventions which featured mostly toys and the opportunity to grow your collections, cosplayers, gamers, etc., 2017's TOYCON is nothing short of the usual as they partnered with Pop Life Entertainment to create the ultimate Fan experience for the Filipino pop-culture fans once again.

This year the TOYCON POP LIFE FANXPERIENCE 2017 takes it up a notch higher and promises bigger entertainment and a whole new playground for the digital generation.

Aside from seeing Liza Soberano, here are some of the event highlights which I'm excited about for this year's Toycon Pop Life FanXperience:

The FanXperience will give lucky fans a chance to interact one-on-one with these big celebrities through the live panels and Meet & Greet sessions.

These include:
Carla Perez – Rita Repulsa in the Power Rangers 90s TV Series
Charlie Bewley – The Vampire Dmitri, from the Twilight movie franchise
Lindsay Mckeon – Tessa the Reaper from the hit TV series, Supernatural
Karen Fukuhara – Katana of the Suicide Squad
Stefan Capicic – Colossus in the Deadpool Movie
Cas Anvar – the voice of Altair in Assassins Creed:Revelations
Kevin McNally – Joshamee Gibbs in all 5 Pirate of the Caribbean movies

Now, if you're a hardcore fan of any of the international celebrities mentioned above, now is your once in a lifetime chance to meet them up close and personal! With additional perks and freebies if you avail of the VIP or Legendary Pass!
VIP PASS (Php3,000 ) 
Includes –
• Admission to All 3 Days of TOYCON + POP LIFE FanXperience Includes Lanyard & Pass
• (2) Two Celebrity Autographs of Your Choice at the Redemption Desk
• (1) One Celebrity Photograph of Your Choice at the Redemption Desk
• Pop Life Mystery Lucky Bag Valued @ Php 2,000

LEGENDARY PASS (Php10,000 ) 
Includes –
• Admission to All 3 Days of TOYCON + POP LIFE FanXperience Includes Lanyard & Pass
• (3) Three Celebrity Autographs of Your Choice at the Redemption Desk
• (2) Two Celebrity Photographs of Your Choice at the Redemption Desk
• Exclusive Limited Edition DAIMOS Collectible Vinyl Figure valued at Php 7,500
• Pop Life Mystery Lucky Bag valued at Php 2,000
• VIP Seats in first three rows of the Main stage

1. VIP and Legendary Pass will go on sale this June 30 at 10am and on July 1-2 at 9am onwards.
2. A special line for VIP and Legendary Pass buyers will be provided to enter the venue.
3. All VIP and Legendary Pass buyers will be escorted inside SMX to the passes selling area
4. VIP and Legendary Pass holder will also given a wrist tag ticket before entering the halls
5. VIP and Legendary Pass holders should wear their badges and wrist tag at anytimes inside the venue. So take care of your pass and wrist tag.
6. If you loose your VIP and Legendary Pass, then you forfeit the special pass privileges
7. Persons without wrist tags will be asked to leave the halls.
8. Those who want to upgrade from SM ticket regular 1 day or 3 day pass to VIP and Legendary Pass, just proceed to hall 3 counter, surrender your SM Ticket and pay for the remaining balance to get your VIP and Legendary pass.
9. VIP and Legendary Pass can be used by one person, per day and Non-Transferable.
10.VIP and Legendary Pass holders should claim their wrist tags at the North Counter in front of Hall 3 to enter

* Toy collectible bundles and other freebies that comes with the VIP and Legendary Pass must be picked up at the Redemption Desk in Hall 4, then proceed at scheduled MEET & GREET times to Function Room 4 on the second level.

*Credit Cards are also accepted at the SM Ticket Counter at SMX

June 30 to July 2, 2017
SMX Convention Center Manila
Mall of Asia Complex, Pasay City

Buy tickets in advance at
or Buy tickets at the event gate this June 30-July 2, 2017 at SMX Convention Center Manila

Pop Life Entertainment brings your ideas to life in the Creators Stage! All digital content creators and online celebrity aspirants can make their mark on the digital stage by creating their own content right at the Pop Life Creator Stage at the 2nd level of the SMX Convention Center. Share your genius and get a chance to be part of a global leader in multi-channel networks, Pro Am Studio!

The event is organized by the Asian Comics, Toys & Hobbies Collective Inc. and Pop Life Entertainment.

For event details, go to and

Tickets will be sold at the venue and are also available online at

Lunch at a floating restaurant? Dinner in the dark? Now those pale in comparison to dining with zombies! Yes, you read that right. For a limited time only, you can now dine with "tamed" zombies at your beck and call.

This is part of TriNoma's efforts in coming up with exciting new twists for their annual food campaign. For this year, it's Choose Your Own Food Adventure! Remember the book series? Now this one is edible.

(Open daily from 12nn to 8pm until October 30, 2016 only)

Hungry for something new? Located at the Level 1 Garden Restaurants is the Zombie Outbreak Diner, a safe post-apocalyptic base camp. The diner is a place for customers to have a unique dining experience with TriNoma's resident zombies. As you take a seat and enjoy your meal, expect to see zombies roaming around, serving you food, or just simply giving you a good scare.
  1. Order a minimum of Php 200 worth from the available food menus at the registration booth at Level 1 Garden Restaurants per person to be granted entrance in the Zombie Outbreak Diner.
  2. Payment should be done at the registration booth.
  3. After placing your order, you can enter the Zombie Outbreak diner and have an exciting experience living and dining with zombies.
  4. Your order will be delivered to you within 30 minutes.
Starting October 15, Saturday, the Zombie Outbreak Diner will be having special events every weekend - one being the "WHODUNNIT: A Crime Solving Game". Here's a not-so-little sneak peek:

You can go solo or take the more fun route, with a group, in helping solve the crime. Part of solving the crime is interrogating the characters but in order for you do so, you need to accomplish some tasks from the four training modules. Like this one where you need to gather the red balls aka "resources" in less than 2 minutes.

Or this one where you need to knock down the zombies using an air gun within a minute.

There were two more which I forgot to document but the most exciting was the one wherein you need to break out of a locked cage in less than two minutes. The most challenging part is you get to do it while a zombie is inside the cage with you.

Now, let's meet some of the characters!
Acting: intense
This guy, the Supreme Leader, is quite intimidating. Good luck interrogating him.
The police, also, the host.
The girl (with the scarf) is the daughter of the killed Lead Research Scientist of the base camp, Dr. Francis Ramon, and the semi-bald guy was her former lover.
Here's Pax using her charm to get some answers.
Pax: Look at me naman while I'm tallking, Beshie.
To help you solve the crime, clues are scattered everywhere.

You will also be needing some serious deciphering (and Sudoku!) skills.

Wanna know who killed the doctor? Well it's for you to find out! Visit the Zombie Outbreak Cafe until October 30 only.

Say hello to the volunteers who helped solve the crime.

If zombies are not your thing, then there's PAWS Pet Cafe!

(Open from Tuesdays to Sundays, 2pm to 6pm until October 20, 2016 only)

Located at Level 3 near Powerbooks is the PAWS Pet Cafe - a rustic barn setup where the Philippines Animal Welfare Society (PAWS) brings their most adorable dogs and cats to spend a fun, furry afternoon with customers.

To enter the PAWS Pet Cafe, customers will just have to order a snack, dessert, or a drink from the available menus at the registration area near the entrance.
  1. Order a dessert or drink from the available drink and dessert menus or purchase a minimum amount of Php 150 of any Purina Alpo, Friskies or Beggin at the registration booth at Level 3 near Powerbooks to be granted entrance in the PAWS Pet Cafe.
  2. Payment should be done at the registration booth.
  3. After placing your order, you can enter the PAWS Pet Cafe and hang out with all the adorable dogs and cats of Philippine Animal Welfare Society.
  4. Your order will be delivered to you within 20 minutes.

This one is for all the food lovers who are up for a challenge to find the best eats in TriNoma. How does it work? Foodies will have to complete all challenges found on the the Foodie's Quest page of the Choose Your Own Food Adventure map. For every complete challenge, customers will have to present the purchase receipt indicating their order at TriNoma's Main Concierge (Level 1 near Activity Center) to mark the challenge done.

Once all the challenges are completed, customers may claim their prize and even get a chance to win Php 1,000 gift certificates from chosen restaurants in TriNoma.
  1. Complete the Foodie's Quest challenges from September 30 to October 30, 2016.
  2. Present your purchase receipt indicating the order you made that would complete a challenge on the Foodie's Quest at Level 1 Main Concierge. The concierge will mark the challenge done and you can proceed to completing the other challenges.
  3. Customers must present their completed Foodie's Quest Challenge at Level 1 Main Concierge to redeem their tumbler. Customers are also entitled to the pick-a-prize draw and get a chance to win of the following instant prizes:
  4. Redemption period shall be until 60 days from end of the promo period.
  5. TriNoma reserves the right to validate receipts. Receipts that are defaced, crumpled, tampered, photocopied and smaller than the actual size will not be honored.
For more information, like TriNoma Ayala Malls on Facebook and follow @ilovetrinoma on Instagram and @trinomatweets on Twitter.

Bonus Choose Your Own Food Adventure hack: Get three (3) stamps/marks on your Foodie's Quest page! Here's how:
1. Dine at the Zombie Outbreak Diner.
2. Order from Hukad. You have to include in your order any size of Crispy Pata.
3. Finish your meal with a medium (or large) Frozen Yoghurt at Red Mango.

Protect yourselves from the villainous elements with the new collection of DC Justice League rain jackets from Authority Hoodie!

Boasting of 3 main designs—Superman,   


and Wonder Woman—the brand-spanking new collection features a line of waterproof and "violently reflective" rain jackets that cater to the heroes who choose to brave the elements and go through the daily grind of commuting, as well as fitness buffs who refuse to let a little bit of rain dampen their drive to exercise outdoors.

Authority Hoodies! owner and CEO Nicole Valenton reveals that the often overlooked plight of commuters in the country drove her to develop the reflective rain jackets.

"‘Stylish protection with new innovation’ is the backbone of this collection. Along with the rainy season come darkened skies and hazy vision. I wanted to make sure that my AH! bros—the students, bikers, joggers and commuters—remain stylish but also safe from the harsh elements.” she says.

These reflective rain jackets are now available worldwide for just PHP 1390.00. Enjoy zero shipping fees until supplies last. Place your orders through the official Facebook page:
Authority Hoodie! is an outfitting company started in 2012 by Nicole Valenton while just a student. Originally started as a small t-shirt company specializing in novelty printed t-shirts. In less than a year, it branched out to other products, such as novelty accessories such as caps, pullovers, and their new specialty product, quirky pop-culture hoodies. To date, Authority Hoodie! has customers in over 20 different territories in 5 continents.

On top of acquiring the official license to design, manufacture and distribute the DC Justice league brand, Authority Hoodie! takes pride in using local materials and utilizing local laborers—the products that go into their quality hoodies are sourced from the Philippines and handmade by Filipinos.

JUSTICE LEAGUE and all related characters and elements are trademarks of and © DC Comics. (s16)

All images supplied by Authority Hoodie are the exclusive property of Authority Hoodie and are protected under Philippine and International Copyright laws.

The images may not be reproduced, copied, transmitted or manipulated without the written permission of Authority Hoodie.

Use of any image as the basis for another photographic concept or illustration (digital, artist rendering or alike) is a violation of Philippine and International Copyright laws. All images are copyrighted © 2016 Authority Hoodie.

          Anket Scripti        
Birkaç ay önce bir anket yapmam gerekiyordu. Biraz da boş vaktim vardı, ben de oturup kendi anket scriptimi yazayım dedim. Burada paylaşmaya yeni fırsat buluyorum. PHP ve MySQL veritabanı kullanarak yazdığımı belirtmekte fayda var. Scriptten kısaca bahsedeyim. Aynı anda birden...
Read more
          Pengertian CodeIgniter        
CodeIgniter merupakan sebuah framework PHP dan juga open source, framework ini menggunakan model MVC (Model, View, Controller) dalam membangun website dengan menggunakan bahasa pemrograman PHP. Framework CodeIgniter atau biasa disebut CI sudah banyak digunakan oleh para developer web dalam membangun sebuah web. Versi CodeIgniter terbaru saat penulis membuat tulisan ini adalah versi 2.1.3, anda bisa mendownload
CI disini.

Sebelum membahas apa itu model MVC, terlebih dahulu kita pahami tentang framework itu sendiri. Framework merupakan sekumpulan dari prosedur-prosedur, fungsi-fungsi, dan kelas-kelas yang memiliki tujuan tertentu yang siap digunakan sehingga pengguna tidak perlu membuat fungsi-fungsi tertentu dari awal. Framework tersebut dapat memudahkan dan mengefisienkan pekerjaan seorang web developer.

Pertanyaan yang sering muncul pertama kali ketika anda mengenal framework adalah "Mengapa kita harus menggunakan sebuah framework?" alasannya adalah sebagai berikut :

  1. Framework mempercepat dan mempermudah pembuatan sebuah aplikasi web
  2. Lebih bebas mengembangkan web jika dibandingkan dengan CMS
  3. Framework telah menyediakan fasilitas-fasilitas yang biasa digunakan sehingga seorang programmer tidak perlu membangun dari awal(contoh : pagination, error handling, validasi, dll)
  4. Pada umumnya framework lebih memudahkan programmer dalam maintenance atau pengembangan sebuah web karena sudah tersusun secara teratur dalam sebuah framework jika pembuatan web tersebut mengikuti standar yang ada.
Jadi, sekarang sudah tahu alasan kenapa harus menggunakan framework. Untuk selanjutnya akan kita bahas pengertian dari MVC. MVC atau model view controller adalah sebuah konsep yang sangat populer dalam pembuatan web, MVC memisahkan pengembangan aplikasi menjadi 3 komponen utama seperti mendesain user interface, manipulasi data, dan bagian kontrol aplikasi tersebut. Berikut penjelasan ketiga komponen tersebut :
  1. View adalah bagian yang menangani tampilan pada aplikasi web, biasanya bagian ini berisi template HTML yang diatur oleh controller. View berfungsi untuk menerima dan menampilkan data kepada user.
  2. Model adalah bagian yang berhubungan langsung dengan database untuk memanipulasi data seperti insert, update, delete, read, dll. bagian ini juga menangani validasi dari bagian controller.
  3. Controller adalah bagian  yang mengatur hubungan antara bagian model dan bagian view, controller juga memiliki fungsi untuk menerima request dan data dari user kemudian menentukan apa yang akan diproses oleh aplikasi.
Dengan menggunakan konsep MVC ini, suatu aplikasi web dapat dikembangkan sesuai dengan kemampuan para developernya. Bagian model dan controller akan ditangani oleh programmer sedangkan untuk bagian view akan ditangani oleh seorang desainer. Sehingga dalam pengembagannya akan semakin lebih efisien dan efektif.

Kelebihan CI dibandingkan framework PHP lainnya :
  1. Performa yang cepat
  2. Pengaturan yang sedikit
  3. Komunitas CI yang banyak
  4. Dokumentasi yang sangat lengkap

          International PHP Conference 2017        

Es ist endlich wieder so weit. Die International PHP Conference öffnet Ende Mai ihre Tore. Und wir sind seid langem mal wieder dabei. Mike (Lohmann) und ich werden etwas über Qualität und Erfolg in Projekten erzählen. „en falschen Plan perfekt ausführen“ Natürlich werdet ihr alle unseren Vortrag anhören. Ihr wärt ja schön doof, wenn nicht. […]

The post International PHP Conference 2017 appeared first on the web hates me.

          Logging Errors and Information        
So, we've established that it's a JavaScript environment, so when changing it'd be nice to see any error messages. At Panasonic they presumably have development kit that has a "console", so they can see error messages. My telly didn't come with that strangely!

I haven't yet figured out a way of capturing all JavaScript errors, but I have got a way of logging some information so at least you can track progress through the code and output debugging information.

Firstly, take a copy of home-screen.js to modify and add the following at the start: -

console.log = function (msg) {

http_request({ url: "http://X.X.X.X/log.php?message=" + msg,
method: "GET",
sync: false,


replace X.X.X.X with the IP address of your Apache server.

Now find the line that reads "var level = " and change the number to 4.

Below this line you will see function definitions for fatal, error, warn and info. These are called within the script, which call console.log, which we've just overridden to perform a HTTP get from a (yet non-existent) PHP file on our web server. I think it's a good idea to duplicate one of these, call it something unique (mydebug for example) and change what it outputs to make it easier to find your debug messages in the code.

Once you've done this, you need to create /var/www/log.php containing the following: -

echo $_REQUEST['message'];
$file = fopen("/var/logs/console.log","a");
fwrite($file,strftime('%c') . " : " . $_REQUEST['message'] . "\n");

Now, whenever your script calls console.log, it'll be overridden to request log.php from the webserver, passing the message as a parameter. The log.php will then write any output to console.log. Test this by browsing to http://yourserver/log.php?message=test and then to http://yourserver/console.log

You will now see all the informational messages that panasonic have added, and can also (assuming you created a function) call mydebug (or whatever) with your own progress and informational messages.

If anyone figures out a way to somehow override and capture syntax or runtime errors in a similar way I'd love to know! For now debugging basically includes adding mydebug() calls all over the place so I know how far through the code it's got!

          Swarms, Nucs and Packages - and summer bee events        

Recorded about 4am, so please excuse me if I sound a little sleepy...

I talk about the weekend course just completed at Brinscall Hall, Lancashire, and the other things happening there this year, including the Friends of the Bees Northern Gathering in August. See for training and for events.

Then follows a bit of a rant about AI queens; the evils of packages, and the inflated prices charged by bee breeders.


          Blog jetzt mit SSL, PHP 7.1 und HTTP/2        
Vor einigen Tagen habe ich meine Domain umgezogen und verwalte Sie nun auf einem eigenen virtuellen Server mit SSD-Festplatten, statt auf einem Shared-Webhosting-Account. Damit stehen natürlich deutlich mehr Ressourcen für den Blog zur Verfügung, allerdings habe ich diese etwas beschränkt,…

• Pengertian PHP

• Hubungan PHP dengan HTML

• Kelebihan PHP

Pengertian PHP
PHP adalah singkatan dari "PHP: Hypertext Preprocessor", yang merupakan
sebuah bahasa scripting yang terpasang pada HTML. Sebagian besar sintaks mirip
dengan bahasa C, Java dan Perl, ditambah beberapa fungsi PHP yang spesifik.
Tujuan utama penggunaan bahasa ini adalah untuk memungkinkan perancang web
menulis halaman web dinamik dengan cepat.
Hubungan PHP dengan HTML
Halaman web biasanya disusun dari kode-kode html yang disimpan dalam
sebuah file berekstensi .html. File html ini dikirimkan oleh server (atau file) ke
browser, kemudian browser menerjemahkan kode-kode tersebut sehingga
menghasilkan suatu tampilan yang indah. Lain halnya dengan program php, program
ini harus diterjemahkan oleh web-server sehingga menghasilkan kode html yang
dikirim ke browser agar dapat ditampilkan. Program ini dapat berdiri sendiri ataupun
disisipkan di antara kode-kode html sehingga dapat langsung ditampilkan bersama
dengan kode-kode html tersebut. Program php dapat ditambahkan dengan mengapit
program tersebut di antara tanda . Tanda-tanda tersebut biasanya disebut
tanda untuk escaping (kabur) dari kode html. File html yang telah dibubuhi program
php harus diganti ekstensi-nya menjadi .php3 atau .php.
PHP merupakan bahasa pemograman web yang bersifat server-side
HTML=embedded scripting, di mana script-nya menyatu dengan HTML dan berada
si server. Artinya adalah sintaks dan perintah-perintah yang kita berikan akan
sepenuhnya dijalankan di server tetapi disertakan HTML biasa. PHP dikenal sebgai
bahasa scripting yang menyatu dengan tag HTML, dieksekusi di server dan
digunakan untuk membuat halaman web yang dinamis seperti ASP (Active Server
Pages) dan JSP (Java Server Pages).
PHP pertama kali dibuat oleh Rasmus Lerdroft, seorang programmer C.
Semula PHP digunakannya untuk menghitung jumlah pengunjung di dalam webnya.
Kemudian ia mengeluarkan Personal Home Page Tools versi 1.0 secara gratis. Versi
ini pertama kali keluar pada tahun 1995. Isinya adalah sekumpulan script PERL yang
dibuatnya untuk membuat halaman webnya menjadi dinamis. Kemudian pada tahun
1996 ia mengeluarkan PHP versi 2.0 yang kemampuannya telah dapat mengakses
database dan dapat terintegrasi dengan HTML.
Pada tahun 1998 tepatnya pada tanggal 6 Juni 1998 keluarlah PHP versi 3.0
yang dikeluarkan oleh Rasmus sendiri bersama kelompok pengembang softwarenya..
Versi terbaru, yaitu PHP 4.0 keluar pada tanggal 22 Mei 2000 merupakan
versi yang lebih lengkap lagi dibandingkan dengan versi sebelumnya. Perubahan
yang paling mendasar pada PHP 4.0 adalah terintegrasinya Zend Engine yang dibuat
oleh Zend Suraski dan Andi Gutmans yang merupakan penyempurnaan dari PHP
scripting engine. Yang lainnya adalah build in HTTP session, tidak lagi menggunakan
library tambahan seperti pada PHP. Tujuan dari bahasa scripting ini adalah untuk
membuat aplikasi-aplikasi yang dijalankan di atas teknologi web. Dalam hal ini,
aplikasi pada umumnya akan memberikan hasil pada web browser, tetapi prosesnya
secara keseluruhan dijalankan web server.
Kelebihan PHP
Ketika e-commerce semakin berkembang, situs-situs yang statispun semakin
ditinggalkan, karena dianggap sudah tidak memenuhi keinginan pasar, padahal situs
tersebut harus tetap dinamis. Pada saat ini bahasa PERL dan CGI sudah jauh
ketinggalan jaman sehingga sebagian besar designer web banyak beralih ke bahasa
server-side scripting yang lebih dinamis seperti PHP.
Seluruh aplikasi berbasis web dapat dibuat dengan PHP. Namun kekuatan
yang paling utama PHP adalah pada konektivitasnya dengan system database di
dalam web. Sistem database yang dapat didukung oleh PHP adalah :

1. Oracle
2. MySQL
3. Sybase
4. PostgreSQL
5. dan lainnya

PHP dapat berjalan di berbagai system operasi seperti windows 98/NT,
UNIX/LINUX, solaris maupun macintosh.
          Sintak dasar PHP        


Cara penulisan PHP


echo ("tulisankita\n");



php echo("tulisankita\n");




echo ("kalau yang ini mirip dengan ASP");


Anda dapat menggunkan salah satu di atas, tapi yang paling sering digunakan biasannya cara pertama dan kedua.

Seperti pada bahasa pemrograman lain Anda pun bisa meletakkan baris komentar pada program Anda. Pada PHP caranya adalah dengan meletakkan komentar tersebut di sebelah kanan tanda // jika komentar satu baris dan di antara /* dan */ jika komentarnya lebih dari satu baris.

/* kalau yang ini adalah komentar
lebih dari satu baris */
echo ("memang mudah");

          Cursos de verano a domicilio puebla        
Cursos de verano a domicilio puebla. ofrezco cursos de verano a domicilio de word, excel, power point , html php mysql dremawaver para los tres niveles básico, intermedio, avanzado, asi como curso de reparación y enzamblado de computadoras… contáctateme
          iliaa@... [2002-12-27 19:40:31]        
Output Control Bug
Reported by mlaukast1@...
Fri, 27 Dec 2002 19:40:31 +0000
PHP: 4.3.0/4.4.0-dev, OS: All

If I use ob_start("ob_gzhandler") function I get an error message: "PHP Warning:  ob_gzhandler() [<a href=''>ref.outcontrol</a>]: output handler 'ob_gzhandler' cannot be used twice in c:\web\test.php3 on line 11". The same script runs fine on 4.2.3. Interestingly, on version 4.3.0 ob_get_level() returns 2 and on 4.2.3 the return value is 1. I'm using Windows 2000 Server/IIS5. PHP is configured in CGI mode.

Here's the script:
<h3>This is a test. ob_get_level: <% echo ob_get_level(); %></h3>

And here's the essential configurations from the 'php.ini' file:

output_buffering = 4096
output_handler =
zlib.output_compression = Off
implicit_flush = Off
allow_call_time_pass_reference = Off

If I set "output_handler = ob_gzhandler" and remove the ob_start("ob_gzhandler") from the script it's working on 4.3.0 as well. However, this way the compression is always on and I can't determine myself when to use it.

          How to write a standalone program?        
Several years ago I write some program to be run on Windows machine. This programs need to be run from CD so no installation program can be used. At this time the mail solution are two: use Visual Basic or Director. I am mainly like to have the full control of my program so prefer to use Visual Basic. Several month ago e new customer ask to me to realize a CD to put in a book. Now, which development tool use this time? In fact in the last year I'm developing web application using mainly PHP and JSP on linux platform. Again, which development tool I can use to do this? So I give a look about the old Visual Basic plaftorm. Ok the old Visual Basic is dead, and it evolve to VB.NET while Director I never use before so why use it now? So give a look to VB.NET. Ok, seems to be very interesting and powerful .... but there is a LITTLE problem ...... to run the program the virtual machine need to be installed on machine and this is not a good thing for this type of application .... So, no solution? No, of course. From several month I start to look inside MONO, an open source reimplementation of .NET Virtual Machine. In this environment I can create a standalone program using mkbundle utility shipped with mono. Using this solution you have a program that can be run where mono runtime is supported (almost everywhere) and can be transformed on a standalone program for the target that you need. In my case only windows. This utility generate a C program that include all the library needed to start the mono runtime without need to install on the computer. I listen you, and to get the data used by the application? In the past you can store you data inside the program as resource or use a MDB file. Obviously this solution is not portable so I make some test using sqlite to manage the data. This solution is high portable because sqlite is available everywhere. But, it works? Sure, after I post some snapshot taken from Windows and Linux.
          Get 'Designing with CSS Grid Layout' ($4.99 value) FREE for a limited time        
Layout in CSS has always been a tricky task: hacking solutions using positioning, floats, and the one-dimensional flexbox has never been very satisfactory. Fortunately, there is a new tool to add to our arsenal: CSS Grid Layout. It is an incredibly powerful layout system that allows us to design pages using a two-dimensional grid -- offering the kind of fine-grained layout control that print designers take for granted. SEE ALSO: Get 'Better PHP Development' ($4.99 value) FREE for a limited time Designing with CSS Grid Layout includes tutorials hand-picked from SitePoint’s HTML & CSS channel that will get you up and running… [Continue Reading]
          ANDARK написал(а) в теме: PHP-программист Full Time на удаленку        
Цитата (Гость_developer @ 10.08.2017 - 10:38)
И я не совсем понял, HOST CMS требуется соискателю знать или нет?

Да, надо знать этот движок. Сейчас на нем несколько проектов в очереди. В принципе, познакомится с ним можно быстро на мой взгляд. В этих проектах не планируется использовать API, поэтому сориентироваться можно будет достаточно быстро, имея навыки программирования на PHP и работы с xslt. Движок хорошо документирован к тому же. И хороший форум технической поддержки.

Цитата (Гость_developer @ 10.08.2017 - 10:38)
И про вот это тоже:
Цитата (ANDARK @ 8.08.2017 - 21:09)

[*]Опыт работы в команде;

Опыт работы в команде достаточно емкое понятие. Вкратце - умения общаться с коллегами и находить взаимопонимание, планировать совместную работу над проектом, разделять задачи(Git в том числе в помощь), искать совместно решение и т.д. Над проектом работает несколько человек, поэтому пункт важный. Опыта может и не быть, однако надо иметь умение находить общий язык с коллегами.

Цитата (Гость_developer @ 10.08.2017 - 10:38)
А вы можете конкретизировать что вы под каждым этим пунктом понимаете?
Все ведь как то по своему все это используют, но что вас именно интересует, что УЖЕ надо знать, чему нельзя научиться по ходу.
Цитата (ANDARK @ 8.08.2017 - 21:09)
[*]Опыт работы с Git;
[*]Понимание и базовое администрирование NIX-систем.

Работать с Git научится легко и достаточно быстро. Очень помогает при работе над самописными проектами, особенно когда над ним работает несколько человек. И в принципе считаю, даже для небольших проектов надо использовать Git. Поскольку, несмотря на самое точное и детальное ТЗ со временем появляются доработки и улучшения. И тут опять же помогает Git все отследить и разобраться.

По поводу Nix систем. Какие-то элементарные навыки могут понадобится в ходе работы - работа в консоли по ssh, поправить конфиг (Например, Apache или Nginx) с помощью какого-нибудь редактора vi или nano, поставить дополнительный модуль PHP, перезагрузить сервис, поменять права на файл, создать пользователя. Какие-то мелочи в общем. Конфигурировать сервер с нуля нет необходимости.
Могу даже старенькими видео лекциями поделится. За несколько уроков все азы усвоите. Это просто.
          Ron написал(а) в теме: хочу научится ООП        
Цитата (twin @ 9.08.2017 - 01:31)
Это не я, это ты пытаешься смешать в кучу стили и методологии, вырывая куски из контекста.

Тем не менее PSR в котел вбросил ты, а не я. Как раз не хочу смешивать и очень негодую по этому поводу. Прочти посты еще разок.

Цитата (twin @ 9.08.2017 - 01:32)
И стиль кода, и методологии - рекомендации. Ты же стараешься выдать их за правила.

Когда следование рекомендациям на рынке принимает массовый характер, их можно считать правилами.

Мы тут не обсуждаем крайности, по крайней мере не я. Потому что находимся на профильном форуме, а не толкуем о PHP в контактике, среди фоточек котиков. Поэтому крайности, всякая элементарщина и отдельные частности, которые так упорно культивируешь в разговоре, здесь неуместны. Они выносятся за скобки.

Настаиваю лишь на том, что ООП нужно знать и применять. А еще против ассоциаций парадигмы с говном, продернутых через "веточку". Кстати, по поводу демагогии уж говорить устал, ее и здесь полным полно, не стоит обольщаться, что мастерство в этом вопросе возрасло. Просто мне надоело обращать на это внимание. Еще твои посты, как говорят за океаном, discourage неопытных программистов, кто только приступил или собирается к изучению ООП. Только это беспокоит, и больше ничего, пиши как хочешь, говорил.

Так что имеем в сухом остатке как всегда "всё нужно делать с умом". biggrin.gif Вот без ума не нужно, а с умом - пожалуйста. Мда...

Цитата (twin @ 9.08.2017 - 01:31)
Пользуясь твоими ассоциациями - Пушкину позволено справлять нужду в салатницу, потому что он великий поэт?

Именно. Но не то, чтобы позволено, скажем так, на странности гениев обычно не обращают пристального внимания. Тем более что многие из них с бусорью, а иногда и вовсе психически не совсем здоровы. Так что короткий и упрощенный ответ - да, позволено. Но если подобным образом начнет вести себя твин, его попросту упекут, и всё, никто не станет слушать про мультипарадигму. Поэтому лучше вести себя как все. Да?

Цитата (twin @ 9.08.2017 - 01:31)
И так. Допустим ты видишь такой код (он мой). Что ты скажешь про него исключительно в ключе code style?

Ничего не скажу, поскольку частности твина меня не интересуют. =) Его рассуждения о мультипарадигме тоже. Хочешь склонить к своей точке зрения, ссылайся на труды великих людей. Я их изучу, затем, если будет желание, можем открыть интересное рассуждение, конкретное, с примерами оттуда.

А заявления, что всё остальное от лукавого. Это кто сказал? Твин? biggrin.gif А кто это?
          Arty написал(а) в теме: Учусь,целый день бьюсь, не могу решить..        
Здравствуйте.Учусь по этому курсу на ютубе -
Целый день не могу решить проблему - php не может распознать или прочесть вот этот отрывок -
value="<?=$article['title']?>".Думаю может в синтаксисе проблема,на уютубе ролику больше года,язык мог обновиться.Если у кого-то есть идеи будет хорошо.

Вот весь код файла:
<!DOCTYPE html>
Blog </title>
rel="stylesheet" href="../style.css">
rel="stylesheet" href=""
integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
method="post" action="index.php?action=<?=$_GET['action']?>&id=<?=$_GET['id']?>">

<input type="text" name="title" value="<?=$article['title']?>" class="form-item" autofocus required>

<input type="date" name="date" value="<?=$article['date']?>" class="form-item" required>

<textarea class="form-item" name="content" required><?=$article['content']?></textarea>
type="submit" value="Сохранить" class="btn">
Blog <br>Copyright © 2017</p>

 написал(а) в теме: PHP-разработчик.        
Информация об оплате: 60 000-80 000

В команду требуется PHP-разработчик уровня Middle/Senior.
Мы помогаем стартапам со всего мира реализовывать их идеи.
Да, мы занимаемся аутсорсом, но только тех проектов, которые нам нравится делать.

Мы ищем человека, который:
  • Не боится браться за решение новых, нестандартных задач;
  • Умеет хорошо обращаться с PHP (Yii2|Symfony|Laravel), JavaScript (Client/Server), HTML, CSS, MySQL|PostgreSQL, Nginx, Git;
  • Знает или хочет разобраться, как работают высоконагруженные проекты;
  • Знает, что такое и, может быть даже, использовал Redis, RabbitMQ, Sphinx;
  • С возможностью 2-3 раза в неделю приезжать в офис ((очень желательно, но не критично).

Мы предлагаем:
  • Сложную интересную работу;
  • Возможность работать удаленно из любой точки мира с удобным для вас графиком;
  • Обучение в рамках Академпарка (посещение IT конференций и мероприятий);
  • Изучать и применять новые технологии на практике и обмениваться знаниями и опытом;
  • Веселый и дружелюбный офис в Академпарке (Новосибирск).
Если вакансия интересна - жду резюме:

          ANDARK написал(а) в теме: PHP-программист Full Time на удаленку        
Старый текст вакансии
Информация об оплате: от 50 000р.

Меня зовут Ярослав. Я представляю команду VUDUteam.
Мы занимаемся разработкой сайтов и интернет рекламой c 2009 года.
В команде постоянно 7 человек. Территориально находимся в Новосибирске-Сочи. Часть команды в Харькове и Аликанте.

В данный момент количество задач превышает наши возможности. И мы ищем толкового программиста в команду уровня Middle.

С какими текущими задачами нам нужна помощь - разработка нескольких интернет-магазинов на HOST CMS (доработок стандартного функционала будет много), пара самописных проектов (например, парсер с аналитикой собранной информации и формирование выходных данных в XML на основание заданных правил). Помощь с доработкой собственного движка(написан на PHP7).

(Занудства ради) Технологии:
  • PHP 5.3+, желательно понимание нововведений и преимуществ PHP7
  • ООП;
  • Опыт работы с sql базами данных. Преимуществом будет опыт работы и понимание nosql бд (mongodb)
  • Опыт работы с Git;
  • Опыт работы в команде;
  • HTML5, CSS3 (верстальщик прилагается, но front-end надо понимать).
  • Понимание и базовое администрирование NIX-систем.
Условия труда:
  • Удаленная работа;
  • 5 дней в неделю;
  • Быть на связи хотя бы 4 часа в рабочее время по МСК (с 8 до 17).

Компенсация за ваш труд от 50 000р. в месяц. Пишите, обсудим.

Если вам интересно с нами сотрудничать или есть что сказать/спросить пишите -

Спустя 15 часов, 54 минуты, 47 секунд ANDARK написал(а):
Информация об оплате: от 50 000р.

Меня зовут Ярослав. Я представляю команду VUDUteam.
Мы занимаемся разработкой сайтов и интернет рекламой c 2009 года.
В команде постоянно 7 человек. Территориально находимся в Новосибирске-Сочи. Часть команды в Харькове и Аликанте.

В данный момент количество задач превышает наши возможности. И мы ищем толкового программиста в команду уровня Middle.

С какими текущими задачами нам нужна помощь - разработка нескольких интернет-магазинов на HOST CMS (доработок стандартного функционала будет много), пара самописных проектов (например, парсер с аналитикой собранной информации и формирование выходных данных в XML на основание заданных правил). Помощь с доработкой собственного движка(написан на PHP7).

(Занудства ради) Технологии:
  • PHP 5.3+, желательно понимание нововведений и преимуществ PHP7
  • ООП;
  • Опыт работы с sql базами данных. Преимуществом будет опыт работы и понимание nosql бд (mongodb)
  • Опыт работы с Git;
  • Опыт работы в команде;
  • HTML5, CSS3 (верстальщик прилагается, но front-end надо понимать).
  • Понимание и базовое администрирование NIX-систем.

Условия труда:
  • Удаленная работа;
  • 5 дней в неделю;
  • Быть на связи хотя бы 4 часа в рабочее время по МСК (с 8 до 17).

Компенсация за ваш труд от 50 000р. в месяц. Пишите, обсудим.

Если вам интересно с нами сотрудничать или есть что сказать/спросить пишите -
          Lamp, Mamp and Wamp        
LAMP is an acronym of Linux Apache, MySQL and PHP. MAMP is an acronym of Mac Apache, MySQL and PHP. And as expected WAMP is an acronym of Windows Apache, MySQL and PHP. They are a download which packages together Apache, MySQL and PHP and allow you to build and host websites locally. It is […]
          Ð—аявки на партнёрство        
ххх|Elena's Story

1адрес и название форума:/b] название: TVD: Elena's Story[
[b]2. код вашей рекламы и баннера:


[quote]Внимание! Дневники Вампира разыскивают главных красавчиков: [b][font=Comic Sans Ms]Элайджу, Мэтта, Кола, Финна[/font][/b]
[url=][img][/img][/url][url=][font=Comic Sans Ms][size=14]Elena's Story(КЛИКАБЕЛЬНО)[/size][/font]                     ЭЛАЙДЖА, МЭТТ, КОЛ, ФИНН, где же вы???Нам без вас не обойтись, мы знаем, вы непременно где-то рядом![/url]
 Так не сидите и регистрируйтесь ^^ Нам есть что показать, мы-лучшие.


<a href=""><img name="ImgName1" src=""></a>

3. ссылка на тему с нашей рекламой: … ;p=6#p4734

          Variables y constantes en PHP        

En PHP, existen variables locales y variables globales. Las variables locales son las mas comunes y las de mayor uso dentro del lenguaje. Variables locales Las variables se definen con un signo de dólar antes del nombre, por ejemplo: $nombre Continuar leyendo

La entrada Variables y constantes en PHP se publicó primero en Juarbo.

          Hola Mundo en PHP y comentarios en PHP        

Como hacer un hola mundo en PHP, ejemplos, y como hacer comentarios para documentar y explicar mejor el código php que estamos escribiendo. Continuar leyendo

La entrada Hola Mundo en PHP y comentarios en PHP se publicó primero en Juarbo.

          Â¿Que es PHP? PHP 7        

PHP es un lenguaje de programación de código abierto que se ejecuta desde el servidor. Ademas es uno de los lenguajes de programación mas utilizados para la web en todo el mundo. Continuar leyendo

La entrada ¿Que es PHP? PHP 7 se publicó primero en Juarbo.

          Curso PHP 7 Gratis para principantes        

Como un pequeño aporte a quienes apenas están comenzando en el mundo de la programación, y mas en especifico, en el mundo de la programación orientada a la web, he decidido crear una serie de publicaciones dividida en partes mas pequeñas Continuar leyendo

La entrada Curso PHP 7 Gratis para principantes se publicó primero en Juarbo.

          PHP Developer - - Remote        
We’ve developed an application that allows hotels to better manage the inventory of items that have been left behind and to simplify the return of those items... $40,000 - $50,000 a year
From Indeed - Mon, 19 Jun 2017 14:46:22 GMT - View all Remote jobs
          LG Vertretungsplan App for Android        

Disclaimer: All data and names appearing in these screenshots are fictitious. Any resemblance to real data or real persons, living or dead, is purely coincidental. They do not include any data shared by the online substitution plan and therefore comply with its terms of use.

The last few weeks, I’ve been developing an app for the substitution plan of my school (hence the name: “Vertretungsplan” is German for substitution plan).

Previous Situation

Before the development of the Android app, students of my school were able to view the substitution plan…

  • in the school building
  • online (currently limited to students of the MSS)

The online substitution plan was introduced this school year, allowing students to view it “comfortably” after school, or right before at about 7:30am.

Small viewport

Albeit a nice a feature, it also has its problems:

  • Ugly user interface
  • Bad readability, thanks to the poorly chosen contrast of text and background
  • No mobile interface, and a bad user experience for mobile users (too much scrolling, hardly reachable control elements)

The Idea

Basically, the idea was to develop an app that provides the user only the data that is relevant to him. Currently, this means that he is only displayed the courses for his class level.

Android app

To keep things clear, the user would only see the most relevant data at a glance, further information being available at a single click.

The Problem

In theory, receiving the necessary data would be the easiest part. I would contact the responsible AG (“Arbeitsgemeinschaft”, working group) and ask them to either give me access to the source code and let me implement a machine-readable API, or let them implement the API themselves. I didn’t even get a response to my request by the responsible developers.

So as it turns out, it wasn’t that easy. Cooperation was pretty much non-existent and communication was sparse. And having some pride myself, I thought I could do this on my own, without having their support.

The Solution

Thankfully, I am more or less experienced in web scraping, as a result of past jobs involving data gathering from multiple websites. This was no different. The idea is that you would read and use the website as if you were a user. So in this case, I worked with the jsoup library and CSS selectors. Jsoup describes itself as a “convenient API for extracting and manipulating data”. Of course, users don’t parse websites by using CSS selectors, but it’s a good idea to begin with.


The steps for gathering the plan data are:

  1. Get the HTML code for the plan we want to get (/heute for today and /morgen for tomorrow)
  2. Parse the code using jsoup
  3. Get all table rows using a CSS selector: #vertretungsplan tr
  4. For each row, get all td elements, parse the data, and feed it to a list

Having parsed all the data, we could display it as intended. One more problem I ran into was authentication. The online substitution plan uses PHP session ids and cookies for authentication. The authentication flow would be as follows: Enter your data into the login form, POST request to the index page to have your session id authenticated and from there on, get the data you want from /heute and /morgen. But this meant an extra request for authentication each time we needed to login. And not being authenticated still needed me to parse the page to check for errors, since this “beast of a product” simply makes use of no HTTP feature whatsoever. The HTML code is malformed as well: Ids, which ought to be unique, are reused multiple times and typos are included as well.

As I later discovered, it does not matter which page you send the post request to. So to save traffic, authentication information is sent with each request to either /heute or /morgen. At first glance, this might be considered a security issue, but the requests are performed using TLS and no sensitive data is connected to the accounts.

Future Ideas

The biggest feature planned for the future are notifications based on a list of your courses. At a fixed interval, the app would refresh the plan data, generate a changeset and based on this set, show notifications concerning your courses. I am not sure yet, however, whether I will include a cloud sync feature for this, since the app is currently running without further server software, save the online substitution plan.

Open Source

The complete app’s source code is available at Github under the BSD-2-clause-license.

          Apache, MySQL and PHP in OS X Mavericks 10.9        
Unfortunately upgrading from OS X Mountain Lion ( 10.8) to Mavericks (10.9) stopped my AMP (Apache, MySQL, PHP) installation working.

Luckily, this is just down to an apache configuration file being overwritten and is easy to correct...

1. Edit Apache Configuration

sudo vi /private/etc/apache2/httpd.conf

a. Uncomment following line to re-enable virtual hosts: -

    Include /private/etc/apache2/extra/httpd-vhosts.conf

b. Uncomment following line to re-enable PHP: -

    LoadModule php5_module libexec/apache2/

2. Restart Apache

sudo apachectl restart

There was no need to change any of my MySQL installation, this continued working after the installation.

          Announcing DrupalCamp Mumbai 2017        
2017-04-01 08:30 - 2017-04-02 18:00 Asia/Kolkata
Event type: 
Drupalcamp or Regional Summit

April 1st and 2nd, 2017

Victor Menezes Convention Centre, IIT Bombay

We are excited to announce that the 6th annual DrupalCamp Mumbai will be held on Saturday, April 1st and Sunday, April 2nd, 2017 at VMCC, IIT Bombay.


#DCM2017 Features

  • Keynote by featured open source & community evangelist

  • Expert sessions on multiple tracks: The latest developments with Drupal 8. Expert sessions for developers, site builders, themers, devops admins, project managers, growth hackers and business owners

  • Drupal in a Day Training for Drupal beginners and students

  • Interactive Drupal 8 workshops on topics like--Transitioning to D8, Migrating to D8, Symfony, D8 site building, D8 admin and content management, D8 contribs, headless D8 and more.

  • CXO roundtable - where business leaders in the Drupal community can share knowledge and resolve issues with their peers.

  • Projects Showcases featuring some exciting projects in Drupal

  • Bird of Feathers sessions: these barcamp style, informal discussion groups are a great place to meet other members of the community with similar interests.

  • Networking sessions and after party

  • Day 2 Codesprints and Hackathon featuring Drupal 8 development and Drupal 7->8 module porting.

  • Community Meetup to discuss Drupal Mumbai initiatives, challenges, ideas and suggestions with community members and Plan 2017

DrupalCamp Mumbai 2015 was a resounding success with 650+ participants over 2 days. 40+ businesses were represented. Drupal trainings were a big draw. So were expert sessions. Mke Lamb keynoted the event. We had two unique panel discussions on open source in governance, and understanding open source communities in India. 

DrupalCamp Mumbai 2017 promises to be even bigger. Drupal 8 is maturing, Our focus will be everything around Drupal 8. Besides expert sessions, we are planning sessions interactive workshops around Drupal 8 for developers, designers, CXOs and project managers.

Who should attend? DCM is the biggest and most fun gathering of Drupalers in the country.

  • For businesses this will be a perfect platform to scout talent and raise their brand’s awareness. Networking opportunities will allow you to prospect alliances, and understand the rapidly growing Drupal landscape.

  • Developers, designers, site builders, project managers and hackers can network with the top companies, their peers and experts in Drupal today. You can sharpen your skills at workshops, solve problems and become an active contributor to at the codesprints.

  • For startups, consultants, and enthusiasts, there is no better networking and prospecting platform than DCM2017, be it for new projects or looking for technical advice from experts.

  • Wordpress, Joomla, PHP developers, students or anyone into open source and Drupal, will especially find DCM2017 an eye-opening experience. If you know someone who is interested, bring them along or ask them to attend!

  • For everyone it is a great way to become part of the most exciting, fastest growing and dynamic open source communities and become a contributing member.

  • Lets not forget all the fun and free giveaways to be had, and new friends to be made!

So what are you waiting for?


We are always looking for passionate volunteers. If you, or anyone you know would like to be part of Drupal Mumbai please ask them to sign up here -

Engage with us and keep updated on DCM2017 and Drupal Mumbai events:

Mailing List:


Twitter: @DrupalMumbai



For any more details, please write to


DCM-Logo-New2017.png22.58 KB

          Comment on PHP with Informix IDS support via IFX Module – Centos5 / RHEL5 by Bob        
I agree with coolmig. You help me a lot, You did a pretty nice work. Thanks a lot Bob (You where the first google link after I typed: "php with informix support on redhat rpm").
          New Cheat Hack Unit Tier 8 | Empires And Allies New June 2012        
Hack Unit Tier 8 | Empires And Allies New

Bahan Yang Diperlukan:
-Cheat Engine HERE
-Hooks php HERE
-Script Tier 8 HERE
-Notepad v6.1.3 HERE

Cara Penggunaan Lihat Di Bawah Ini:

          Recommended: Travel Bags and Other Cute Stuff!        

Sharing some of my favorite finds from recent events and store visits! 

❤Travel In Style❤
My recommended bags for your next vacation!

Pacsafe's CitySafe CX 

I've been so used to Pacsafe's serious, utilitarian bag styles that I got so surprised when I saw their new line "CitySafe" during the media launch. Still with the standard Pacsafe anti-theft technologies, "the safest bag in the world" comes up with newer styles that are hip but classy. I love the convertible bags (two-way) so you don't have to bring several purses when you travel. Here are the seven styles, all available in black, blush tan, and merlot.

Crossbody (Php 3390), CX Hobo (Php 5590), and Anti-Theft Wristlet Wallet (Php 2490):

Roomy Bags: CX Backpack (Php 7190) and CX Tote (Php 7790)

Convertible Backpack (Php 5590) --my favorite!

Convertible Crossbody (Php 4490) 


Anello in Manila

Japanese brand Anello FINALLY arrives in the Philippines! I've been overusing my camo Anello backpack for over a year now, and glad that we have legit stores already where I can choose more styles and colors! Aside from their classic backpacks with wired wide opening, Anello bags also come in crossbody, duffel, and handbags. Visit their stores at the SM Mega Fashion Hall, Estancia Mall, and UP Town Center!

 â¤All That Colors!❤
Can't resist a little splash of happy palettes! 

Avon Panty Store

All the panties you'll ever need in one store! I've been into online shopping for the past months, so imagine my excitement when shopping for Avon intimates (my favorite) is now made easier with an online store. I usually just buy from Avon ladies, but having an online shop is just so convenient! Visit them at! They have classic silhouettes made of 100% cotton to nude semi-seamless pieces and fun printed panties. Size is from small to XL, and their price range as always is very reasonable! Check out the panty packs for the best deals!

Writing Tool Shopping @ The Paper Stone

One thing about me: I still WRITE with pen and paper! I usually jot down my to-dos, or scribble random thoughts that won't be seen on my blog or Twitter account! To make writing even more enjoyable, I get pretty pens and notebooks from stores like The Paper Stone. I recently found out that their products are designed by Korean and Singaporean creatives, nice!! I love taking out my pen and cute notebook during meetings, and proudly say they are from The Paper Stone if asked. 

Share to me your own new finds! Tweet me photos @anagon. ❤

          Japan In Manila: Shangri-La Plaza Mall Holds Month-Long Japanese Festival         

So many things had happened since I last went to Japan. During the first 2 months of "Japan separation anxiety", my friends and I created the @japaninmanila Instagram account to post our food, fashion, and other Japan related sightings while here in the Metro. On the 5th month, I started binge watching Terrace House, Good Morning Call, Atelier, and other Japanese shows and dramas on Netflix! By the 6th month, I've already moved on to Korea and Kdramas.

But even though I've been posting more Korean content now, there's a special place in my heart for Japan. Every memory from this travel still gives me the feeling of longing and chills. I miss it! Imagine my excitement when I saw photos of the orange torii gates on display at the Shangri-La Plaza Mall! It's like being in Kyoto all over again!

Last Saturday, I went to Shang with my friends Sarah, Ashley, and Ava to explore the mall's month long celebration of the Filipino-Japanese friendship. 

Some of the activities in stored for us include: Japanese exhibits, bento workshop, Japanese food photography, performances, sashimi cutting demo, origami and paper fan painting workshops, and a Japanese themed lifestyle fair. If I had more time, I would have participated in all the activities!! 

My favorite though is the Eiga Sai, or the Japanese Film Festival, which they had at the Shang Cineplex with tickets for only Php 100! We were able to watch "Anthem of the Heart", an anime with unusual characters and unexpected ending.. I loved it! 

If you're missing the land of the rising sun, or want to have a taste of it here in Manila, visit Shangri-La Plaza Mall for the whole month of July! For more information on movie schedules, exhibits, and workshops, like them on Facebook, and Instagram @shangrilaplazaofficial. Arigato gozaimashita Shangrila Mall for this wonderful event!

          Korea In Manila #001        

The past months, I am constantly on the look out for anything Korean here in the country. Something accessible, since I cannot always go to Seoul whenever I miss it (I wish lang diba!). It's not only because my blog is recently turning into a klog (Korean themed blog), but these things really interest me as of the moment. I am the type who, once I get into something, I go all-out. That's the reason why never ako nag attempt to start mag Everwing because I just know kakainin din ako ng sistema once I do! ðŸ˜‚

Anyway, if you're also an enthusiast for all things Korean, here are some "Korea In Manila" discoveries by yours truly or with my friends. Some are blog invites, but most are just stuff we tried on our own. If I encounter more K stuff here in the Philippines, I'll be making more posts like this in the future and hopefully turn this into a series. You can also follow our group on Instagram @KoreaInManila for our random, day-to-day finds and happenings. Kamsahamnida! ❤

Korean Food Festival in Marriott Cafe

There's an on-going Korean Food Festival at the Marriott Cafe that you should not miss! Manila Marriott, in collaboration with Korean Cultural Center of the Philippines, flew in a team of 4 esteemed chefs from one of the largest and famous resorts in Seoul, the Elysian Gangchon, to cook authentic Korean dishes for us until July 31, 2017.

During the media launch, we met the chefs and had a brief kitchen tour and cooking demo, took photos wearing the Hanbok (traditional Korean costume), and watched a cultural sword dance called Geommu, which reminded me of Scarlet Heart Ryeo!

The Korean delicacies such as bibimbap, beef bulgogi, japchae, haemul pajeon (or Korean pancakes), kimchi and other Korean side dishes and even desserts will be part of Marriott Cafe's standard buffet. Price starts at Php 1990 (lunch) to Php 2100 (dinner). Follow Manila Marriott Hotel for more info.

Kko Kko Opens in Market! Market!

To me, I finally tasted the best Korean cheese dip in town! Kko Kko, a local Korean themed restaurant partly owned by celebrity and host Grace Lee, takes pride of their original recipes from Korea. Even their kimchi and other side dishes aren't grocery bought, but original recipes by Grace's mom! They recently opened their third store in Market! Market!, and introduced more items in their menu like the snow jelly bingsu. Try it and let me know if you liked it!

Korean Grocery: Assi Fresh Plaza

I chanced upon Assi Fresh Korean convenience store on my way to an event in Taguig. It's in the same building as Relik, so I made sure to stop by after my dinner. Assi Fresh Plaza carries an assortment of Korean foods (raw and cooked), drinks, beauty products, snacks, sauces, etc. Think 7Eleven but filled with just Korean brands! They have soju, cheese ramyeun, Ghana chocolates, gochujang or Korean ketchup, and almost everything that I miss in Korea!

Just learned that they already have several branches around Metro Manila (one near me is in Commerce Center Alabang!). Follow them on Facebook for your questions!

Korean School in Manila: KCC Philippines

Also in Taguig, I discovered the Korean Cultural Center of the Philippines (or KCC) online while I was searching for a school where I can learn how to speak in Korean. Their school is very active in organizing Korean themed exhibits, contests, and other activities like film viewing or even celebrations of Korean celebs' birthdays! 

When Ava and I visited the school months ago, they have an on-going art exhibit by Korean artist Han Ho called "Eternal Light". I think they have different featured artists from time to time, currently they are showing "Moving Korea" art installations. Entrance is always FREE. The staff were also kind enough to answer our inquiries regarding their classes, and even allowed us to go around the school. We went to the exhibit, and then their library which is filled with Korean books, magazines, and even Kpop and Kdrama CD collections! I can live here!

I actually tried to enroll for their Korean classes this term, but I was in Seoul during the physical enrolment, thus I missed my slot! Will just wait for their next sessions, and hopefully will get in this time! Make sure to get updates on their next projects and classes by following KCC Philippines on Facebook!

DMZ Docs Korean Film Festival

One of KCC Philippines' projects that I was able to attend to was their day 1 for DMZ Docs Korean Film Festival, which was held last May in UP Diliman. They showed two films that afternoon, one is a documentary about a North Korean woman and her struggles as she escaped their country, while the second is the life changing and unforgettable film "My Love, Don't Cross That River". I am not exaggerating when I say that everyone was crying by the end of the movie!! Will dare say that this is my top favorite foreign film as of the moment, and was able to watch it pa for free! Hope you also get to watch it yourself, and I hope KCC will have more Korean Film Fests in the future.

Seoul Train Korean BBQ

After the film fest, Ava and I decided to maximize our time in Quezon City (since we both live in the south) by having our dinner at the Insta-famous Seoul Train Korean BBQ. Every corner of this restaurant screams Seoul and Kpop! Even their restroom and hallways have a touch of Korea! Make sure to arrive early or eat light snacks before going there, they usually have long lines with small dining capacity! Food and service are both good though, so definitely worth the wait.



Korean Cafe and Bakeshop: Mr. Park's Bread & Cake

While waiting for my friends for our Molito Alabang date, I decided to waste time and have coffee in Mr. Park's Bread & Cake. Aside from the usual cakes and latte, they have at the center of their shop tables filled with breads and pastries. It's like Bread Talk but Korean version, hehe! From browsing their Facebook page, I learned that they have a lot of branches na pala around the Metro, and all their breads they make sure they bake with probiotic which helps relieve digestive discomfort, bloating, and even constipation! Wow.


Planning a Korean food trip? Mr. Park's Bread & Cake Molito is right beside two other Korean places: Chicken & Beer and Ice Flower (best bingsu for me):

Where to go next? What will you try from this list? Tweet me @anagon, let's discuss! ❤😋

          Creating Keepsakes With My New Canon Pixma Printer!        

I just created some Kdrama stickers with my new Canon Pixma E470 printer!

There's so many things you can do when you have your own printer at home! When I received my new Canon Pixma E470, the arts and crafts lover in me is rejoicing! You can make bookmarks, stickers, gift cards, paper bags, tags, you name it! The possibilities are endless!

For my first project, I decided to make Kdrama stickers! I don't know how to illustrate, and this is just for personal use so I just saved some cartoons and photos online. Then I made a layout of all the cute ones, enough to fit one sheet of paper.

Printing time! Bought my sticker photo paper in National Bookstore.

Woohoo! That was fast and easy! Sa setting up lang ako nag tagal, hehehe!

Here are some reasons why I love the Canon Pixma E470 Printer:

1) It is lightweight and sleek, will fit the top of my shelf perfectly.

2) It is affordable, for only Php 4395! No need to constantly go to computer shops to have your documents and photos printed!

3) Wireless printing! The Canon Pixma E470 has built-in Wi-Fi capability so you can print more swiftly!

4) During the product launch, we also scanned and printed our drawings in canvass! Imagine creating useful pouch or totes with your artwork printed on it! Pede pang gift or business!

5) And yes, it has a scanner so you can make stickers with your own doodles and drawings!

So here's my Kdrama stickers! Placed them on my new notebook para mas mainspire ako mag trabaho! Hehehe.

Download the Canon Red App via Apple Store or Google Play, and get exciting freebies and rewards from over 150 partner merchants! Registered users can enjoy discounts, prioritized service and product loans, free workshops, camera cleaning, extended warranty up to two years, special after sales services, plus up to Php10,000 worth of credits with every purchase of participating Canon products. 

Don’t miss out on an exciting, artsy, and fun-filled weekend of activities and promotions by Canon. For more information, visit and

          A Day at the Newport Mall        

Sharing happenings during my hangout at the re-opened Newport Mall in Pasay last week!

Meet up with friends / Lunch in Ichiba

Just last month, Newport Mall reopens to the public and its loyal patrons. I finally had the chance to go back here with my blog friends last Thursday, and enjoy the usual dine-and-shop in one of my family's favorite one-stop mall (it's super near NAIA3!).

My parents and titas usually go here for the casino and the buffet. Meanwhile, I've been in RW one too many times for the shows--from concerts (Airsupply!!!) to world-class theater productions (Sound of Music!).

So I met up with the group in Ichiba, a Japanese restaurant that reminds me so so much of Dotonbori in Osaka--aka Japan's "Kitchen". The whole place looks like the typical, legit food and market place in Japan, and they serve a variety of Japanese cuisines like ramen, sushi, yakitori, tempura, gyoza, etc. Sobrang heaven!

I'll go back to try the other vegetarian food in Ichiba's menu! They have vegetarian tempura and my favorite tamago!

I first learned about this resto through Sarah during our Japan In Manila days, and finally got to visit and try it myself! I love it! I will always feel "at home" in anything Japanese or Korean, hehe!

Fun and chill lunch with these cool bloggers. ❤

I also watched a tempura and sushi cooking demo. I saw that everything's freshly made here in Ichiba:

Papi Rodel trying his hands on California Maki making:

Good job, Papi!

Other dining options at the Newport Mall include Recipes, Naah!m, Red Crab, Mr. Kurosawa, Annam, Italianni's, and many more. Some of them will have special offers and discounts till July 31, so it's the best time to go here!

Shopping Spree!

Why I prefer shopping at the Newport Mall: 1) Better stocks even on mid range brands like Bench and Mango, 2) Better service, 3) Less crowded than most malls in Manila!

They are also currently offering up to 70% off in most of the stores! Some of the brands available at the Newport Mall include Tommy Hilfiger, Victoria's Secret, Guess, Puma, Charles & Keith, Hush Puppies, Coalition, and Michael Antonio.

For trendy shoes, bags, and accessories, I went to Call It Spring:

I can't resist the logo shirts from Guess and Adidas, I realized that I have so much logo tees, it's turning into a collection na! Hehe.

Finally saw the 90s-cool Guess pieces that I've been looking for for a long time! They're all available at the Guess Newport Mall branch!

Comparing (shopping) notes with Ruthilish! Hehe!

Korea In Manila finds at the Newport Mall: Suzy Bae for The Face Shop and Park Shin Hye for Bench! 😍

All kinds of White Musk scents at The Body Shop, aka Goblin's perfume hehe:

Spotted: Affordable pink hoodie like the ones worn by your favorite Kdrama girls, available in Bench Newport Mall for only Php 699!

I saw Rhea buying a laptop case from Beyond The Box:

These are so kyeopta!!! Yellow and Millennial Pink sneakers with huge bows from Puma:

Where I wasted my time ~ Mango! They have pieces for as low as Php 400+!

Can't resist these comfy pieces at 50% off!

Coffee Break in Cafe Creole

After a tiring shopping for more than 1.5 hours, the gang headed to Cafe Creole, also located at the Newport Mall's The Plaza. I had a nice iced latte with sweet pastries, while my friends and I showcased our purchases to each other... My favorite part! Hehe! 😌😋

Ruth and Zed chilling by Newport Mall's plaza:

More Than Shopping And Dining!

But of course, a day is not enough at the Newport Mall! Aside from trying new cuisines and shopping to your heart's content, they also have top of the line cinemas currently offering special rates. Every 1pm to 4pm, children 12 years old and below can enjoy movies for the low price of Php 150! Meanwhile, adults may enjoy their favorite blockbuster for only Php 170! 

Want to pamper yourself? Island Spa is giving away 20% off in all their services, while Skin Perfection offers diamond peel treatments for only Php 499.

Heading Home 

Took lots of photos at the plaza before the group parted ways. If you're staying here till evening, Newport Mall holds musical events and live performances here at The Plaza from 7pm onwards.

Shoppers get to enjoy free parking by just presenting a minimum of Php 500 single or accumulated receipts. Otherwise, flat rate parking is just Php 50.

 Waiting for my Grab, hehehe:

Meanwhile, for fellow commuters! Coming to and from Newport Mall, get Php 50 off on your GrabCar fare by using the promo code "newportmall". Or you can just ask their very friendly guards to help you get a cab, they assisted me the whole time since it was already rush hour!

I really had fun that day! Thank you Newport Mall for hosting this fun bonding afternoon with blog friends I seldom see! Will definitely be back with my family naman. 😌

For more info, visit

          Las Casas Filipinas de Acuzar Tour with Insta 360 Nano        

I can't believe that it's already mid 2017!! 😅

Although I am feeling just a bit anxious with how fast time flies, I also feel fulfilment from all the things I was able to accomplish during the first part of the year. First, I was able to catch TWO of my most favorite bands (Coldplay and Goo Goo Dolls) live in concert. And second, I was able to travel out of the country three times in just 6 months (Singapore, Korea Spring, Korea Summer)! Hoping and praying for more to come!

With all these wonderful moments, I am just glad that I am BIG in documenting everything that happens in my life. Before, I just write down all my feels on a diary. But in this day and age of technology, I have my blog, Instagram, Facebook, Twitter, and even Instagram Live to immortalize everything!

Last week, I was able to join Digital Walker's blogger tour at the Las Casas Filipinas de Acuzar in Bataan. I've heard about this place so many times but had no chance to visit because it's too far. Las Casas is usually the venue for photo shoots especially pre-nups because the place is just so picture-perfect--a nice backdrop for all photo ops. When I received the invite for this day-trip, I didn't hesitate at all!

We met up in QC to board the Las Casas coaster. It was an early meet up, and the whole ride will take around 3 hours, so I thought it's the perfect time to catch up on my sleep! The night before hindi ako halos nakatulog with my bad case of insomnia!! 😭

Anyway, before sleeping we had breakfast and we received our Insta360 device to play around with. First step: Download the Insta360 app on our phones.

My first try, haha! 

With the Insta360 device, you can take level-up photos with your iPhone or Android phone.
I like the animated 360 photo that you can upload on Facebook, but another way to share your 360 photo is ala Tiny Planet:

My Insta360 Nano (for iPhones 6 to 7) and Ava's Insta360 Air (for Android). The app will automatically activate once you directly plug your device to your phone.

The Insta360 has real-time image stitching and integrated live-streaming support for Youtube and other platforms; you can share your 360 experiences from the app straight to your Facebook, Twitter, Whatsapp, and Messenger. I uploaded some of my shots on my personal FB account! Or you can also save your app photos to your phone so you can use them on your blog, etc. 

After hours of sleep and a few stop-overs, we finally arrived in Las Casas Filipinas de Acuzar. The view is breath-taking!

First order of business: Filipino lunch!

I have no food shots because we were all so hungry, haha! But I have this dining table photo on my Insta360 app:

Balsa Tour

Then, with no time to waste, we proceeded with the day's itinerary. First up: A balsa tour!

Las Casas' balsa tour is a relaxing way to cruise around the compound along the Umangol River, if you want to avoid all the walks!! Recommended if you're going here with the whole family, with your senior citizen parents. It's a good thing hindi din masyado mainit that day, we were able to glimpse the old houses and bridges, while taking Instagram worthy photos!!

Testing my Insta360 Nano while cruising:

It's so sleek and fits my iPhone 7 perfectly:

Insta360 Nano and Air (on Ava's Huawei)

When you have bloggers and vloggers on a tour, expect that they can't easily part with their phones. 😅✌

A cute Tiny Planet photo of me and my balsa-mates:

Our tour guide:
Sharing my balsa tour photos which I took with the Insta360 Nano:

Walking Tour

Las Casas also offers a guided heritage tour so you can enter and learn more about the different houses in the compound. I learned that these mansions were bought, carefully dismantled from their original sites (Bulacan, Quiapo, etc), and then transferred in Sir Acuzar's property here in Bataan to create this beautiful resort. So many stories and details!!

You can even sleep in one of these houses that they converted into hotel rooms and private casas. They have a beach in the compound, so it's a nice vacation spot for families and friends. Check out the rooms and rates in this page.

This is one of the shooting locations for Heneral Luna movie:

Had fun trying different photography perspectives:

Inside one of the houses:

So many OOTD spots! Quotang-quota ako, haha!

And of course, I took lots of Insta360 photos on every house we went in during the heritage tour:

See the details of the ceilings in these selfies:

Indoor photos still look great with Insta360:

Sample outdoor shots, hi Ava! Hehe:

It was super hot that day, but there's no stopping us from maximizing this trip! One of my favorite houses with teal walls and detailed ceiling:

Took Insta360 shot in the middle of the bridge:
At the center of the mansion:

Ava and I ended the trip by going around on our own at our favorite spots in Las Casas, and taking as much OOTDs as we can..Haha! Sayang ang chance! It was already drizzling by that time, but we were so determined to make the most out of that day! 

This is me and my favorite structure in Las Casas: the Hotel de Oriente. It reminds me of the movie The Grand Budapest Hotel!

Thank you Ava for being the best photo walk buddy! ❤

Another angle of this shot with my Insta360, hehe! #CaptureYourReality and share your adventures from every angle!

The Insta360 is available at all Digital Walker stores. SRP: Nano - Php 12,990.00 and Air - Php 6,990.00. For more information, follow Digital Walker on Facebook, and Instagram and Twitter @digitalwalkerph.

A heartfelt thank you to the whole Digital Walker and Bridges PR Team for having me and taking care of the whole group! We had a grand time with you guys! ❤

          Mumuso Korean Wasteland Finds!        

Before, I can't get over Japan and Korea because of their cheap shopping! All you have to do is go to the nearest Daiso or Don Quijote stores, and score all sorts of things at low low price--from skincare, to toys, to house needs, they have it! And most of them looks so cute pa!

That's why they call it "wastelands", because most of the things you think you will not need, biglang you will buy just because it's so hard to resist! Tapos naooverwhem pa ako coz we don't have them here then.

Good thing quality wastelands are already sprouting here in the country. We have Miniso stores, WeDo, and my new favorite: MUMUSO!

My first MUMUSO encounter was here in Alabang at the new South Park Mall. But I only had the chance to go around and shop when they opened their store in Greenbelt 1.

The place looks so inviting!

And although small lang sya, you will see it packed with so much nice things na biglang kailangan mo! 😂

Their cosmetics and skincare section fills more than 1/4 of the small store:

So Korean! They have two-tone and three-tone lipstick bars ala Laneige for only Php 199:

BB and CC Creams:

Lip balms and hand cream sets:

Hand wash, body wash, lotions:

So much face masks, what to get! Otoke! Lol.

I got a box of the green tea, which costs Php 399 lang per box, for 10 masks!

Pomegranate and Aloe skincare lines:

Look at that beautiful minimalist packaging!

Meanwhile, here are the other corners of this busy but neat store:


Pillow and plushies:


Socks and room slippers:

Sharing what I got during my first visit, total damage is around Php 550 only!

Sorry I threw away my receipt! Prices are just estimate from how I remember them... Message me if may mali!!

Hand Creams (Water Lilies and Cotton scents) - 2 for Php 99

2 pairs of "A" Varsity Socks - Php 99

Foam hand wash (my sister loves this) - Php 149

200ML Beauty Water - Php 149

Four Set of Kakao Friends Notepads - Php 99

Have you tried any beauty stuff or cosmetics from wastelands? What are your favorites? Share them to me @anagon! 😍

          Strong Woman Do Bong Soon Tour / Day 1        

It's so hard to write for me about things na lumipas na, that's why as much as possible I make my blog posts in a span of a week or two right after my travel! But for this Korea trip, things happened the moment I got back!

Assignments just started to pile up, there's Bloggers United event, work commitments, friend's wedding, concerts and other personal engagements.. but hey! I will super try my best to recall what happened on those days now that I am back at home--whole day all to myself!

So finally, another family trip! Yey! This is a bit overdue for me! Other than a family wedding in Cebu around two years ago, the last time all five of us traveled together was late 2013-early 2014 for America. Then we had our own personal travels with our friends, so I kind of missed going abroad with the parentals and my sisters.

Planning this Korea trip took months. OF COURSE they expected me to be totally hands on with this, since Korea is kind of my "turf". I suggested a lot of stuff, and they agreed to most of them including where we're staying. Mom and Dad just went with the flow, while Ate, Cea and I tried to mash our very assorted interests in a 6-day itinerary. How will you put together a nature lover, a foodie, and a K-drama girl in a really short trip!? It was challenging but fun!

First Order of Business: Pomato

When we arrived in Incheon Airport, it was already past lunch time. As per my itinerary, we all decided to go to our guest house first (New Sun, as always!) to check in before we eat a decent meal. So we rode the airport train going to Hoehyeon which took around 2 hours din, with all the walks, buying of train card, and 4 people and their luggages tailing me. We even got lost going to the guest house because I had no Google Maps and Internet went wonky (bad timing!😅).

Anyway, all is well! We went inside the homey New Sun Guest House, left our things, and freshened up a bit... Then decided to have our late lunch. Of course, I have to bring the family in my favorite: POMATO! This is just walking distance from our accommodation, right across Hoehyon subway.

We ordered all sorts of authentic Korean food, and I paid for all of them since it's around Php 1500 lang sya for all five of us. I really really love the gimbap here (na asa Php 65 lang), the unli side dishes and soup, and of course the spicy cheese ramyeun that Cea also enjoyed kahit hate nya spicy food usually!

I received quite a lot of photos na of readers who ate in Pomato because they read it in my blog or saw my IG stories, haha! But my best convert is this gang! They still talk about Pomato back here in Manila, when we recall about our trip from time to time. Dad said it's the most sulit meal we had, and I always beam whenever I hear praises over something I recommended. My fam is quite hard to please, so yey! Pomato, you need to pay me na for this free raves!!! Hahahah!

Do Bong Soon's House

After warming our tummies with that welcoming lunch, the fam already knew that I will dedicate our first day for my personal "business". Meaning, I will fit my Kdrama tour in less than half of the day. I have a longer list, but it's not possible with the time I have, plus, it's not really my priority for going to Korea at that time (it's to be with my family, and for my family to enjoy). So a few locations will do, balik nalang uli next time. 😌

So while my family enjoyed places I've been to already (they went to Myeongdong and Namsan Tower), I decided to first look for Do Bong Soon's house--which is also the location of other Kdramas I haven't seen yet like Doctors. From research, I also knew that nearby the house are other Kdrama locations that I might come across, so at least tuhog na!

Again, I have to re-state that I went there with NO INTERNET CONNECTION because of mix-ups I won't divulge into na. So of course my family needs the pocket wifi more, I decided to just maximize the free net in the train as much as I can. 

I walked and walked based on my pre-trip research and readings. I can't even ask for directions because nahihiya ata ako that time (dyahe maging introvert when traveling!). And also, I don't know what to ask! 

Anyway, so Do Bong Soon's house is located in Ihwa Mural Village, a former slum that's converted into a beautiful, artsy destination in Seoul. They have shops and small cafes in the area, and lots of wall art where tourists and locals alike take turns to have their selfies and OOTDs taken. I thought to myself, if ever I won't be able to find Do Bong Soon's house, I will at least enjoy these sights!

The Namsan Tower, where the parents and my sisters were hanging out at that time: 

Remember these streets, super crucial! Hehe.

It's in this corner! When I saw the stairs, I thought to myself that I already saw this in the series and I might be near the house na. So I went up...

... And saw even more art stores and cafes. I already saw this blue house without realizing eto na pala yun! It's the back of Do Bong Soon's house, haha! I walked further, went up more stairs, till I saw it!  

Yey! My heart skipped, mission accomplished! Haha! I spent a good 30 minutes just taking photos and vids here. Sulitin na! Even went down to take a closer look, and tried to go in the house (naka lock, hehe).

To get here, I went down Hyehwa Station Line 4, Exit 2 and followed the way to Naksan Park. Ideally, if you have internet, just Google Maps Naksan Park or Ihwa Mural Village. The address of the house is 14 Naksanseonggwakseo 1-gil. Right across the house, you will see this famous fortress walls of Naksan Park... 

Where Min-Min will park his car to drop-off Bong Bong, but will still take them a while to leave each other! 😂😍 In love na in love!

I walked around Naksan Park in the hopes of seeing more places I may recognize (this is where most Do Bong Soon park scenes happened but turns out Naksan Park is so HUGE huhu). When I did a time check, I decided to just let go muna so I can visit another highlight Do Bong Soon spot.

Bye muna Naksan Park!

IDGAF doggie with pink fluff for a tail, hehe:

Do Bong Soon's Dobong Walnut Bakery

I had to ride the train and bus to get here, so I decided that this will be my last stop na before meeting my family again in DDP. Good thing summer in Seoul means sunsets are at around 7:30 pm pa, days are longer. If you can see in this bus photo, clock says that it's already 7:14 pm pero maliwanag padin sa labas! 

Again, the challenging part is navigating from subway station to the location without Google Maps. Which way to turn, left or right? I don't know what instincts God gave me that day, but I made the right turn, and just walked and walked till I saw it! That's why I am bad in blogging directions coz I usually just go with gut feel and luck!!

Hello! ❤ 👀 Dobong Walnut Bakery is actually Plate B in real life. 

It is just across this church:

It looks like a friendly neighborhood cafe, which made me more excited to go in and have a latte! 🍰☕ You'll also see a Strong Woman Do Bong Soon poster from outside the store: 

I miss this trio!

Inside, I felt major kilig scanning the small place: This is where ahjumma and her friends hangout and gossip. This is the counter where Bong Soon's appa works as the walnut store manager. And then this is the corner where Minhyuk sat to chat with the Titas of Dobong-dong. 😂

The friendly store manager helped me with my orders. I had a cup of latte and of course a slice of the walnut pie!

They also offer other food here, and yehey they have wifi!

Another group of 2 girls went in, and they're more vocal with their intentions for dining in Plate B. They asked the store manager if she has seen Hyungsik during all the shoots, and they took a long time taking photos around the shop! 

I mustered my guts and asked if they can also take my photo, hehehe! SWDBS was my super favorite series then, so I decided to have my very first IG Live update while dining there just so I can share the experience and kilig!

To get here: Hop off subway Sookmyung Women's University Line 4, Exit 3. Take the Bus 202 heading to Namyeong Post Office, and hop off Huam-dong Woori Bank (after 2 stops). Facing Woori Bank, I went right and just walked and walked till I saw the store to my left. If you have internet, try to Google Maps "Plate B".

DDP / Shake Shack in Seoul!

After accomplishing the 2 highlight locations for Strong Woman Do Bong Soon, I decided to meet up with the family in Dongdaemun Design Plaza so they can see the thousand LED roses park at night. Ate also wanted to eat in Shake Shack Seoul (last time we had this was during our US trip!).. And luckily this is just across DDP!

I was there for a good 30-40 minutes before the fam arrived, which was a relief for me so they don't have to wait. I found a nice spot with wifi just outside DDP's subway exit, and enjoyed the tolerable cool Seoul summer weather at night. 

Took "artsy" pang-Instagram photos here while the parents rested their tired feet. It was a long and tiring first day, but that's just how we wanted it to end!

This is the third Shake Shack in Seoul, located in Doota Mall which is also a hip shopping center just across DDP. I will never even know that Korea has Shake Shack if not for my extreme foodie sister, hehe.

My Shake Shack Shroom Burger, I missed this!!!

Reenacted our first Shake Shack New York experience, but with me this time coz I took the photo before, hehehe! It can go crazy and a bit confusing, but I just love family trips! ❤

Read more on my Korea travels:
Spring 2016 | Autumn 2016 | Spring 2017 | Summer 2017 

Btw, you can watch snippets from this day on my first "vlog" hehe:

          Php 50 tours in Asia?! Yes! It’s the KKday Best of Asia Campaign!        

Whenever you travel to a tourist destination to check out a place’s amazing sights and breathtaking attractions, apart from food and transportation, what usually eats up a huge chunk of your budget? Tours and activities. Wouldn’t you agree? I mean, if you’re like me who loves to really take in a location’s culture and be […]

The post Php 50 tours in Asia?! Yes! It’s the KKday Best of Asia Campaign! appeared first on All Chucked Up!.

           CentOS 7 安裝 Nginx、PHP7、PHP-FPM        

  1. 安裝 nginx 
    CentOS 7 沒有內建的 nginx,所以先到 nginx 官網 ï¼Œæ‰¾åˆ° CentOS 7 的 nginx-release package 檔案連結,然後如下安裝
    rpm -Uvh
    安裝後,會自動產生 yum 的 repository 設定(在 /etc/yum.repos.d/nginx.repo), 
    接下來便可以使用 yum 指令安裝 nginx
    yum install nginx
  2. 啟動 nginx 
    以前用 chkconfig 管理服務,CentOS 7 改用 systemctl 管理系統服務 
    systemctl start nginx
    systemctl status nginx
    查看 nginx 服務目前的啟動設定
    systemctl list-unit-files | grep nginx
    若是 disabled,可以改成開機自動啟動
    systemctl enable nginx
    若有設定防火牆,查看防火牆運行狀態,看是否有開啟 nginx 使用的 port
    firewall-cmd --state
    永久開放開啟防火牆的 http 服務
    firewall-cmd --permanent --zone=public --add-service=http
    firewall-cmd --reload
    列出防火牆 public 的設定
    firewall-cmd --list-all --zone=public
    經過以上設定,應該就可以使用瀏覽器訪問 nginx 的預設頁面。
  3. 安裝 PHP-FPM 
    使用 yum 安裝 php、php-fpm、php-mysql
    yum install php php-fpm php-mysql
    查看 php-fpm 服務目前的啟動設定 
    systemctl list-unit-files | grep php-fpm
    systemctl enable php-fpm
    systemctl start php-fpm
    systemctl status php-fpm
  4. 修改 PHP-FPM listen 的方式 
    若想將 PHP-FPM listen 的方式,改成 unix socket,可以編輯 /etc/php-fpm.d/www.conf 
    listen =
    listen = /var/run/php-fpm/php-fpm.sock
    然後重新啟動 php-fpm
    systemctl restart php-fpm
    註:不要改成 listen = /tmp/php-fcgi.sock (將 php-fcgi.sock 設定在 /tmp 底下), 因為系統產生 php-fcgi.sock 時,會放在 /tmp/systemd-private-*/tmp/php-fpm.sock 隨機私有目錄下, 除非把 /usr/lib/systemd/system/ 裡面的 PrivateTmp=true 設定改成 PrivateTmp=false, 但還是會產生其他問題,所以還是換個位置最方便 


    # yum remove php*

    rpm 安装 Php7 相应的 yum源

    CentOS/RHEL 7.x:

    # rpm -Uvh # rpm -Uvh

    CentOS/RHEL 6.x:
    # rpm -Uvh


    yum install php70w php70w-opcache


    配置(configure)、编译(make)、安装(make install)

    使用configure --help


    Configuration: --cache-file=FILE       cache test results in FILE --help                  print this message --no-create             do not create output files --quiet, --silent       do not print `checking...' messages --version               print the version of autoconf that created configure Directory and file names: --prefix=PREFIX         install architecture-independent files in PREFIX [/usr/local] --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX



    为可执行程序声明目录,缺省是 EXEC-PREFIX/bin
    设置所安装的程序需要的只读文件的目录.缺省是 PREFIX/share
    用于各种各样配置文件的目录,缺省为 PREFIX/etc
    库文件和动态装载模块的目录.缺省是 EXEC-PREFIX/lib
    C 和 C++ 头文件的目录.缺省是 PREFIX/include
    文档文件,(除 “man(手册页)”以外, 将被安装到这个目录.缺省是 PREFIX/doc
    随着程序一起带的手册页 将安装到这个目录.在它们相应的manx子目录里. 缺省是PREFIX/man
    注意: 为了减少对共享安装位置(比如 /usr/local/include) 的污染,configure 自动在 datadir, sysconfdir,includedir, 和 docdir 上附加一个 “/postgresql” 字串, 除非完全展开以后的目录名字已经包含字串 “postgres” 或者 “pgsql”.比如,如果你选择 /usr/local 做前缀,那么 C 的头文件将安装到 /usr/local/include/postgresql, 但是如果前缀是 /opt/postgres,那么它们将 被放进 /opt/postgres/include
    DIRECTORIES 是一系列冒号分隔的目录,这些目录将被加入编译器的头文件 搜索列表中.如果你有一些可选的包(比如 GNU Readline)安装在 非标准位置,你就必须使用这个选项,以及可能还有相应的 --with-libraries 选项.
    DIRECTORIES 是一系列冒号分隔的目录,这些目录是用于查找库文件的. 如果你有一些包安装在非标准位置,你可能就需要使用这个选项 (以及对应的--with-includes选项)

    • PHP FPM設定參考
      pid = /usr/local/php/var/run/
      error_log = /usr/local/php/var/log/php-fpm.log
      listen = /var/run/php-fpm/php-fpm.sock
      user = www
      group = www
      pm = dynamic
      pm.max_children = 800
      pm.start_servers = 200
      pm.min_spare_servers = 100
      pm.max_spare_servers = 800
      pm.max_requests = 4000
      rlimit_files = 51200
      listen.backlog = 65536
      ;設 65536 的原因是-1 可能不是unlimited
      slowlog = /usr/local/php/var/log/slow.log
      request_slowlog_timeout = 10
    • nginx.conf 設定參考 
      user  nginx;
      worker_processes  8;
      error_log  /var/log/nginx/error.log warn;
      pid		/var/run/;
      events {
        use epoll;
        worker_connections  65535;
      worker_rlimit_nofile 65535;
      #若沒設定,可能出現錯誤:65535 worker_connections exceed open file resource limit: 1024
      http {
        include	   /etc/nginx/mime.types;
        default_type  application/octet-stream;
        log_format  main  '$remote_addr - $remote_user [$time_local] "$request" '
                  '$status $body_bytes_sent "$http_referer" '
                  '"$http_user_agent" "$http_x_forwarded_for"';
        access_log  /var/log/nginx/access.log  main;
        sendfile		on;
        tcp_nopush	 on;
        keepalive_timeout  65;
        server_names_hash_bucket_size 128;
        client_header_buffer_size 32k;
        large_client_header_buffers 4 32k;
        client_max_body_size 8m;
        server_tokens  off;
        client_body_buffer_size  512k;
        # fastcgi
        fastcgi_connect_timeout 300;
        fastcgi_send_timeout 300;
        fastcgi_read_timeout 300;
        fastcgi_buffer_size 64k;
        fastcgi_buffers 4 64k;
        fastcgi_busy_buffers_size 128k;
        fastcgi_temp_file_write_size 128k;
        fastcgi_intercept_errors on;
        #gzip (說明
        gzip  off;
        gzip_min_length  1k;#1k以上才壓縮
        gzip_buffers 32  4k;
          #使用 getconf PAGESIZE 取得系統 one memory page size,
        gzip_http_version  1.0;
        gzip_comp_level  2;
        gzip_types  text/css text/xml application/javascript application/atom+xml application/rss+xml text/plain application/json;
          #查看 nginx 的 mime.types 檔案(/etc/nginx/mime.types),裡面有各種類型的定義
        gzip_vary  on;
        include /etc/nginx/conf.d/*.conf;
      若出現出現錯誤:setrlimit(RLIMIT_NOFILE, 65535) failed (1: Operation not permitted) 
      ulimit -n
      若設定值太小,修改 /etc/security/limits.conf
      vi /etc/security/limits.conf
      * soft nofile 65535
      * hard nofile 65535

Alpha 2016-08-10 13:44 发表评论

          Ubuntu 14.04 安装 php nginx mysql JDK 8 svn        

安装 MySQL 5 数据库

安装 MySQL 运行命令:

sudo apt-get install mysql-server mysql-client

将mysql的datadir从默认的/var/lib/mysql 移到/app/data/mysql下,操作如下:
1.修改了/etc/mysql/my.cnf,改为:datadir = /app/data/mysql
2.cp -a /var/lib/mysql /app/data/
3./etc/init.d/mysql start

如果出现系统报错,无法启动mysql,日志显示为:Can't find file: "./mysql/plugin.frm'(errno:13)
[ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.


1.修改usr.sbin.mysqld里面的两行内容:/var/lib/mysql/ r,改为:/app/data/mysql/ r,/var/lib/mysql/** rwk,改为:/app/data/mysql/** rwk,
2.修改abstractions/mysql中一行:/var/lib/mysql/mysql.sock rw,改为:/app/data/mysql/mysql.sock rw,
3.重新加载apparmor服务:/etc/init.d/apparmor reload

安装 Nginx

在安装 Nginx 之前,如果你已经安装 Apache2 先删除在安装 nginx:

service apache2 stop
update-rc.d -f apache2 remove
sudo apt-get remove apache2

sudo apt-get install nginx

安装 PHP5

我们必须通过 PHP-FPM æ‰èƒ½è®©PHP5正常工作,安装命令:

sudo apt-get install php5-fpm



sudo apt-get install php5-gd libapache2-mod-auth-mysql php5-mysql openssl libssl-dev

sudo apt-get install curl libcurl3 libcurl3-dev php5-curl

安装 JDK8


lxh@ubuntu:~$ wget -c


lxh@ubuntu:~$ mkdir -p /usr/lib/jvm 
lxh@ubuntu:~$ sudo mv jdk-8u25-linux-x64.tar.gz /usr/lib/jvm
lxh@ubuntu:~$ cd /usr/lib/jvm
lxh@ubuntu:~$ sudo tar xzvf jdk-8u25-linux-x64.tar.gz


lxh@ubuntu:~$ sudo vim ~/.profile


export JAVA_HOME=/usr/lib/jvm/jdk1.8.0_25/
export JRE_HOME=/usr/lib/jvm/jdk1.8.0_25/jre
export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar:$JAVA_HOME/lib:$JRE_HOME/lib:$CLASSPATH
export PATH=$JAVA_HOME/bin:$PATH


lxh@ubuntu:~$ $source ~/.profile



sudo update-alternatives --install /usr/bin/java java /usr/lib/jvm/jdk1.8.0_25/bin/java 300
sudo update-alternatives --install /usr/bin/javac javac /usr/lib/jvm/jdk1.8.0_25/bin/javac 300
sudo update-alternatives --config java

因为我是在虚拟机中安装的Ubuntu 14.04,默认不安装OpenJDK,所以没有需要选择的JDK版本。如果是在物理机上安装的Ubuntu版本,会出现几个候选项,可用于替换 java (提供 /usr/bin/java)。


1. 下载最新版nginx
3. 安装
$ ./configure  #检查编译前置条件
$ make  #编译
$ sudo make install  #使用sudo权限进行安装
安装后路径在 /usr/local/
1)使用在 /etc/init.d/ 目录下创建名为 nginx 文件,注意没有后缀名,将以下内容复制到该文件中(感谢提供脚本的兄弟)。
 1 #! /bin/sh
 2 #用来将Nginx注册为系统服务的脚本
 3 #Author CplusHua
 4 #
 5 #chkconfig: - 85 15
 6 set -e
 7 PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
 8 DESC="Nginx Daemon"
 9 NAME=nginx
10 DAEMON=/usr/local/nginx/sbin/$NAME
11 SCRIPTNAME=/etc/init.d/$NAME
12 #守护进程不存在就退出
13 test -x $DAEMON ||exit 0
14 d_start(){
15   $DAEMON ||echo -n "aready running"
16 }
17 d_stop(){
18   $DAEMON -s quit || echo -n "not running"
19 }
20 d_reload(){
21   $DAEMON -s reload || echo -n "could not reload"
22 }
23 case "$1" in
24   start)
25     echo -n "Starting $DESC: $NAME"
26     d_start
27     echo "."
28   ;;
29   stop)
30     echo -n "Stopping $DESC: $NAME"
31     d_stop
32     echo "."
33   ;;
34   reload)
35     echo -n "Reloading $DESC: configurationg.."
36     d_reload
37     echo "reloaded."
38   ;;
39   restart)
40     echo -n "Restarting $DESC: $NAME"
41     d_stop
42     sleep 3
43     d_start
44     echo "."
45   ;;
46   *)
47     echo "Usage: $SCRIPTNAME {start|stop|restart|reload}" >&2
48     exit 3
49   ;;
50 esac
52 exit 0

    $ sudo chmod +x nginx
3)服务方式启动 如果配置服务前已启动,执行以下命令停止Nginx。
    $ sudo service nginx stop
    $ sudo service nginx start

pastingnginx出现connect() to unix:/var/run/php5-fpm.sock failed (13: Permission denied)的错误


    listen.owner = www-data = www-data
    listen.mode = 0660

    $ sudo service php5-fpm restart

Ubuntu 14.04快速搭建SVN服务器及日常使用


    # apt-get install subversion
    # sudo mkdir /app/svn
    # sudo svnadmin create /app/svn/prj

  # sudo vi svnserve.conf  #将以下参数去掉注释 
  anon-access = none    #匿名访问权限,默认read,none为不允许访问 
  auth-access = write  #认证用户权限  
  password-db = passwd  #用户信息存放文件,默认在版本库/conf下面,也可以绝对路径指定文件位置 
  authz-db = authz

  # sudo vi passwd    #格式是用户名=密码,采用明文密码 
  xiaoming = 123 
  zhangsan = 123 
   lisi = 123

# sudo vi authz  
  [groups]          #定义组的用户 
  manager = xiaoming 
  core_dev = zhangsan,lisi 
  [repos:/]          #以根目录起始的repos版本库manager组为读写权限 
  @manager = rw 
  [repos:/media]    #core_dev对repos版本库下media目录为读写权限 
  @core_dev = rw


  # sudo svnserve -d -r /app/svn
  # 查看是否启动成功,可看的监听3690端口
  # sudo netstat -antp |grep svnserve
  tcp    0      0*      LISTEN    28967/svnserve 
  # 如果想关闭服务,可使用pkill svnserve

  # 访问repos版本库地址

   svnadmin dump备份
  # 完整备份
  svnadmin dump /app/svn/prj > YYmmdd_fully_backup.svn
  # 完整压缩备份
  svnadmin dump /app/svn/prj | gzip > YYmmdd_fully_backup.gz
  # 备份恢复
  svnadmin load /app/svn/prj < YYmmdd_fully_backup.svn
  zcat YYmmdd_fully_backup.gz | svnadmin load repos
  ### 增量备份 ###
  # 先完整备份
  svnadmin dump /app/svn/prj -r 0:100 > YYmmdd_incremental_backup.svn
  # 再增量备份
  svnadmin dump /app/svn/prj -r 101:200 --incremental > YYmmdd_incremental_backup.svn
svnadmin hotcopy备份

  # 备份
  svnadmin hotcopy /app/svn/prj YYmmdd_fully_backup --clean-logs
  # 恢复
  svnadmin hotcopy YYmmdd_fully_backup /app/svn/prj

Tomcat 内存优化


要添加在tomcat 的bin 下 里,位置cygwin=false前 。注意引号要带上,红色的为新添加的.

# OS specific support. $var _must_ be set to either true or false.
JAVA_OPTS="-server -Xms512M -Xmx512M -Xss256K -Djava.awt.headless=true -Dfile.encoding=utf-8 -XX:PermSize=64M -XX:MaxPermSize=128m"


Alpha 2015-10-07 15:28 发表评论


[root@CentOS ~]# chkconfig iptables off

vi /etc/sysconfig/selinux

3、配置CentOS 6.0 第三方yum源(CentOS默认的标准源里没有nginx软件包)
[root@CentOS ~]# yum install wget
[root@CentOS ~]# wget
//下载atomic yum源
[root@CentOS ~]# sh ./atomic
[root@CentOS ~]# yum check-update

[root@CentOS ~]# yum -y install ntp make openssl openssl-devel pcre pcre-devel libpng
libpng-devel libjpeg-6b libjpeg-devel-6b freetype freetype-devel gd gd-devel zlib zlib-devel
gcc gcc-c++ libXpm libXpm-devel ncurses ncurses-devel libmcrypt libmcrypt-devel libxml2
libxml2-devel imake autoconf automake screen sysstat compat-libstdc++-33 curl curl-devel

[root@CentOS ~]# yum remove httpd
[root@CentOS ~]# yum remove mysql
[root@CentOS ~]# yum remove php

[root@CentOS ~]# yum install nginx
[root@CentOS ~]# service nginx start
[root@CentOS ~]# chkconfig --levels 235 nginx on

[root@CentOS ~]# yum install mysql mysql-server mysql-devel
[root@CentOS ~]# service mysqld start
[root@CentOS ~]# chkconfig --levels 235 mysqld on
[root@CentOS ~]# mysqladmin -u root password "123456"
[root@CentOS ~]# service mysqld restart

[root@CentOS ~]# yum install php lighttpd-fastcgi php-cli php-mysql php-gd php-imap php-ldap
php-odbc php-pear php-xml php-xmlrpc php-mbstring php-mcrypt php-mssql php-snmp php-soap
php-tidy php-common php-devel php-fpm
[root@CentOS ~]# service php-fpm start
[root@CentOS ~]# chkconfig --levels 235 php-fpm on

[root@CentOS ~]# mv /etc/nginx/nginx.conf /etc/nginx/nginx.confbak
[root@CentOS ~]# cp /etc/nginx/nginx.conf.default /etc/nginx/nginx.conf
[root@CentOS ~]# vi /etc/nginx/nginx.conf
index index.php index.html index.htm;
location ~ \.php$ {
root /usr/share/nginx/html;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME /usr/share/nginx/html$fastcgi_script_name;
include fastcgi_params;

//编辑文件php.ini,在文件末尾添加cgi.fix_pathinfo = 1
[root@CentOS ~]# vi /etc/php.ini

11.重启nginx php-fpm
[root@CentOS ~]# service nginx restart
[root@CentOS ~]# service php-fpm restart

[root@CentOS ~]# vi /usr/share/nginx/html/info.php


Alpha 2012-09-12 18:39 发表评论


DNS是域名系统(Domain Name System)的缩写,它的作用是将主机名解析成IP(正向解析),从IP地址查询其主机名(反向解析)。







bind bind-libs bind-utils bind-chroot caching-nameserver




yum install bind bind-libs bind-utils bind-chroot

这里更新源上的版本是bind 9.3.6-16.P1.el5,DNS的配置文件放在/var/named/chroot目录下。


cp /usr/share/doc/bind-9.3.6/sample/etc/* /var/named/chroot/etc
cp -a /usr/share/doc/bind-9.3.6/sample/var/named/* /var/named/chroot/var/named

主配置文件:/var/named/chroot/etc/named.conf 设置一般的named参数,指向该服务器使用的域数据库的信息源。
根域名服务器指向文件:/var/named/chroot/var/named/named.root 指向根域名服务器,用于唯高速缓存服务器的初始配置。
正向解析文件:/var/named/chroot/var/named/ localhost区文件,用于将名字localhost转换为本地回送IP地址(,正向解析。
反向解析文件:/var/named/chroot/var/named/named.local localhost区文件,用于将本地回送IP地址(转换成名字localhost,反向解析。


service named restart


Stopping named: [ OK ]
Starting named: [FAILED]


cat /var/log/messages |grep named


my named[1384]: /etc/named.conf:100 configuring key ‘ddns_key’: bad base64 encoding

是没有ddns_key造成的,执行/usr/sbin/dns-keygen来生成TSIG keys。然后替换named.conf中
secret “use /usr/sbin/dns-keygen to generate TSIG keys”;引号内的内容。



vim /var/named/chroot/etc/named.conf


key ddns_key
algorithm hmac-md5;
secret “5L6JQccNVZ53CHA3iW4VnPgDZXdcX3U3pnhL2txKUsaPqwBRddE58LpA7uiI”;


options //设置data相关文件,对data/目录要有写的权限
logging //debug log
view “localhost_resolver” //本地解析,caching only nameserver
view “internal” //限定同一个局域网的内部用户使用
key ddns_key //设置ddns key
view “external” //限制外部用户请求这个DNS服务器


cd /var/named/chroot/var/named
chown named:named data


cd /var/named/chroot/var
chmod g+w named

如果这个目录没有写权限的话,named服务可以启动,但是系统日志里会有,”the working directory is not writable”错误。

7.修改name.conf中view “external”区域内设置:

vim /var/named/chroot/etc/named.conf
recursion yes; //打开递归
allow-query-cache { any; }; //允许查询缓存


service named restart
Stopping named: [ OK ]
Starting named: [ OK ]



tail -30 /var/log/messages |grep named



chkconfig –level named 345 on


以test.com域为例子: //web服务 //域名服务 //邮件服务 //文件服务


vim /var/named/chroot/etc/named.rfc1912.zones


zone “” IN {
type master;
file “”;
allow-update { none; };


zone “” IN {
type master;
file “”;
allow-update { none; };


cd /var/named/chroot/var/named




$TTL  86400
@    IN SOA @  root (
42     ; serial (d. adams)
3H     ; refresh
15M     ; retry
1W     ; expiry
1D )     ; minimum

www   IN A
ns    IN A
work   IN CNAME   www
mail    IN A
@     IN MX 10
ftp     IN A


cp named.local




$TTL  86400
@  IN  SOA  localhost. root.localhost. (
1997022700 ; Serial
28800  ; Refresh
14400  ; Retry
3600000 ; Expire
86400 ) ; Minimum
100  IN  PTR
101  IN  PTR
103  IN  PTR
104  IN  PTR

6.编辑named.conf,将test.com区域加入到view “external”中:

vim /var/named/chroot/etc/named.conf

由于zone “”是写在named.rfc1912.zones文件中的,在view “external”中添加:

include “/etc/named.rfc1912.zones”;


service named restart




vim /var/named/chroot/etc/named.rfc1912.zones


zone “” IN {
type slave;
file “slaves/”;
masters {; }; //这里填主DNS服务器IP


zone “” IN {
type slave;
file “slaves/”;
masters {; }; //这里填主DNS服务器IP

2.编辑named.conf,将named.rfc1912.zones文件加入到view “external”中:

vim /var/named/chroot/etc/named.conf

在view “external”中添加:

include “/etc/named.rfc1912.zones”;


cd /var/named/chroot/var/named
chown root:named slaves


chmod g+w slaves



service named restart




Alpha 2011-11-21 16:25 发表评论


Lighttpd 作为新一代的web server,以小巧(不到1M的大小)、快速而著称,因为服务器上安装了rails、java,并以lighttpd为前端代理服务器,不想再部署apache了,所以直接使用lighttpd来部署,顺便看一下性能如何。

本文主要介绍在CentOS下,配置一套用lighttp作为web server的php环境

· 安装Lighttpd
安装前先检查pcre是否安装,需要pcre和pcre-devel两个包。 用yum search pcre\*检查,如果都是installed就是都安装了。否则安装缺少的包。

yum install pcre-devel


tar xzvf lighttpd-1.4.23.tar.gz
cd lighttpd-1.4.23
./configure –prefix=/usr/local/lighttpd


make && make install


cp doc/sysconfig.lighttpd /etc/sysconfig/lighttpd
mkdir /etc/lighttpd
cp doc/lighttpd.conf /etc/lighttpd/lighttpd.conf


cp doc/rc.lighttpd.redhat /etc/init.d/lighttpd


cp doc/rc.lighttpd /etc/init.d/lighttpd






/etc/init.d/lighttpd start
/etc/init.d/lighttpd stop
/etc/init.d/lighttpd restart


chkconfig lighttpd on




2)server.document-root, server.error-log,accesslog.filename需要指定相应的目录

server.username = “nobody”
server.groupname = “nobody”
从安全角度来说,不建议用root权限运行web server,可以自行指定普通用户权限。

compress.cache-dir = “/tmp/lighttpd/cache/compress”
compress.filetype = (“text/plain”, “text/html”,”text/javascript”,”text/css”)

5)配置ruby on rails


$HTTP["host"] == "" {
 server.document-root = "/yourrails/public"
 server.error-handler-404 = "/dispatch.fcgi"
 fastcgi.server = (".fcgi" =>
    ("localhost" =>
      ("min-procs" => 10,
       "max-procs" => 10,
       "socket" => "/tmp/lighttpd/socket/rails.socket",
       "bin-path" => "/yourrails/public/dispatch.fcgi",
       "bin-environment" => ("RAILS_ENV" => "production")

即由lighttpd启动10个FCGI进程,lighttpd和FCGI之间使用本机Unix Socket通信。

$HTTP[”host”] =~ “(^|\.)abc\.com” {



$HTTP["host"] =~ “” {
proxy.server = ( “” => ( “localhost” => ( “host”=> “″, “port”=> 8080 ) ) )

则www.domain.cn为主机的网址都交给tomcat处理,tomcat的端口号为8080. 在tomcat的虚拟主机中,需要捕获www.domain.cn这个主机名,设置这个虚拟主机。这里的host都是跟tomcat里面的虚拟主机对应的。

· 安装支持fastcgi的PHP



tar xvjf curl-7.19.5.tar.bz2
cd curl-7.19.5
./configure –prefix=/usr/local/curl


tar xvzf gettext-0.17.tar.gz
cd gettext-0.17
./configure –prefix=/usr/local/gettext


tar xvzf zlib-1.2.3.tar.gz
cd zlib-1.2.3
./configure –prefix=/usr/local/zlib
make && make install


tar xvzf libpng-1.2.9.tar.gz
cd libpng-1.2.9
./configure –prefix=/usr/local/libpng
make && make install


tar xvzf jpegsrc.v6b.tar.gz
cd jpeg-6b/
./configure –prefix=/usr/local/jpeg6


mkdir /usr/local/jpeg6/bin
mkdir -p /usr/local/jpeg6/bin
mkdir -p /usr/local/jpeg6/man/man1
mkdir -p /usr/local/jpeg6/lib
mkdir -p /usr/local/jpeg6/include
make install-lib
make install


tar xvzf freetype-2.3.9.tar.gz
cd freetype-2.3.9
./configure –prefix=/usr/local/freetype2


tar xvzf gd-2.0.35.tar.gz
cd gd-2.0.35
./configure –prefix=/usr/local/gd2 –with-zlib=/usr/local/zlib/ –with-png=/usr/local/libpng/ –with-jpeg=/usr/local/jpeg6/ –with-freetype=/usr/local/freetype2/
make install


tar xvzf php-5.2.10.tar.gz
cd php-5.2.10
./configure –prefix=/usr/local/php –with-mysql=/usr/local/mysql –with-pdo-mysql=/usr/local/mysql –with-jpeg-dir=/usr/local/jpeg6/ –with-png-dir=/usr/local/libpng/ –with-gd=/usr/local/gd2/ –with-freetype-dir=/usr/local/freetype2/  –with-zlib-dir=/usr/local/zlib –with-curl=/usr/local/curl –with-gettext=/usr/local/gettext –enable-fastcgi –enable-zend-multibyte –with-config-file-path=/etc –enable-discard-path –enable-force-cgi-redirect
php.ini-dist /etc/php.ini


可以使用php -m查看你安装的模块


tar xjvf eaccelerator-
cd eaccelerator-
export PHP_PREFIX="/usr/local/php"
./configure –enable-eaccelerator=shared –with-php-config=$PHP_PREFIX/bin/php-config

vim /etc/php.ini

cgi.fix_pathinfo = 1




$ php -v
PHP 5.2.10 (cli) (built: Jun 20 2009 23:32:09)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies
    with eAccelerator v0.9.5.3, Copyright (c) 2004-2006 eAccelerator, by eAccelerator

vim /etc/lighttpd/lighttpd.conf

fastcgi.server             = ( ".php" =>
                               ( "localhost" =>
                                   "socket" => "/tmp/php-fastcgi.socket",
                                   "bin-path" => "/usr/local/php/bin/php-cgi"


/etc/init.d/lighttpd restart


Alpha 2011-06-22 23:24 发表评论

          Comment on Twitter Digest Lives! by Tim        
Not really sure on this one. Have you tried re-installing the plugin? Also might you have another plugin that uses the OAuth.php code? Something else that accesses Twitter perhaps?
          Comment on Twitter Digest Lives! by whykimi        
Hi Tim, Awesome plugin! loving it!, But just an issue which is similar to JAB_AU (Comment number 3). But now, when I click Ping Twitter, it gave me this error: Fatal error: Cannot redeclare class OAuthSignatureMethod_HMAC_SHA1 in /home/notakoson/domains/ on line 120 Please advise.
          Comment on Twitter Digest Lives! by Tim        
Sorry for the delayed response. I've been away on vacation. I'll have to look at adding emoji support. Doesn't surprise me that the plugin barfed on that. If you have access to your web server logs there is possibly a PHP error in there that would be useful. Thanks Tim
          Les News en php        
Le flux des News du site généré en php via une base de données
          On Our Radar: PHP 7 Controversy and Dependency Injection        

Over the past eight months, we've enjoyed bringing to you the latest and greatest updates from the world of web development. But we've also noticed that discussions among web professionals on our forums have not been receiving nearly enough exposure as they should.

To change things up a bit, we're going to start bringing to you items and information from those discussions that have caught our attention. Sometimes these discussions will be useful and interesting, and sometimes they may be challenging or insightful. Either way, they're likely to bring new information to light that you haven't come across before, and will help to provide insight and perspective on topics you're interested in.

So let's get started!

PHP 7 Controversy

The PHP 7 Revolution article brought on a vast amount of discussion in our forums. The article covered information on how PHP is skipping 5.7 and moving directly to PHP 7, that the new version will give us return types, and that the removal of PHP4-style constructors is certainly going to be a controversial change. Tony Marstron controversially pleaded: please don't break our language.

An excellent response from rrcatto:

"If a business needs to run a piece of code, to me this also implies actively maintaining it. ... If the language changes, code must also change. That is the only dev paradigm that makes sense, because progress is a good thing and we should not hinder it."

Continue reading %On Our Radar: PHP 7 Controversy and Dependency Injection%


cambergdiscount posted a video

CULTURED PEARL JEWELRY, EARRINGS, RINGS, NECKLACES - JUNEDISCOUNTJEWELS.mp4 - This site offers exquisite designs of cultured pearl jewelry - earrings, rings, pendants, necklaces made out of pearl. You certainly want your loved one to be happy so why not give these ideal gifts and you can draw them closer to you.


cambergdiscount posted a video

CULTURED PEARL JEWELRY, EARRINGS, RINGS, NECKLACES FOR YOU - may_discountjewels.mp4 - This site provides you with exquisite designs of cultured pearl jewelry - earrings, rings, pendants, necklaces made out of pearl. This could be ideal gifts to special people like your loved ones.


cambergdiscount posted a video

COLORED JEWELRY:A PERFECT GIFT IDEA FOR SOMEONE SPECIAL - aprildiscountjewels-coloredstone.mp4 -If you are looking for beautiful colored jewelry then this site is definitely for you. For they offer wide array of magnificent colored stone jewelry, from earrings, necklace, bracelets, rings and many more. The finest jewelry is available here, great for gift ideas and for jewelry lovers.

          Dasar Pemrograman Website        
Dasar-dasar Pemrograman PHP Disusun oleh: Rosihan Ari Yuana 1 BAB I. PHP – INTRODUCTION Apa Itu PHP? Berdasarkan informasi dari situs resmi PHP, “”, PHP (PHP: Hypertext Prepocessor) merupakan ReadMore >>
          Vaga de Coordenador Técnico PHP São Paulo – SP        

          2013 NCSU Vermiculture Conference – Early Bird Pricing        
From Rhonda Sherman: The Early Bird Registration Rate is ending on September 20…only a week away! Reserve your seat today by registering for NCSU’s 14th Vermiculture Conference. New this year: register on-line and pay by credit card at Click below in my autosignature to check out the speakers, agenda, where to stay, etc. See […]
          Composer в Drupal 8. Вывод последних твитов из Twitter.        
PHP Composer

Для установки модулей и библиотек лучше всего использовать composer. Composer - это менеджер библиотек, он позволяет управлять зависимостями одних библиотек, модулей, от других библиотек, модулей. Если у модуля есть зависимость от библиотеки, то composer автоматически скачать эту библиотеку при установке модулей. С одной стороны composer усложняет установку модулей, но с другой нам становится проще в плане установки библиотек, потому что теперь они будут скачивать и подключаться сами.

Для того чтобы скачать и установать composer перейдите на официальный сайт:

Кстати, Drush теперь тоже ставится через Composer, если вы устанавливали Drush, то composer у вас уже есть. Проверить что у вас установлен composer можно коммандой:

composer --version

В результате должна появиться версия composer:


Теперь заходим в папку нашего сайта через консоль и можем работать с Composer.

Вывод последних твитов Twitter в Drupal 8

Для начала вы должны создать application в Twitter и получить пару токенов, которые будут использоваться дальше. Вы можете создать application здесь:

Версия 1.0 скоро перестанет работать и неавторизованные запросы будут отклоняться. Так что используйте версию 1.1 или более позднюю версию Twitter API.

1. Создание аккаунта разработчика. Настройте свой аккаунт разработчика на Twitter.

Заполняем форму регистрации. Это бесплатно и это необходимый шаг, чтобы выполняться запросы к API Twitter версии 1.1. Заходите теперь на страницу My Apps и нажимайте Create New App:


2. Создание Twitter application. Заполняйте форму создания application с указанием домена вашего сайта.

Drupalbook twitter

Если вас перенаправлило на страницу application, значит application создался. Теперь нам потребуются следующие данные:

  • Consumer key
  • Consumer secret
  • Access token
  • Access token secret

В документации Twitter API есть описание для чего нужен токен и как его использовать

3. Создание Access token. OAuth требует несколько токенов. Так что вам нужно их сгенерировать.

Twitter OAth токены

Это создаст Access Token, Access Token Secret, которые мы будем дальше использовать.

Теперь мы можем получать наши твиты через Twitter API. Мы можем использовать напрямую Twitter API и через drupal_http_request получать ответы от серверов Twitter. Но лучше и проще использовать библиотеку для работы с Twitter. Если Twitter API измениться, то нам не нужно будет разбираться в тонкостях нового v1.2 API, мы просто обновим библиотеку, а поддержку совместимости оставим разработчикам библиотеки.

В данной статье мы будем использовать эту библиотеку

Для того чтобы установить эту библиотеку в Drupal, нам нужно только написать в composer команду:

composer require j7mbo/twitter-api-php

Composer сам найдет библиотеку и установит ее зависимости, если они есть. И мы сразу сможем использовать эту библиотеку у себя в коде.

Ниже код модуля для вывода последнего твита в блоке. Настройки ключей и токенов, я вынес в отдельную конфигурационную форму:


Код модуля можно скачать в прикрепленных файлах статьи или с Github репозитория учебного сайта по верстке Drupal 8 темы на основе Bootstrap:

Файлы модуля:

/modules/twitter_block/ - Основной файл модуля

name: Twitter Block
description: Display Last tweets.
type: module
core: 8.x
package: Custom

/modules/twitter_block/src/Plugin/Block/TwitterBlock.php - Плагин блока


namespace Drupal\twitter_block\Plugin\Block;

use Drupal\Core\Block\BlockBase;

 * Provides a Last tweet block.
 * @Block(
 *   id = "twitter_block",
 *   admin_label = @Translation("Twitter block"),
 * )
class TwitterBlock extends BlockBase {

   * {@inheritdoc}
  public function build() {
    $content = '';
    $config = \Drupal::config('twitter_block.settings');
    $settings = array(
      'consumer_key' => $config->get('consumer_key'),
      'consumer_secret' => $config->get('consumer_secret'),
      'oauth_access_token' => $config->get('access_token'),
      'oauth_access_token_secret' => $config->get('access_token_secret'),

    // Set here the Twitter account from where getting latest tweets
    $screen_name = 'netglooweb';

    // Get timeline using TwitterAPIExchange
    $url = '';
    $getfield = "?count=1";
    $requestMethod = 'GET';

    $twitter = new \TwitterAPIExchange($settings);
    $user_timeline = $twitter
      ->buildOauth($url, $requestMethod)

    $messages = json_decode($user_timeline);
    if (!empty($messages)) {
      foreach ($messages as $message) {
        $content .= '<div class="twitter-message">' . $message->text . '</div>';
    return array(
      '#markup' => $content,


/modules/twitter_block/src/Form/TwitterBlockSettingsForm.php - Конфигурационная форма


namespace Drupal\twitter_block\Form;

use Drupal\Core\Form\ConfigFormBase;
use Drupal\Core\Form\FormStateInterface;

 * Configure example settings for this site.
class TwitterBlockSettingsForm extends ConfigFormBase {
   * {@inheritdoc}
  public function getFormId() {
    return 'twitter_block_admin_settings';

   * {@inheritdoc}
  protected function getEditableConfigNames() {
    return [

   * {@inheritdoc}
  public function buildForm(array $form, FormStateInterface $form_state) {
    $config = $this->config('twitter_block.settings');

    $form['consumer_key'] = array(
      '#type' => 'textfield',
      '#title' => $this->t('Consumer key'),
      '#default_value' => $config->get('consumer_key'),

    $form['consumer_secret'] = array(
      '#type' => 'textfield',
      '#title' => $this->t('Consumer secret'),
      '#default_value' => $config->get('consumer_secret'),

    $form['access_token'] = array(
      '#type' => 'textfield',
      '#title' => $this->t('Access token'),
      '#default_value' => $config->get('access_token'),

    $form['access_token_secret'] = array(
      '#type' => 'textfield',
      '#title' => $this->t('Access token secret'),
      '#default_value' => $config->get('access_token_secret'),

    return parent::buildForm($form, $form_state);

   * {@inheritdoc}
  public function submitForm(array &$form, FormStateInterface $form_state) {
      ->set('consumer_key', $form_state->getValue('consumer_key'))
      ->set('consumer_secret', $form_state->getValue('consumer_secret'))
      ->set('access_token', $form_state->getValue('access_token'))
      ->set('access_token_secret', $form_state->getValue('access_token_secret'))

    parent::submitForm($form, $form_state);

/modules/twitter_block/twitter_block.routing.yml - создаем путь для нашей страницы конфигурационной формы.

  path: '/admin/structure/twitter-block/settings'
    _form: '\Drupal\twitter_block\Form\TwitterBlockSettingsForm'
    _title: 'Twitter API Settings'
    _permission: 'administer site configuration'

/modules/twitter_block/composer.json - файл в котором мы прописываем зависимость нашего модуля от библиотеки j7mbo/twitter-api-php

  "name": "drupal/twitter_block",
  "type": "drupal-module",
  "description": "Displays Last tweets.",
  "homepage": "",
  "license": "GPL-2.0+",
  "require": {
    "j7mbo/twitter-api-php": "dev-master"
  "minimum-stability": "dev"


Package icon Twitter Block модуль3.62 КБ

          2010 Jaguar XFR        
Challenging the rules and standing out from the crowd, the new XFR fuses sports car styling and high-performance with the refinement and sophistication of a luxury sedan.

It is a defining example of Jaguar’s dedication to creating beautiful fast cars-and with a magnificent new engine, that are quite simply the best ever setting new standards across the board.
When it was introduced last year, the all-new XFR was soon recognized as a dramatic expression of a bold new Jaguar design language.  It also soon became apparent that here as a car where the driving experience exceeded the expectations created by the striking exterior styling.

Now, the new XFR takes this driving experience to new levels, shifting the balance even further towards dynamic super high performance while still retaining the XF’s core values as a refined and luxurious sports sedan.

Power comes from an all-new 5.0 liter DOHC direct-injected V8 with an integrated roots-type twin vortex supercharger utilizing twin-intercoolers that generates 510hp and 461lb.ft. of torque.
Immediately recognizable thanks to unique 20X9in Nevis alloy wheels with Jaguar Supercharged engraving and wrapped with Dunlop’s finest ultra-high-performance tires, a new front end design with a centered mesh grille with the Jaguar’s growling signature head, beautifully formed lamp clusters with Bi-Xenon adaptive headlamps, revised lower chrome air intake, side intakes to cool down the giant 14.9in. internally ventilated discs clamped with six-piston calipers, two working hood louvers, front fender heat extractors, four polished tailpipes, an aerodynamically functional rear spoiler, coupe-like profile with a slingshot C-pillar surrounded by a thick chrome strip, and deeper side sills, the new 2010 XFR is also the first XF to carry ‘R’ badging.

This new mighty engine gives the XFR a 0-60mph time of only 4.7sec.  More relevant in everyday driving, an excellent indicator of the XFR’s great flexibility is the time it takes to accelerate from 50-70mph, just 1.9sec.
Sound quality is a key characteristic of all Jaguars and is one particular aspect that customers relish. 

The new XFR has received special attention to deliver the required V8 intake sound character commonly absent on supercharged engines.  Intake manifold pressure pulsations are fed into an acoustic filter at the rear of the engine that is tuned to ‘tenor C’, with the output from the filter ducted into the cabin.  The filter is controlled by the engine management system which allows the acoustics to enter the cabin only under certain conditions, such as when the engine is accelerating hard, thus maintaining the desired sound quality at all times.  It is music to any performance enthusiast’s ears!

Mated to the more powerful supercharged engine is an enhanced version of Jaguar’s acclaimed ZF 6HP28 electronically controlled, six-speed automatic transmission.  Additional clutch plates and an upgraded torque converter are added to the XFR model to facilitate the extra power.

Enhancing the enjoyment and thrilling ride offered by the new XFR is fully independent suspension, control arms, coil springs, gas-charged shocks and anti-roll bar up front with a multi-link rear that features coil springs, gas-charged shocks and an anti-roll bar.  The new changes to the XFR’s chassis dynamics come from two new advanced technologies, Adaptive Dynamics and Active Differential Control, which gives a more comfortable, and controlled ride when needed or by turning off the system you can let the rear slide when slicing through steep curving roads.

Active Differential Control (ADC) with traction-only functionality and handling functionality is an electronically controlled alternative to the traditional, wholly mechanical differential, offering more subtle control strategies.

ADC can vary its locking torque (and therefore the proportion of torque to each driven wheel) depending on surface conditions and power applied.  Its control strategies optimize traction at each wheel, improving acceleration on low-grip surfaces while also enhancing cornering ability.  ADC has no adverse effect on either refinement or stability-where the traditional, mechanical differential can compromise stability under hard applications of power, demanding more corrective input from the driver.  Whereas a mechanical differential is permanently active, the XFR’s new ADC system is switched off when not required, so unlike the mechanical alternative, it does not risk undesirable understeer, and creates no issues with noise, vibration or harshness (NVH) at low speeds.

The differential is operated by an internal electric motor and ‘ball-and-ramp’ mechanism, and contains a multi-plate clutch, which transmits or ‘vectors’ torque to the wheel with the most grip.  The multi-plate clutch assembly is designed to prevent excessive differential slip, but differs fundamentally from a conventional traction control which uses the brakes to counteract slip after it has occurred.

Adaptive Dynamics (AD) is a highly sophisticated active damping system which automatically adjusts suspension damper settings to suit both road conditions and the way in which the car is being driven.  By removing the need for compromise between a fixed, softer setting for ride comfort and a fixed, firmer setting for tauter body control and handling, AD allows the balance between rides and handling to be optimized whatever the circumstances.  Unlike earlier systems with only a small number of steps in the damper settings, it offers a progressively variable damping strategy between wide extremes, to deliver a comfortable but sporty ride with impressively sharp handling responses to your inputs.

The three primary functions of AD are to control vertical movement, roll rate and pitch rate of the body.  It does this by analyzing induced body motions one hundred times a second, and setting each damper to an appropriate level in order to maintain a constant and level body attitude, thereby optimizing control without compromising ride.  Also one hundred times a second, it predicts the roll-rate due to steering inputs, and selectively increases damping forces to reduce that roll rate-improving handling feel and driver confidence-as well as analyzing fore and aft pitch rates due to throttle and braking inputs, and again varies damping forces to reduce pitch, further improving comfort and control.

Additionally, AD improves ride by monitoring wheel position five hundred times a second and automatically increases damping rate as the suspension approaches the limits of its travel.  Similarly, it controls wheel ‘hop’ by varying damping to move any wheel out of a natural bouncing frequency, again benefitting ride comfort, handling and even grip.

The new XFR also features Handling functionality, which is unique in this class.  In conjunction with the DSC Off option and JaguarDrive Control with Dynamic Mode, this supplements all the advantages of Traction Only Functionality with a number of more driver-focused dynamic characteristics.  Dynamic Mode modifies the throttle, stability and transmission parameters, and also modifies the AD responses.

The combination of ADC and Dynamic mode with DSX Off allows controllable power-on oversteer, and improves off-throttle stability, allowing quicker, more spirited cornering when you want to take the new XFR to its limits of adhesion.  It can also improve stability in situations such as an emergency lane-change maneuver at high speed and, in combination with DSC, reduce the brake interventions which the more enthusiastic driver might see as intrusive. 

So working with DSC, the TCS traction control system and ABS braking function, ADC can significantly improve overall vehicle performance, and provide even more precise driving feel.  It is amazing how quickly the XFR reacts to my inputs at the wheel and at the throttle when the systems are turned on or off.  It is the perfect combination of electronic intervention when wanted and when no wanted to take the XFR to its limits with no electronic intervention.  The perfect Jaguar!

Improving handling and response even more is the new ‘fast ratio’ steering rack, and additionally benefits from the further improvement front-to-rear aerodynamic balance offered by a new rear spoiler and deep front bumper.  The wider stance, lower chassis height and its low overall aerodynamic drag coefficient of only 0.29 contributes to both low wind noise and inherent high-speed stability.  Contributing even more is the already stiff body shell, the stiffest in its class, is a new rear subframe, a trunk cross-brace and a front cross brace.

Quickly and safely slowing the new XFR down from speed are massive 14.9in. front and 13.6in. internally ventilated power brakes.  The front discs are clamped with 6-piston calipers while the rear features four-piston calipers.  Enhancing braking power and control are standard ABS, Brake Assist and Electronic Brake Force Distribution.  The pedal feel is very linear, a solid feel all the way from high speed to stop.  These brakes completed the circle of super-high-performance acceleration and handling prowess.

The interior cabin truly matches the sportiness, comfort, and luxury under the skin of the new XFR.  It is both modern, individual and uniquely Jaguar and hints at the car’s super-performance.  It features a full soft grain leather interior standard including suede on the pillars and headliner.  An electric sunroof to let in more air and sunlight when desired, and a new Dark Oak veneer set on the dashboard and door trim.  Its new 18X14-way, heated/cooled front adjustable sports seats have newly shaped electrically adjustable squab bolsters for significantly improved lateral support at higher cornering speeds.  Each XFR seat, front and rear, has the ‘R’ logo embroidered on it squab and the front seats have leather seat-back map pockets. 

The leather-trimmed, heated, power tilting/telescoping, 3-spoke steering wheel feels perfect in your hand and is the right size for quick inputs.  It also features its own ‘R’ logo at the bottom.  The dashboard introduces a unique, dark mesh aluminum finish, and another discreet ‘R’ badge on the passenger side of the instrument panel.  The easy to see instrument cluster’s speedometer and tachometer have the unique sporting signature of red dial pointers and carry the ‘supercharged’ motif.  At startup, the ‘R’ logo appears on the Touch-screen as part of the XFR’s ‘driver handshake’ sequence.

The XFR is packed with user-friendly technologies such as full shift-by-wire transmission controlled by the JaguarDrive Selector, plus adaptive cruise control with Automatic Speed Limiter plus a radar-based Blind Spot Monitor warning you when there is another vehicle nearby in a different lane, and a rear parking aid TV camera with a clear view of the area behind the car on the Touch Screen while in reverse.  The Touch-screen is now upgraded with on-screen guidance lines that move according to steering wheel angle to indicate the area into which the car will reverse.  The Jaguar navigation system now includes turn-by-turn instructions in the message center.  An Acoustic Laminated Windscreen is also set in place to help lower outside noise levels.

The XFR also comes with the incredible Bowers & Wilkins 440-watt system with Dolby ProLogic II surround sound and 14 speakers.  The Portable Audio Interface allows simple, direct connection of iPod and MP3 players with full control via the Touch-screen or steering wheel-mounted controls.  JaguarSense allows touch-sensitive operation for the glovebox release and interior lights-and those lights feature soft, Phosphor Blue interior mood lighting with Halo illumination around the key switch packs to ensure easy and positive night-time operation. 

Digital and SIRIUS satellite radio with HD is also standard.  Other standard equipment not mentioned above includes all-express up/down windows, dual-zone climate control through the Touch-screen, electronic parking brake, variable-rate wipers/washers, center console with three cupholders, storage slots in each door, rear air vents to more directly channel cool or heated air to the rear seats including a pull-down armrest with dual cupholders, self-dimming rearview mirror, 2-person memory seats/outside mirrors, new exterior mirror design offers aerodynamic improvements plus improved functionality with its LED side repeaters, Jaguar signature door scuff plates, thick cut-pile carpeting with front and rear floor mats including the Jaguar logo leaping cat embroidered up front, dual map lamps, grab handles above each door for easy entry/exit and dual, lighted vanity mirrors.

To keep all safe in the event of a collision is standard safety features including front/rear crush zones, steel beams in each door, tire pressure monitoring system, anti-theft engine immobilizer, driver and front passenger front and side airbags, active head restraints, side curtain airbags for all outboard seats, 3-point safety belts with front pretensioners/load limiters, latch restraint anchor system, and remote security system.

The new 2010 Jaguar XFR is a ‘tour d’ force’ in super-high-performance driving with elegant, luxury on the inside.  Jaguar has left nothing to the imagination to what a super performing luxury car should be fitted with-a unique, elegant and sporty exterior style, interior refinement on par with any other car in its class, and the powertrain, suspension, and brakes to back it all up.  The Jaguar engineers and designers have accomplished an excellent task of bringing Jaguar’s mid-size sedan up and through ‘world-class’ driving dynamics and interior luxury.  The new 2010 XFR is priced at only $79,150.00.


Price: MSRP $79,150 As-Tested $79,150

Type: Large Sedan

Where Built: England

EPA Class: Midsize Cars

Length: 195.3 in.
Width: 73.9 in.
Height: 57.5 in.
Wheel Base: 114.5 in.
Curb Weight: 4306 lbs.
Gross Weight: 5170 lbs.
Front Head Room: 37.1 in.
Front Shoulder Room: 56.9 in.
Rear Head Room: 37.6 in.
Rear Shoulder Room: 56.4 in.
Front Leg Room: 41.5 in.
Rear Leg Room: 36.6 in.
Luggage Capacity: 17.7 cu. ft.
Maximum Seating: 5

Performance Data
Base Number of Cylinders: 8
Base Engine Size: 5 liters
Base Engine Type: V8
Horsepower: 510 hp
Max Horsepower: 6000 rpm
Torque: 461 ft-lbs.
Max Torque: 2500 rpm
Drive Type: RWD
Turning Circle: 37.7 ft.
0-60mph: 4.7 seconds

Fuel Data
Fuel Tank Capacity: 18.4 gal.
EPA Mileage Estimates: (City/Highway/Combined)
Automatic: 15 mpg / 21 mpg / 17 mpg
Range in Miles:
Automatic: 276 mi. / 386.4 mi. / 312.8 mi

          BuddyPress bp_is_my_profile() method not working in custom PHP file        

Replies: 4

I’m working on a custom WordPress site that uses a BuddyBoss child theme that I’ve been heavily modifying over the past few months. Note that I’m using WordPress multisite version 4.1.8, and Buddypress version 2.9.0.

I’m currently working on a custom PHP template that’s using JQuery’s Colorbox plugin to load a PHP file in modal window via ajax. The popup that contains the PHP file is being displayed without any issues .. and the native WordPress functions within it are working as expected. But the one BuddyPress method that I’m trying to use is not working .. namely “bp_is_my_profile()”.

Here is my PHP code:


if ( is_user_logged_in() ) { // THIS METHOD IS WORKING

  if ( bp_is_my_profile() ) { // THIS METHOD IS NOT WORKING

		echo '<p>This is your Buddypress profile page.</p>';

  } else {
		echo '<p>This is NOT your Buddypress profile page.</p>';

}  else {  
		echo '<p>You are not authorized to access this resource.</p>';  

What do I need to add to this PHP file in order for the “bp_is_my_profile()” method to work correctly? I’ve already verified that this method DOES in fact work when I call it within a normal PHP template file that’s part of my child theme. I just can’t seem to get it to work when calling it from any other PHP file .. despite the fact that I’m loading both the “wp-blog-header.php” & “wp-load.php” files.

– Yvan

          WordPress’te Kategoriye Özel Resim / Ä°kon Belirlemek yazısına Cafer Kara tarafından yapılan yorumlar        
<strong>@malayani</strong> Genellikle wordpress temalarda yan menü dosyası sidebar.php olarak geçiyor. Eğer böyle bir dosya yoksa sitenizin yan menüsü hangi kod dosyasından düzenliyorsanız oraya bakabilirsiniz.
          WordPress’te Kategoriye Özel Resim / Ä°kon Belirlemek yazısına malayani tarafından yapılan yorumlar        
“sidebar.php bu dosyanın başka bir adı olabilir mi acaba?
          VMware: run PowerCLI on Android using a PHP back-end        
I'm passionate about Android since the beginning, I still remember how cool it was my 7" tablet with Android 1.5 Cupcake the day I bought it about 5 years ago. Since then I spent a good amount of time, mostly during the evenings while studying for my MS in computer engineering, to develop for Android. It's been a couple years since my last Android related project so I decided to come up with a post which brings together two of the things I mostly like: VMware & Android.

After a bit of nostalgia in post introduction let me explain what we are going to do: we are about to create an Android application which allow us to write and run PowerCLI scripts directly from our phone/tablet. This is possible using a back-end PHP page that will receive PowerCLI commands and will run them returning back the output.

PHP back-end will run PowerCLI cmdlets by using shell_exec() function as it was in WebPowerCLI. Android app will be the front-end and will pass commands to the back-end by performing an HTTP Post.

This is just an example, a starting point from which you can develop something more interesting. Back-end URL is coded statically, as well as the Connect-VIServer cmdlet. You could improve this by introducing, for example, the capability for your users to select the back-end URL as well as the customization of Connect-VIServer cmdlet. From a security perspective, especially when used from outside your network, an SSL (possibly heartbleed-free) connection should be adopted in order to protect data transmitted from your Android device to the server.

Let's start by discussing a bit about the back-end PHP page. In order to properly work this web page must be hosted on a Windows IIS web server on which PowerCLI is installed. You can refer to WebPowerCLI instructions in order to setup your Windows server with IIS, PHP & PowerCLI.

The PHP back-end page code is quite simple:

As you can see all the heavy lifting is performed by this instruction:

 $query = shell_exec("$powercli")  

which executes executes PowerCLI and runs the passed commands.

The front-end is simple as well, contains all the code while layout design is defined in layout/main.xml file. values/strings.xml contains all text strings used in the app. Using separate files for different tasks is a good practice that enormously increase code readability, this concept is related to MVC which I briefly explained in Dynamic reports using PowerCLI and AngularJS.

This code was written in Eclipse with ADT Plugin.

Download HTTPPostExample from GitHub

The following images depicts how our app will look like:

In there are two elements noteworthy: the first is the postData() function which executes an HTTP post to the URL of the back-end PHP page.

This function is called in:

 this.postData("sendpowercli", inputCommandText.toString().replaceAll("#[^;]*", ""));  

where sendpowercli MUST reflect the POST variable expected in PHP page:


while inputCommandText contains the PowerCLI code inserted by the user, accordingly trimmed in order to ignore PowerCLI comments and replacing new lines with ;.

The second element to pay attention to is the AsynchTask, this will execute the HTTP post in background without freezing the user interface and presenting a "loading in progress" pop-up.

 //Asynch Task  
private class RunPowerCli extends AsyncTask<String, Void, String> {
protected String doInBackground(String... params) {
inputCommandText = inputText.getText().toString().replaceAll("\\n", ";"); //Every command must be separated using ;
this.postData("sendpowercli", inputCommandText.toString().replaceAll("#[^;]*", "")); //Ignore PowerCLI comments
return response;
protected void onPostExecute(String result) { //When execution completed set text
TextView txt = (TextView) findViewById(;

That's all!!
          VMware: Dynamic reports using PowerCLI and AngularJS        
In latest articles I provided several ways to produce HTML reports out of data gathered by running a PowerCLI script. Alarms, charts and reports are produced in a simple yet effective way by running a PowerCLI script which retrieve data after querying an entity, usually a vCenter Server, then data is literally outputted as an HTML file by the script itself.
In today's post I will introduce a far more elegant way to produce HTML reports upon data retrieved from an ESXi cluster. These reports are HTML pages based on AngularJS, Google's extremely powerful framework based on MVC pattern. Extremely trivializing, the logic behind AngularJS and an MVC based framework is to separate the logic (Controller) from the content (Model) and from the style (View).

Since I'm a beginner on AngularJS I'm not the most suitable guy to explain these concepts in plain detail so let's proceed to what's the scope of this article: generate a dynamic HTML report.

Let's start by dividing the scenario in two parts:

1)Back-end: where the "magic" happens.
2)Front-end: where you will get in touch with this "magic".

Back-end is composed by GenerateJSON.ps1 PowerCLI script. This script retrieves all virtual machines from a given cluster and exports VM infos in JSON, a format that can be easily processed and consumed by the front-end.

Most of the job is done by this line of PowerCLI code:

 Get-VM -Name $vm | Select * -ExcludeProperty ExtensionData | ConvertTo-Json -Depth 1 > $OutputPath\$($vm.Id).json  

This gets data for each VM in the given cluster and exports it in JSON saving the output in the proper folder. The $OutputPath folder is really important since by default the front-end will search for JSON files in such folder so be careful to set it properly. If you wonder why we exclude ExtensionData from the report that is to prevent an error due to a conflicting naming with an already existing property.

Since this script could take some time depending on how many VMs there are in your cluster be patient.

Another advice is to add this PowerCLI script as a Windows Scheduled Task so you can have VM "fresh-data" once in while and you don't have to run it manually every time.

Front-end comprises a web page that, by using AngularJS, allow us to dynamically list all virtual machines gathered by the back-end with corresponding details like OS they are running, configured amount of memory/CPUs, power state, host on which they are currently running on, etc. AngularJS allow us to do some nice tricks like searching and sorting results without reloading the web page every time.

Who is already skilled on AngularJS will recognize that the front-end is the official AngularJS tutorial application slightly modified and styled. Of course this is just an example to point out how endless are the possibilities offered by PowerCLI for reporting. You should edit/change it according to your needs, but this could be a good starting point.

This is a diagram who gives an idea of what front-end and back-end are:

Here's how the final result will look like:

This is the PowerCLI code composing the back-end and, as usual you can find it in my GitHub repository GenerateJSON.ps1

Front-end is composed by some files, all of them available on my GitHub.

Download AngularJS dynamic reports

This is the folder tree, be careful to download every file in order to make web page work.

Root AngularJS folder\
|    |_logo.png
|    |_app.js
|    |_controllers.js
|    |_filters.js
|    |_vm-detail.html
|    |_vm-list.html

In the AngularJS project you will notice that JSON files are fetched "statically", they are placed in data folder and read from there.It would be a nice addition to provide these files to the AngularJS page using a web service, like a PHP page which dynamically calls PowerCLI each time a JSON file is needed.

That's all!!
          onFramework! Hakkında        
Merhaba Arkadaşlar, Sizlerle bu sefer yaptıklarım hakkında bilgi paylaşacağım son zamanlarda fonksiyonel PHP çok zoruma gidiyor kod yazmaktan sıkılıyorum buna bir çözüm yolu aramaya çalışıyordum ve kendimi hem geliştirmek adına Laravel’e başladım. Bunun üzerine fazla gitmedim açıkçası o yüzden tam olarak öğrenmişte değilim onun yerine MVC yapısını tam olarak kavramaya çalıştım ve orta seviye’de felan […]
          Mesure de l'échelle des oscillations acoustiques de baryons dans la fonction de corrélation des forêts Lyman-alpha avec la distribution des quasars observés dans le relevé SDSS        
Hélion du MAS des BOURBOUX - DPhP - BAO - Du 08/09/2017 au 08/09/2017 - Soutenances de thèse - Bat 713, salle de séminaires Galilée CEA Saclay, Orme des Merisiers -
          Caractérisation de la transparence de l'univers aux rayons gamma de très haute énergie avec H.E.S.S. et aspects associés en physique fondamentale et cosmologie         
Matthias LORENTZ - DPhP - H.E.S.S. - Du 21/09/2017 au 21/09/2017 - Soutenances de thèse - Bat 713, salle de séminaires Galilée CEA Saclay, Orme des Merisiers -
          Study of the fiducial cross sections of the Higgs boson decaying into four leptons and study of muon isolation in the ATLAS experiment at the LHC        
Arthur LESAGE - DPhP - ATLAS - Du 22/09/2017 au 22/09/2017 - Soutenances de thèse - Bat 713, salle de séminaires Galilée CEA Saclay, Orme des Merisiers -
          Ã‰tude de mélange des neutrinos avec les données de l'expérience T2K et ajustement de paramètres de la matrice PMNS par une combinaison des meilleures mesures mondiales        
Francesco GIZZARELLI - DPhP - T2K - Du 27/09/2017 au 27/09/2017 - Soutenances de thèse - Bat 709, p 101 CEA Saclay, Orme des Merisiers -
          Lowongan Kerja Web Programmer        
Pria/WanitaUsia 20 ndash 35 tahunJujur dan telitiMampu bekerja sama dalam timMampu beradaptasi dengan cepat dengan pekerjaanBerpengalaman Min. 2 tahunMemahami scripting PHP HTML CSS diutamakan PHP murni atau native dengan HTML5Paham dan bisa membuat serta menggunakan ...

          Lowongan Kerja Mobile Programmer        
Memahami dan mampu menggunakan mobile programming Cordova dengan plugin-pluginnnyaMemahami Android SDK dengan versioning dan library gradleMemahami HTML5 CSS/CSS3 JavaScriptMemahami mobile framework seperti Framework7 ionic dllMemahami web programming PHP Native maupun PHP Framework dan database MySQL ...

          Webners Off-Campus For Fresher : BE/ BTech/ BSc/ BCA/ BBA/ BCom- 2016/2017 Pass outs : PHP Developer : Last Date : 5 Aug 2017        
Webners [] Off-Campus For Fresher : BE/ BTech/ BSc/ BCA/ BBA/ BCom- 2016/2017 Pass outs : PHP Developer @ Mohali Exclusive Job For Job Description: About The Company : We are a software development company based out of Mohali, about 150 miles north of New Delhi, the capital of India. We are a team ...
          (0-2 Yrs) Dost IT Solution Off-Campus For BE/ BTech/ BSc/ BCA/ MCA – 2017 / 2016 Pass outs : PHP Developer : On July 2017        
Dost IT Solution [] Off-Campus For Freshers & Experienced : BE/ BTech/ BSc/ BCA/ MCA – 2017 / 2016 Pass outs : PHP Developer at Raipur Exclusive Job For Job Description: About the Company: Dost IT Solution has entered the age of digital technology. Computer exists everywhere from a small kiosk to giant corporate ...
          (0-2 Yrs) Megasoft Hiring For BE/ BTech/ BCA/ BSc/ BCom : PHP Developer : Mohali : Last Date : 24 July 2017        
Megasoft Intellectual Solutions [] Openings For Freshers :  BE/ BTech/ BCA/ BSc/ BCom : PHP Developer (0-2 Yrs) @ Mohali Exclusive Job For Job Description : About The company: Megasoft Intellectual Solutions is a team of experts and it doesn’t matter if you’re an expert and no one knows it.. We offer a variety ...
          Lowongan Kerja Full Stack IT Developer        
Work as part of an agile team on leading edge technologies3 years experience developing applications softwareExcellent working knowledge of an objective oriented language PHP JAVA or similar including 2 years PHPExperience with version control GIT ...

          (1+ Yrs) Hexalab Software Hiring For PHP Developer @ Bangalore        
Hexalab Software Pvt Ltd. [] Job Openings For PHP Developer (1 to 2 years) @ Bangalore Exclusive Job For Job Description : Company : Hexalab Software Pvt Ltd. Industry: IT-Software / Software Services Functional Area: IT Software – Application Programming, Maintenance Role: PHP Developer Job Description : POSITION SUMMARY: Hexalab is looking for a ...
          OXENET For Freshers : BE/ BTech/ BCA/ MCA – 2016-2017 Pass outs : PHP Developer (Trainee) : Last Date : 3 July 2017        
OXENET [] Openings For Freshers : BE/ BTech/ BCA/ MCA – 2016-2017 Pass outs : PHP Developer (Trainee) @ Bhopal Exclusive Job For Job Description About The Company : OXENET is the software development company as it was officially developed in 2017. We furnish an unusual supervisory software services at every corner. We also ...
          (0-3 Yrs) Dhwani Hiring For BE/ BTech – 2013 – 2016 Pass outs : PHP Developer : Delhi : Last Date : 3 July 2017        
Dhwani Rural Information Systems Pvt. Ltd. [] Openings For Freshers & Experienced : BE/ BTech – 2013 – 2016 Pass outs : PHP Developer @ New Delhi Exclusive Job For Job Description About The Company : Dhwani build customized MIS which can integrate seamlessly with different processes to allow for better control and decisions within ...
          Lowongan Kerja Frontend Developer        
Bachelor Degree in Informatics technology /Information System /any related fieldsHave experience in similar position or individual project is preferredFresh graduate are welcome to applySkill : Javascript CSS AngularJs PHP jQuery HTML GIT APIWilling to work ...

          Lowongan Kerja Web Developer        
Fresh Graduate Are WelcomeFamiliar with OOP PHP CodeigneterJQueryAjaxBoostrapMYSQL Database will be an advantageMale/Female with strenght logic and nice communiccation skill with TEAM

          Lowongan Kerja Programmer Analyst         
Pendidikan minimal S1 Ilmu Komputer/Teknologi Informasi atau setara.Memiliki pengalaman dibidang analyst sistem minimal 3 tahun.Memiliki pengetahuan mengenai PHP programming framework dan desain database.Memiliki pengetahuan tentang Sistem Keamanan Aplikasi.Terbiasa dalam mendesain alur proses dalam bentuk ...

          Lowongan Kerja Web Programmer Laravel Framework        
Diploma/Sarjana Teknik Informatika Ilmu Komputer atau setaraMenguasai bahasa pemrograman PHP Framework LaravelMemahami bahasa pemrograman PHP dan pemrograman berorientasi objekMemahami front-end teknologi dan keunggulan dalam pemahaman HTML CSS Javascript atau BootstrapMemiliki pengalaman / keahlian dalam mengembangkan ...

          Lowongan Kerja Full Stack Developer Cilacap        
Pendidikan minimum Sarjana S1Usia maks 30 tahunDiutamakan laki-lakiMenguasai PHP MySQL HTML Javascript CSSFamiliar dengan WordPressMampu bekerja dibawah tekananMau belajarJujurMandiri/Problem solverBahasa Inggris minimal pasifKemampuan lain yang mendukung akan sangat diperhitungkan

          Lowongan Kerja Senior Software Engineer         
Pengalaman minimal 2 tahun diutamakan namun fresh graduate dengan ambisi dan bakat dipersilahkan melamar.Menguasai PHP AJAX XML CSS dan JavaScript dengan baik.Mempunyai pengetahuan yang baik mengenai berbagai framework PHP menguasai Larafel menjadi nilai tambah.Mempunyai pengetahuan ...

          Lowongan Kerja IT Web Programmer        
Pendidikan min S1 Teknik InformatikaUsia 35 TahunPengalaman min 2 tahun dalam PHPASP.Net dan MySQLmenguasai HTML/CSSJavascript jqueryAbode Photoshopmemiliki pengalaman di PHP Framework seperti Lavarel

          Lowongan Kerja PHP Programmer        
skill and experience in PHP-OOPther programming language skill is desirableintermediate English is a MUSTwilling to work on-site full time at Antapani Bandung NO remote/project possible NO relocation support providedgood attitude to work independently and in ...

          Lowongan Kerja Fullstack Developer        
Diploma/Bachelor degree from information technology background with minimum 2 years of experience as full-stack developerProficient in JavaScript AJAX HTML5 CSS3Proficient in a major programming language like Java PHP Python etc.Proficient in HTTP web services and ...

          Php перенос строки из textarea в массив        
Содержимое статьи может быть короче заголовка, но, все же, распишу чуть подробнее. Итак, в textarea у вас есть некий текст, список слов или фраз с переносами строк. После получения содержимого textarea вы хотите преобразовать этот текст в массив таким образом, чтобы каждая строка текста хранилась в отдельном элементе массива. Делается это вот так: [crayon-58d4f2be84316853248176/] Или [...]
          kon より Simple Map – 超簡単&スマフォ対応のGoogle Map へのコメント        
きえちゃいました。 <?php wp_footer(); ?>
          Takayuki より 管理画面におけるエラーメッセージの表示 へのコメント        
こんにちは!つっこみです。 <blockquote>value="<?php _e( 'Save', 'my-custom-admin' ); ?>"</blockquote> 翻訳者が悪さしないと100%は言い切れないのでここにも esc_attr かましたほうがいいです。 value="<?php echo esc_attr( __( 'Save', 'my-custom-admin' ) ); ?>" <blockquote>wp_redirect( admin_url( 'options-general.php?page=my-submenu' ) );</blockquote> 同じサイト内へのリダイレクトなら wp_safe_redirect が推奨です。それと menu_page_url を使えば options-general.php をハードコーディングせずに済みます。 wp_safe_redirect( menu_page_url( 'my-submenu', false ) ); <blockquote>add_filter( 'admin_notices', 'my_admin_notices' );</blockquote> ここ add_filter じゃなくて add_action じゃないでしょうか。 あと現時点でのことを考えると form 要素の action 属性が必要かと。あとメインのヘッダは他の管理ページと揃えて h2 使った方がいいと思います。 ところで本書いてるんですか?
          AirJuan Flight Schedules        

AirJuan is now flying Cebu-Biliran vv. 5x a week on Monday, Wednesday, Thursday, Saturday & Sunday AirJuan FLIGHT SCHEDULES: BILIRAN: Monday, Wednesday, Thursday, Saturday & Sunday Mactan-Cebu International Airport - Biliran Airport ETD: 12:10PM - ETA: 12:50PM Biliran Airport - Mactan-Cebu International Airport ETD: 1:10PM - ETA: 1:50PM Fare:  Fare Class Special Php 1,288 10 [...]

The post AirJuan Flight Schedules appeared first on Biliran Tourism.

          How to go to Biliran Island from Palompon, Leyte        

There are no direct vans going to mainland Naval, Biliran. However, there are several ways to get there. A. Private Van The fastest option, approximate travel time is 2 hours and 30 minutes Budget Php 5,000 - Php 6,500 B. Via Libongao  Ride a public transport bound for Kanangga/Tacloban Leyte then ask the driver to [...]

The post How to go to Biliran Island from Palompon, Leyte appeared first on Biliran Tourism.

          Ganglia安装指南 (基于CentOS 5.6)        

Ganglia安装指南 (基于CentOS 5.6)


rpm -ivh
rpm -ivh
rpm -ivh
rpm -ivh


yum install zlib freetype libart_lgpl libpng

tar zxvf rrdtool-1.2.27.tar
cd rrdtool-1.2.27
./configure --prefix=/usr/local/rrdtool
make install



tar zxvf expat-2.0.1.tar.gz
./configure --prefix=/usr/local/expat
make install


mkdir /usr/local/expat/lib64
cp -a /usr/local/expat/lib/* /usr/local/expat/lib64/

tar xvjf apr-1.3.2.tar.bz2
./configure --prefix=/usr/local/apr
make install
tar xvjf apr-util-1.3.2.tar.bz2
./configure --with-apr=/usr/local/apr --with-expat=/usr/local/expat
make install


/bin/cp -f /usr/local/apr/include/apr-1/* /usr/local/apr/include/
mkdir -p /usr/local/apr/lib64
/bin/cp -a -f /usr/local/apr/lib/* /usr/local/apr/lib64/

tar zxvf confuse-2.6.tar.gz
./configure CFLAGS=-fPIC --disable-nls --prefix=/usr/local/confuse
make install


mkdir -p /usr/local/confuse/lib64
/bin/cp -a -f /usr/local/confuse/lib/* /usr/local/confuse/lib64/


现在才是安装ganglia的开始,如果提示需要pcre的话,安装下 yum install pcre ä¸‹è½½ganglia-3.2.0,解压,安装

./configure --prefix=/usr/local/ganglia --with-librrd=/usr/local/rrdtool --with-libapr=/usr/local/apr --with-libexpat=/usr/local/expat \
--with-libconfuse=/usr/local/confuse --with-gmetad --enable-gexec --enable-status --sysconfdir=/etc/ganglia
make install


创建rrdtool数据目录,看$ganglia-3.2.0/web/conf.php里面的gmetad_root变量,并根据apache的运行用户创建权限,例如apache运行于apache用户上 。

mkdir -p /var/lib/ganglia/rrds
mkdir -p /var/lib/ganglia/dwoo
chown -R apache;apache /var/lib/ganglia


data_source "suc" localhost
setuid_username "apache"

其中suc是数据源的名称,客户端分组会依赖此名称,后面会提到。 添加自启动脚本

/bin/cp -f gmetad/gmetad.init /etc/init.d/gmetad
/bin/cp -f /usr/local/ganglia/sbin/gmetad /usr/sbin/gmetad
chkconfig -add gmetad


service gmetad start

看见Starting GANGLIA gmetad: [ OK ]就代表运行正常了。



/bin/cp -f gmond/gmond.init /etc/init.d/gmond
/bin/cp -f /usr/local/ganglia/sbin/gmond/usr/sbin/gmond
chkconfig -add gmond
gmond --default_config > /etc/ganglia/gmond.conf


cluster {


service gmond start

看见Starting GANGLIA gmetad: [ OK ]代表启动成功。如果有失败,可以讲gmond.conf中的debug有0改为100,看更多的日志,然后进行排查。

globals {
daemonize = yes
setuid = yes
user = nobody
debug_level = 100

非本机客户端配置需要安装服务端安装一样进行配置,运行,非常麻烦,这里使用本机安装好的文件进行安装。 使用下面的脚本进行安装

scp /usr/sbin/gmond $i:/usr/sbin/gmond
ssh $i mkdir -p /etc/ganglia/
ssh $i mkdir -p /usr/local/ganglia/lib64
ssh $i mkdir -p /usr/local/expat/lib
scp /etc/ganglia/gmond.conf $i:/etc/ganglia/
scp /etc/init.d/gmond $i:/etc/init.d/
scp -r /usr/local/ganglia/lib64/* $i:/usr/local/ganglia/lib64/
scp /usr/local/expat/lib/ $i:/usr/local/expat/lib/
scp /usr/lib64/ $i:/usr/lib64/





yum install php-common php-cli php php-gd httpd


mkdir /var/www/html/ganglia
cp -a -f ganglia-3.2.0/web/* /var/www/html/ganglia

禁用SELinux setenforce 0 ä¿®æ”¹rrdtool的路径,文件/var/www/html/ganglia/conf.php中的RRDTOOL