Saturday, December 28, 2019

Installing PHP on Linux

It can be really helpful to have PHP installed on your home computer. Especially if youre still learning. So today Im going to walk you through how to do so on a PC with linux. First things first, youre going to need Apache to be installed already. 1. Download Apache, this will assume you download the latest version as of this publication, which is 2.4.3. If you use a different one, be sure to change the commands below (since we use the name of the file). 2. Move this to your src folder, at / usr/local/src, and run the following commands, which will un archive the zipped source, in a shell: cd /usr/local/srcgzip -d httpd-2.4.3.tar.bz2tar xvf httpd-2.4.3.tarcd httpd-2.4.3 3. The following command is semi-optional. If you dont mind the default options, which installs it to /usr/local/apache2, you can skip to step 4. If youre interested as to what can be customized, then run this command: ./configure --help This will give you a list of the options you can change for when it installs. 4. This will install Apache: ./configure --enable-somakemake install Note: if you get an error that says something like this: configure: error: no acceptable C compiler found in $PATH, then you need to install a C compiler. This probably wont happen, but if it does, Google install gcc on [insert your brand of linux] 5. Yay! Now you can start up and test Apache: cd /usr/local/apache2/bin./apachectl start Then point your browser to http://local-host and it should tell you It Works! Note: if you changed where Apache installed, you should adjust the above cd command accordingly. Now that you have Apache installed, you can install and test PHP! Again, this assumes youre downloading a certain file, which is a certain version of PHP. And again, this is the latest stable release as of writing this. That file is named php-5.4.9.tar.bz2 1. Download php-5.4.9.tar.bz2 from www.php.net/downloads.php and again place it in your /usr/local/src then run the following commands: cd /usr/local/srcbzip2 -d php-5.4.9.tar.bz2tar xvf php-5.4.9.tarcd php-5.4.9 2. Again, this step is semi-optional as it deals with configuring php before you install it. So, if you want to customize the installation, or see how you can customize it: ./configure --help 3. The next commands actually install PHP, with the default apache install location of /usr/local/apache2: ./configure --with-apxs2/usr/local/apache2/bin/apxsmakemake installcp php.ini-dist /usr/local/lib/php.ini 4. Open the file /usr/local/apache2/conf/httpd.conf and add the following text: SetHandler application/x-httpd-php Then while in that file make sure it has a line that says LoadModule php5_module modules/libphp5.so 5. Now you will want to restart apache and verify that php is installed and woking correctly: /usr/local/bin/apache2/apachectl restart No make a file called test.php in your /usr/local/apache2/htdocs folder with the following line in it: phpinfo(); ? Now point your favorite internet browser at http://local-host/test.php and it should tell you all about your working php installation.

Friday, December 20, 2019

The Importance Of Child Labor Rights - 847 Words

Human rights activists who made a difference What does it mean to make a difference? Does it mean to change the world forever or just for periods of time? Whatever it means, Mother Jones, Cesar Chavez and Malala yousafzai changed the world forever. Mother Jones’s mission was to get child labor rights. Cesar’s mission was to get sustainable working conditions for all farmers. Lastly, Malala’s mission has been to get education for women globally. These three people had different methods of fighting for the necessity of human rights; however, they all had the common goal of persevering until the rights were achieved. Mother Jones worked hard and had a very unique method for getting child labor rights. She led a march across a copious amount†¦show more content†¦Just like Mother Jones, Cesar was ardent about getting farm workers’ rights, except for the fact that Cesar had to wait 5 years longer than Mother Jones. In addition to this, Cesar Chavez led the UFW union to get unprecedented gains that made farmer’s working conditions better( Chavez Foundation). Leader Cesar went great lengths to get these rights. He was determined enough to get a group of people to support his cause. Furthermore, Cesar influenced people who supported his cause to boycott grapes and other products produced by farm workers (Cesar Foundation). Although Cesar didn’t tell the people to commence boycotting, he still influenced them enough to do it anyway. Cesar’s patience, perseverance and being a role model to the public is what made him attain the rights that farm workers desired. This l eader is very inspirational and so is 15 year old Malala Yousafzai. Malala Yousafzai uses social media and global speeches as her methods to fight for womens educational rights. According to Kettler, Malala used blogging to get the word out about her education rights. Afraid is not a word to describe Malala, she let people around the world know that she wants educational rights. Moreover, Malala used her Nobel Peace Prize speech to talk about the right that which everyone has to an education (Kettler). Young activist Malala receiving this reward and using it as publicity is veryShow MoreRelatedResearch Paper On Child Labor1354 Words   |  6 Pages Child Labor Introduction: For centuries and years child labor has become one of the biggest problem in the world. It’s a challenge and long-term work for many countries to put an end to child labor especially those developing countries it’s one of the issues that’s considered as serious issue these days. Child labor refers to children’s who lose their rights and do things that aren’t supposed to do, it refers to children who go to work at the age of schooling. The international labor organizationRead MoreChild Labor in America773 Words   |  4 PagesAlzatia Wilson Western Civilization 1 Mrs. S. Melton November 30, 2009 Child Labor in America Our child labor issue an ongoing world wide effect, currently among America’s society. Researchers even today and our up and down crisis we face economically, leave us with the understanding that poverty is a main cause of child labor. Still in America poor families depend heavenly upon their children working in order to improve their chances of attaining basic necessities. American history goesRead MoreSummary Of Child Labor In Upton Sinclairs The Jungle897 Words   |  4 Pagesthat exposed the bad working condition to immigrants in Chicago and the nasty meat packing factory. One of the big issue in this book is child labor. In the book, a child called Stanislovas Lukoszaite, he was working in a meat packing factory. Although in 1906 there are laws against child labor, but the law is not really enforced. He was just a 13 years old child and during Chicagos snow storm he loses the use of his three fingers, after that he started selling newspaper in Chicago. When he was 15Re ad MoreEssay on The Affect of Child Labor on the World1237 Words   |  5 PagesThe Affect of Child Labor on the World Introduction Child labor is a very hot topic in today’s world. The problems associated with child labor have always been a part of life but thanks to Globalization, everyone is now more aware of the child labor issues that exist. Whether an individual is in favor or against child labor the fact is that child labor affects everyone, because child labor affects the global economy. Children who work play a big role in the economy because they produce goodsRead MoreThe Act Of Raising A Child By Its Parents1656 Words   |  7 PagesParenting: the act of raising a child by its parents. We believe there’s more to it, parenting skills play a huge role in the child’s life. How they develop, learn and see the world are all things that lead back to parenting. This topic is important because we feel that parenting skills are not a main concern nowadays. Parenting is a critical aspect in how your child will develop and thrive. People believe they are doing the right thing for their ch ild and setting them up for success, but are theyRead MoreProgressivism And Social Criticism In The Progressive Era893 Words   |  4 Pagestreated equally and the business relations do not interrupt the political decisions, or the government. Most importantly, if the concept of progressivism did not exist, our business industry would not have thrived, labor conditions would not have changed, women would not have equal rights as men, and overall, there would have been no idea, as to social activism and a political reform. During the Progressive Era, American industrialists began making themselves known through their wealth and power,Read MoreChild Labor Is The Lack Of Intergenerational Human Capital Development1639 Words   |  7 PagesIntroduction Developed countries have a conception that child labor is highly exploitative and is driven by long hours in deplorable conditions in sweat shops, prostitution rings, and rebel armies. While this perception has been very effective at raising awareness and action on the issue of child labor, it is quite misleading as only a small percentage of wage labor is of such an exploitative nature. It is imperative to take a more nuanced view of child labor and accept that it is not inherently bad as theRead MoreThe Nature Of Child Labor1626 Words   |  7 Pagesfuture of any society. Many children around the world are denied the right of having a childhood. When children preform work tasks at a young age, children reduce their present welfare or future income earning capabilities (Singh, 2013). In 2014, the International Labour Organization reported that â€Å"Globally there are 168 million child laborers, over half of which, 85 million, are in hazardous work conditions† (ILO). Child l abor is not a new phenomenon by any means; it has been going on for yearsRead MoreComing From The Republic Of Ghana1527 Words   |  7 PagesComing from The Republic of Ghana, I know firsthand that sweatshops and the child labor that takes place in them can be both dehumanizing and destructive. However, I also understand the benefits of sweatshops. Despite all the facts that prove that sweatshops and the child labor that happens in them are bad, the truth of the matter is that some places have now become so dependent on the income they are receiving from sweatshops that there is no alternative in their minds. In addition, some kids haveRead MoreWhat Causes Juvenile Delinquency?758 Words   |  4 Pagesthe juvenile who commit a crime. This is why courts do not punish the teenagers like they punish the adults when they commit a crime. There are separate juvenile courts and the purpose of juvenile punishment is to help the teenager understand the importance of staying away from crime s.   There are various theories of juvenile delinquency and various researchers have reported different reasons of delinquency. Most of the delinquent teenagers belong from low social, economical or psychological background

Thursday, December 12, 2019

Romeo+Juliet Even well intended deceptions and se Essay Example For Students

Romeo+Juliet: Even well intended deceptions and se Essay crets can be destrucLiterature often teaches us important moral lessons. From the simplest childrens books to Shakespeare, important, lifelong lessons are taught. Romeo and Juliet shows that even the best intentions can turn out harmful. Several characters in the book carried out well intentioned deceptions and kept secrets that all turned out harmful in the end. Even well intended deceptions and secrets can be destructive. When the nurse decided to participate in the deception of keeping Romeo and Juliets marriage a secret it was well intentioned on her part. The nurse assisted in the marriage because she wanted to see Juliet married. The nurse treated Juliet like her own daughter and wanted her to get married without waiting two years. The nurse wasnt thinking logically to support two people who had only just met, get married. This well intentioned act turned out to be fatal to both of the characters. Friar Lawrences decision to marry Romeo and Juliet and deceive their families was based on his well intentioned belief that the marriage would end the feud between the Montegues and the Capuets. When Romeo went to Friar Lawrences cell to ask him to marry he and Juliet, the Friar had some serious doubts. However, he chose to ignore those doubts and take a chance that this union would create peace between the families. The Friar planned to marry them, inform the families at a later date, and have everything end up right in the end. But once again, a well intended act turned out to be destructive. Juliets deception about taking poison to fake her own death had the most tragic consequences of all. The intention of her plan was to create the illusion that she had died and then run off with Romeo to live happily ever after. This deception backfired, and it cost both Romeo and Juliet their lives. Others who knew her secret plan kept silent and also participated in this deceptive act which ultimately ended in destruction. A little secret here, a small deception there, snowballed into death and destruction for the two protagonists in Romeo and Juliet. The main moral lesson in Romeo and Juliet was that even well intended deceptions and secrets can be destructive.

Wednesday, December 4, 2019

Parent nowadays free essay sample

Nowadays, parents are not spending enough time with their children. In this article, we will look at several reasons why parents are not spending enough time with their children as well as the effects of this phenomenon. In recent years, parents have become increasingly preoccupied with their jobs and careers. This is especially true following the 2007 global economic downturn which we are still recovering from. As a result, parents are more concerned about putting food on the table and trying their best to avoid losing their jobs than spending enough time with their children. Another reason why parents are now spending less time with their children is due to their belief that spending quality time with their children can be replaced with showering their children with material goods. Such parents believe that as long as they keep their children happy with new clothes, mobile phones, portable music players and more pocket money, they do not need to spend time with them. We will write a custom essay sample on Parent nowadays or any similar topic specifically for you Do Not WasteYour Time HIRE WRITER Only 13.90 / page Given a choice, most children would prefer to spend time with their friends, rather than with their own parents. These children believe that their parents do not understand them the way their friends do. Moreover, they feel that their freedom is restricted when spending time with their parents. While parents are preoccupied with their careers and jobs, their children spend most of their time being involved in their school life. The life of a student has become very examination-oriented. These days, not only do children attend school but also a variety of tuition classes and extracurricular activities. With this, children would hardly find the time to spend enough time with their parents except during the year-end school holidays. There are both positive and negative effects when parents do not spend enough time with their children. On the positive side, their children may become more independent and there will be fewer opportunities for arguments. Their children will also learn to fend for themselves when their parents are not around. Family life may become more peaceful and harmonious if there is less friction between parents and their children. On the other hand, children may become involved in unhealthy activities if their parents do not spend sufficient time with them. The lack of supervision may cause the children to mingle with the wrong company. Furthermore, the relationship between parents and their children may deteriorate if too little time is spent together as a family unit. Both parties may gradually feel less love for each other which may eventually break up the family.