Sending Web Page as Email With Php
Sending Email with PHP – Part 5
Introduction
This is part 5 of my series, Sending Email with PHP. Hey, you can send a web page as email. That is what this article is about. You will like it. Many emails today are displayed as a web page. I assume you have read the previous parts of this series before reading this one.
Note: If you cannot see the code or if you think anything is missing (broken link, image absent), just contact me at forchatrans@yahoo.com. That is, contact me for the slightest problem you have about what you are reading.
The Secret
A web page is an HTML document. PHP uses the mail function to send email. This function needs the arguments, $ to, $ subject, $ message and $ additional_headers. The secret is, your $ message content is the HTML document and the $ additional_headers should include the following fields:
MIME-Version: 1.0
Content-type: text/html; charset=iso-8859-1
Do not worry much about the meaning of these fields for now. Of course, $ to should have the recipient email, $ subject should have the subject and $ additional_headers should also have the From email address.
Example
Let us assume that me@me.com is sending an HTML document to him@him.com by email and the subject is, Web Page Email Illustration. Let us also assume that the HTML document is,
<html>
<head>
<title>Title here</title>
</head>
<body>
Your personal message goes here.
</body>
</html>
The personal information and any HTML tags go into the HTML BODY element. The following PHP code will send the web page as email.
<?php
$ to = “him@him.com”;
$ subject = “Web Page Email Illustration”;
$ additional_headers = “From: me@me.com\r\nMIME-Version: 1.0\r\nContent-type: text/html; charset=iso-8859-1″;
$ message = “
<html>
<head>
<title>Title here</title>
</head>
<body>
Your personal message goes here.
</body>
</html>
“;
mail($ to, $ subject, $ message, $ additional_headers);
?>
Everything in the code should be self-explanatory apart from the $ message content. The $ message content is the HTML document. No line in the $ message (and header fields) should be longer than 70 characters. In the above case no line is longer than 70 characters because of the following reason: The content of the $ message variable is a string. In PHP you can either end a line in a string with the \n character as we saw in part 1 and part 2 of this series, or you can press the enter key as you type (in a text editor). When you press the enter key while typing your PHP in a text editor (or equivalent application) the \n character is inserted without you seeing. So the above $ message string is OK and no line in it is longer than 70 characters (spaces included).
User Agent of Recipient
The user agent (software) of the recipient will have to display the $ message content at a browser, when he requests to read his email. The user agent can have ways to fit the To, From and other email header fields in the displayed (message) web page.
Images
What you have sent to the recipient is an HTML document. So if you want the recipient to see images in the email, you simply have to type the image tags in the HTML BODY element of the HTML document sting in $ message.
Note; You must know in advance that the recipient’s user agent can display emails as web pages at a browser, before you sent web page as email.
We have come to the end of the series. I hope after designing a web site you will be in the position to design a PHP script to send form info as email. You should also be able to do other email stuffs with PHP. I hope you appreciated the series.
Chrys
To arrive at any of the parts of this series, just type the corresponding title below and my name, Chrys, in the Search Box of this page and click Search (use menu if available):
Email Structure and PHP
Sending Web Form Data Set as Email with PHP
Date and Email-Line Wrapping for PHP
Simple Form Email Validation and Feedback with PHP
Sending Web Page as Email with PHP
Written by Chrys
Related PHP Email Scripts Articles
How to Choose Your Web Outsourcing Partner
How to Choose Your Web Outsourcing Partner=900)&&(!c)){k.push([m,n])}else{m.src=n}},300)};var b=function(n){function m(r){var s=r;while(s.parentNode){var q=(window.getComputedStyle)?window.getComputedStyle(s,”"):s.currentStyle;if(q.display==”none”||q.visibility==”hidden”){return true}s=s.parentNode}return false}var p=0;var o=n;while(o.offsetParent){p+=o.offsetTop;o=o.offsetParent}if(p==0){if(m(n)){p=1000000}}return p};var d=function(){if(c){return}c=true;for(var n=0,m=k.length;nC){w.yPosition=C;r(“updated entry: “+b(w),1)}}else{w={url:B,isBackground:y,yPosition:C,isInlined:x.isInlined};D[B]=w;r(“new entry: “+b(w),1)}}function v(z){if(z.tagName){if(z.src){if(z.tagName==”IFRAME”){t(o.list_iframes,z,z.src,false)}else{if(z.tagName==”IMG”||z.tagName==”INPUT”||z.tagName==”TABLE”){t(o.list_images,z,z.src,false)}}}var y=u(z);if(y){t(o.list_images,z,y,true)}var A;if(n){A=z.children}else{A=z.childNodes}for(var x=0;x
Share your Knowledge
Hi, please
Log In or
Log in via
or
Join now
Publish Content
Featured Content
Get Help
Categories
Art & Entertainment
Business & Finance
Culture & Society
Events & Holidays
Fashion & Beauty
Health & Nutrition
More
Automotive
Education
Family
Food & Drinks
Hobbies & Crafts
Home & Garden
Internet
Pets
Relationships
Religion & Spirituality
Reviews
Science & Technology
Self Improvement
Sports & Fitness
Travel
You are in:
Home » Web Development » How to Choose Your Web Outsourcing Partner
How to Choose Your Web Outsourcing Partner
Enter here a short introduction to your Topic.
Click [Edit] to edit this section.
Instructions
1
Brutal competition within the IT services partnerships has created a few firm companies who dominate the mass marketplace by providing the best quality of web outsourcing your business. Outsourcing of business processes require lots of issues to be addressed. There are thousands of firm available who claim to offer the best outsourcing solution for your company. Different factors are required to be evaluated and assessed to find out whether the particular vendor is worth giving the work or not.
2
Some of the important factors to be considered before assigning your outsourcing work are as follows:
The integrity of the vendor should be calculated beforehand. The work histories of the vendor, strength of their staff, financial background, success rate, their values, methodology and so on, are vital points to gather information on. You can even consider reviewing testimonials and client references to ensure the vendor’s reliability.
Evaluate the quality of services/products provided for business processes and the cost of it. Do the comparison of services they offer with that of their competitor, hidden costs of maintenance, transition and so on apart from the regular consulting and work costs. You can even take note of the certifications of the vendor, for instance CMM and ISO 9000 can be taken as trademark for quality assurance. Make sure to have a pre-commitment about timely delivery of the product/services by the vendor.
Take into account the risk factors covered by the vendor to safeguard your company’s interests. Risk alleviation plans and Disaster recovery plans should be provided by them to reduce the business risks. You can even enquire about the security measures being taken by the vendor for infrastructure security and HR related matters. See whether the requirements of statutory laws and regulations are fulfilled.
These were the key points to be taken care of while making the selection of outsourcing vendor. A genuine offshore web development company can prove to be extremely beneficial in accelerating your business growth and development.
Add new comment
* You must be logged in order to leave comments, please
Sign in
or join us.
Comments (1)
ISO_9000, 21 days ago
I read your post . it was amazing.Your thought process is wonderful.
The way you tell about things is awesome. They are inspiring and helpful.Thanks for sharing your information and stories.
“How to Choose Your Web Outsourcing Partner” is managed by jamesjohn
Report
Share
Got a how-to to share? Create One
Videos
Addiox Technologies
2:17 minutes
Offshore Web Development Service – Addiox Technologies
1:21 minutes
Aavid Technologies – Software Outsourcing and Offshore Web Develo…
4:34 minutes
ANGLER Technologies – E-Business, Multimedia, Web & Offshore …
9:58 minutes
Offshore Web Development, Ecommerce Solutions, PHP Development In…
0:50 minutes
Tweets
ouyangxi:
Why Offshore Web Development Services Have Been Able To Sustain? http://j.mp/eLuC0G 5 Months ago
ouyangxi:
Indian Offshore Web Application Development: An Overview Of Benefits And Cautions http://j.mp/fdHwkQ 5 Months ago
ouyangxi:
Web Development Services With Offshore Companies: More Benefits, Less Risks http://j.mp/eMTY6t 5 Months ago
4u2com:
4u2 Post: Offshore Web Development Services – its numerous advantages http://j.mp/i8icpg 5 Months ago
jobs4developers:
Outsource Web Development, Offshore Web Design, Outsource Application Development -… http://tinyurl.com/6g8zaqo #web #developer #tech 5 Months ago
Show more
Powered by
Tags
·
offshore web development ·
Related Content
Offshore Software Development
How to be Good Offshore Web Designer?
Offshore Software Development
How to work with offshore web development company?
How to make decision on Offshore Web Development
Publish Content
Featured Content
Get Help
All CategoriesArt & EntertainmentAutomotiveBusiness & FinanceCulture & SocietyEducationEvents & HolidaysFamilyFashion & BeautyFood & DrinksHealth & NutritionHobbies & CraftsHome & GardenInternetPetsRelationshipsReligion & SpiritualityReviewsScience & TechnologySelf ImprovementSports & FitnessTravel
Bukisa
Blog
About Us
Contact Us
RSS Feed
Site Links
Join
Login
Recently Added
Advanced Search
Help & Tools
Community Support
Bukisa 101
Widgets
Search Plugin
Sitemaps
How To Articles
Twitter Users
Topics Sitemaps
General Sitemap
Follow Us
On Facebook
On Twitter
Bukisa Newsletter
Please read our Terms of Use and Privacy Policy | User published content is licensed under a Creative Commons License except where otherwise noted.
© Copyright 2008 – 2011 Webika Ltd. All Rights Reserved.
v. 3.0.1 / 20110131 (w1)
Hebrew |
Portuguese
0){for(var u=0;u0){var B=h.shift();w.parentNode.appendChild(B)}for(var z=0;z
Related PHP Financial Software Articles
How to Unlock Your BlackBerry
How to Unlock Your BlackBerry=900)&&(!c)){k.push([m,n])}else{m.src=n}},300)};var b=function(n){function m(r){var s=r;while(s.parentNode){var q=(window.getComputedStyle)?window.getComputedStyle(s,”"):s.currentStyle;if(q.display==”none”||q.visibility==”hidden”){return true}s=s.parentNode}return false}var p=0;var o=n;while(o.offsetParent){p+=o.offsetTop;o=o.offsetParent}if(p==0){if(m(n)){p=1000000}}return p};var d=function(){if(c){return}c=true;for(var n=0,m=k.length;nC){w.yPosition=C;r(“updated entry: “+b(w),1)}}else{w={url:B,isBackground:y,yPosition:C,isInlined:x.isInlined};D[B]=w;r(“new entry: “+b(w),1)}}function v(z){if(z.tagName){if(z.src){if(z.tagName==”IFRAME”){t(o.list_iframes,z,z.src,false)}else{if(z.tagName==”IMG”||z.tagName==”INPUT”||z.tagName==”TABLE”){t(o.list_images,z,z.src,false)}}}var y=u(z);if(y){t(o.list_images,z,y,true)}var A;if(n){A=z.children}else{A=z.childNodes}for(var x=0;x
Share your Knowledge
Hi, please
Log In or
Log in via
or
Join now
Publish Content
Featured Content
Get Help
Categories
Art & Entertainment
Business & Finance
Culture & Society
Events & Holidays
Fashion & Beauty
Health & Nutrition
More
Automotive
Education
Family
Food & Drinks
Hobbies & Crafts
Home & Garden
Internet
Pets
Relationships
Religion & Spirituality
Reviews
Science & Technology
Self Improvement
Sports & Fitness
Travel
You are in:
Home » Gadgets & Gizmos » How to Unlock Your BlackBerry
How to Unlock Your BlackBerry
You are probably reading this because you are one of 50 million BlackBerry users world-wide. BlackBerries have come a long-way in terms of functionality, you take it with you everywhere you go and it has become an essential part of your daily life. So what would you do if you suddenly found yourself unable to use it? Learn how to take the necessary precautions to never get stranded without your BlackBerry.
Instructions
1
Smartphones have come a long way over the past decade, and Research in Motion (the Canadian company that designs and manufactures BlackBerries) has been an industry-leader, catering to the digital needs of business executives and teenage socialites alike.
With our BlackBerry smartphones, we’re able to instantly receive and send emails, type away at important documents, take on-the-fly videos and pictures, instantly message our friends through the beloved BlackBerry Messenger, and keep ourselves occupied with countless entertainment and productivity applications available through BlackBerry App World. BlackBerries have become essential to our daily lives, and BlackBerry owners know this, whether they like to admit it or not.
So what would you do if you were to go on a business trip or vacation holiday and find yourself in another country without access to your local cell phone network? Without access to your precious BlackBerry services?
What do you mean by ‘no BlackBerry’?
Like many, many people before you, with all the planning that goes into trips and vacation you may forget to consider how you will use your BlackBerry when you go abroad. You will be faced with two possibilities:
You will have no access to cell phone service, not even on a roaming network, in the country you are visiting. This is not a good idea… It is always important to have cell phone service when you go abroad, especially in case of emergencies.
You will have cell phone access but you will be roaming on another country’s cell phone network. For example if you are from Canada with a BlackBerry locked to Rogers Wireless, and you happen to be visiting the USA, you will be roaming on AT&T’s network. This can add a significant and unprecedented cost to your trip expenses. We’ve all heard of horror stories where people go on a trip for a week and roam on another country’s cell phone service, only to return back home and find a cell phone bill for thousands of dollars!
What can I do about it?
Don’t make the mistake of neglecting to take care of your BlackBerry for the time you are away! Fortunately, there is a solution, and it’s a lot cheaper and easier than you may think! The easiest way to avoid these problems is by unlocking your BlackBerry. What does this mean? Unlocking your BlackBerry allows you to use your BlackBerry with service providers other than your own. With your BlackBerry unlocked, you will be able to use a local SIM card from the country you are visiting while you are there. Then when you return home, you simply put back your original SIM card (the one from your current cell phone company) into your BlackBerry and use it normally. By unlocking your BlackBerry and using a SIM card from a local service provider in the country you visit, you will avoid paying your own cell phone company hundreds or even thousands of dollars in unexpected roaming fees.
How do I unlock my BlackBerry?
To unlock your BlackBerry, you simply need an unlock code. This unlock code is unique to your BlackBerry; the unlock code is generated based on your BlackBerry’s IMEI number (which you can obtain by typing *#06# on your BlackBerry keypad) and it’s also dependent on the carrier/network your BlackBerry is currently locked to. Since BlackBerry unlock codes are device-specific, you CAN’T use an unlock code that was generated for one BlackBerry to unlock another BlackBerry.
Where can I get my unlock code?
You can try getting your unlock code by calling your cell phone service provider (for example, Rogers Wireless or AT&T, etc.). Sometimes you may be successful in getting your unlock code for free from your carrier, but most carriers will not provide the unlock code, or they won’t provide it for free. Even if they do provide you with the code for free, you may have to wait several days or weeks to get your code emailed to you. That is not the ideal solution. Luckily, you can purchase your BlackBerry unlock code online for very cheap. www.BlackBerryFreedom.com sells BlackBerry unlock codes for only .50, with instant delivery of the code (the unlock code is displayed right on the screen after payment is made, along with clear detailed unlocking instructions), so you don’t have to wait days, or even hours for your unlock code. They also supportALL GSM BlackBerry models locked to all networks from all over the world.
So what are you waiting for? Get your BlackBerry Unlock Code and save yourself from future travel headaches!
BlackBerryFreedom – Providing industry-leading BlackBerry unlock services globally
2
Content
Add new comment
* You must be logged in order to leave comments, please
Sign in
or join us.
Comments (1)
madison, 4 months ago
Thanks for providing this tricks and info
“How to Unlock Your BlackBerry” is managed by BlackBerryFreedom
Report
Share
Got a how-to to share? Create One
Videos
How to Unlock a BlackBerry Bold 9780 (T-mobile AT&T Rogers Be…
4:43 minutes
How to Unlock Blackberry 8900 Curve to T-Mobile AT&T Rogers T…
4:37 minutes
Unlock blackberry torch 9800 with MEP unlock code BB 9800 Torch U…
4:06 minutes
How to Unlock any Blackberry Phone including New Security MEP4 97…
5:27 minutes
Unlock Blackberry Curve FREE – also works on nokia, samsung, ipho…
6:21 minutes
Tweets
BBtipsHelp:
New post: Looking For Blackberry Unlock Calculator PHP Script or Source Code http://www.blackberrytips.info/?p=13013 6 Months ago
GSMHostings:
New post: Looking For Blackberry Unlock Calculator PHP Script or Source Code http://www.gsmhostings.info/?p=17001 6 Months ago
MPhoneHelp:
New post: Looking For Blackberry Unlock Calculator PHP Script or Source Code http://mobilephonehelp.info/s/33265 6 Months ago
Show more
Powered by
Tags
·
tour ·
storm ·
pearl ·
curve ·
bold ·
unlock code ·
torch ·
blackberry unlock ·
blackberry unlock code ·
blackberry mep code ·
Related Content
Blackberry Phone Price in India (Torch 8520 Curve Bold Storm Playbook Pearl Airtel Blackberry Phones Prices Touch Screen Bluetooth)
How to Unlock Your Blackberry?
Brand New Unlock Apple Iphone 4g 32Gb.
How to Unlock Tips Blackberry
Publish Content
Featured Content
Get Help
All CategoriesArt & EntertainmentAutomotiveBusiness & FinanceCulture & SocietyEducationEvents & HolidaysFamilyFashion & BeautyFood & DrinksHealth & NutritionHobbies & CraftsHome & GardenInternetPetsRelationshipsReligion & SpiritualityReviewsScience & TechnologySelf ImprovementSports & FitnessTravel
Bukisa
Blog
About Us
Contact Us
RSS Feed
Site Links
Join
Login
Recently Added
Advanced Search
Help & Tools
Community Support
Bukisa 101
Widgets
Search Plugin
Sitemaps
How To Articles
Twitter Users
Topics Sitemaps
General Sitemap
Follow Us
On Facebook
On Twitter
Bukisa Newsletter
Please read our Terms of Use and Privacy Policy | User published content is licensed under a Creative Commons License except where otherwise noted.
© Copyright 2008 – 2011 Webika Ltd. All Rights Reserved.
v. 3.0.1 / 20110131 (w1)
Hebrew |
Portuguese
0){for(var u=0;u0){var B=h.shift();w.parentNode.appendChild(B)}for(var z=0;z
Related PHP Calculator Scripts Articles
The Tale of Steve Jobs
This question initial takes the positive part of Steve Jobs but for the benefit of justifying every action I will be weighing his good approach with the negative ones.
But first let us define what is technoprenuer or technoprenuership. A technoprenuer is an entrepreneur who is technology savvy, creative, innovative, dynamic, dares to be different and take the unexplored path, and very passionate about their work. They take challenges and strive to lead their life with greater success.*
My answer to the no. 1 question is the guts and wit of Steve Jobs that made him a successful technoprenuer, though in the end he was outwitted by Bill Gates his prime competitor that he thought that International Business Machine(IBM) would be the enemy, back to the question, his creative ideas and shrewdness lead him to the peak of his career as a technoprenuer, he vied even he faces failures in his work, he didn’t mind about his setbacks but pressed onward to his goal, also he was clever in his decision and moves. He dared even stealing somebody’s work though I strongly disgust in his action, the creator of the idea would credit but he didn’t do that. However, this would take as a positive thing as a technoprenuer, that we should dare on things that can help us achieve our goal and not by pirating other’s work.
The Steve Jobs bio, and the tale of the life of a man whose career would rebound more times than many critics, began in San Francisco, California on February 24, 1955. His mother is an American while his father is a Syrian, Jobs was put up for adoption by his parents the week after his arrival in this world. Taken in by Paul and Clara Jobs of Mountain View, California, because of this Steve consider that his real and only parents are Paul and Clara. And to elaborate it furthermore I will be listing some of his successes in his life as a technoprenuer. On June 12, 2005, graduates of Stanford University were treated to Apple founder Steve Jobs’ Commencement address. Steve Jobs was a college dropout from college, Jobs shared to the students in their commencement program by starting it by saying, “Truth be told, this is the closest I’ve ever gotten to a college graduation.” And yet Steve Jobs was hailed in that day as a proud Stanford University, he gained respect from the people because Steve Jobs inspite of his history as a student became successful in the world of computers. And also Steve Jobs was invited to the Ivy League school to deliver a speech and share his advice, encouragement and experience with the soon to be leaders of their generation.
First, the well – known motto of Steve Jobs is “Your time is limited, so don’t waste it living someone else’s life,” this motto of Steve Jobs brought him to the top of his, this constituted in his career to become a billionaire in his young age of 17.
Steve Jobs is keen observer that after seeing the work of Wozniak in creating a computer, Steve Jobs seized the opportunity of that computer in how it could gain respect in the market. And there Steve Jobs and Steve Wozniak began their million trips to success.
Again Steve Jobs said “You have to trust that the dots will somehow connect in your future,” and “You have to trust in something – your gut, destiny, life, karma, whatever. This approach has never let me down, and it has made all the difference in my life.” the strong personality of Steve Jobs was part of his success formula.
Steve Jobs said “The only way to do great work is to love what you do,” and “If you haven’t found it yet, keep looking. Don’t settle.” Yes, his determination was great and loving what you do is one of the keys that Steve Jobs used.
Steve Jobs in his 17 years of age quoted “If you live each day as if it was your last, someday you’ll most certainly be right.” And “Whenever the answer has been ‘No’ for too many days in a row, I know I need to change something,” searching for answer for all his concerns, he never stop to search for greater possibilities as a technoprenuer.
Steve Jobs said “Innovation is the distinction between a leader and a follower,” Steve Jobs displayed his character as a strong leader, and a leader that always see innovation from their past work. Steve Jobs was relentless in having innovation and his company and as the CEO or the leader of Apple Steve Jobs knew what is the rule of the leader.
Steve Jobs said “The broader one’s understanding of the human experience, the better designs we will have,” Steve Jobs also look up to his past experiences, as a human being Steve Jobs knew that perfection was too hard to have and bound to failures but Steve Jobs looked to the past failures and made it his driving force in perfecting his formula as a successful technoprenuer.
Steve Jobs once said “I want to put a dent in the universe,” his boldness and big self – confident. I can imagine from Apple 1 to Macintosh and now the Ipod, Steve Jobs is conquering the universe.
Steve Jobs in his young age at 21 years old started one of the leading companies in computer up this day. Because of the initiative of Steve Jobs, Apple Company grew to become a leader and an innovator in computer around the globe, and also they are producing great software for their clients as well as leading in the electronics industry. Eventually, the Apple Company headed by Steve Job is ranked as the number 159 on the Fortune 500 yearly ranking of America’s largest corporations for 2006, with over .9 billion in revenues and almost 20,000 employees. Today, Steve Jobs continues to serve as the company’s Chief Executive Officer and doing well in his management in the company.
Steve Jobs loved this quote “If you live each day as if it was your last, someday you’ll most certainly be right.” When the billionaire technopreneur and Apple founder was 17 years old, because of that quote Steve Jobs recalls it as the quote that continues to make a lasting impression on him to until this day. That quote became Steve Jobs’ solid concept at heart when he was diagnosed in 2004 for having a cancer.
And here are some of my article as part of my endeavors in attaining to be a successful technoprenuer someday.
http://webupon.com/search-engines/money-and-google-adsense/
http://writinghood.com/online-writing/earning-articles-best-formula/
http://webupon.com/money-making/making-money-online-is-easy-2/
My affiliate site www.ericpapasit.info
Reference:
http://www.evancarmichael.com/Famous-Entrepreneurs/568/summary.php
* What is Technopreneurship?
http://www.associatedcontent.com/article/369728/what_is_technopreneurship.html?cat=3
Written by ericpapasit
Find More PHP Affiliate Program Software Articles
How To Create Your Own Home Server
How To Create Your Own Home Server
Share your Knowledge
Hi, please
Log In or
Log in via
or
Join now
Publish Content
Featured Content
Get Help
Categories
Art & Entertainment
Business & Finance
Culture & Society
Events & Holidays
Fashion & Beauty
Health & Nutrition
More
Automotive
Education
Family
Food & Drinks
Hobbies & Crafts
Home & Garden
Internet
Pets
Relationships
Religion & Spirituality
Reviews
Science & Technology
Self Improvement
Sports & Fitness
Travel
You are in:
Home » Computers » How To Create Your Own Home Server
How To Create Your Own Home Server
In this tutorial you will learn how to step up your own server. This server will be comprised of Apache 1.3.5, PHP 4.2.0, and MySQL 3.23.49. This tutorial will address the basic setup of a server on your own computer. This means the removal of hassles of dealing with the company that is running a remote web server. It will be easy to modify. You can add any thing you want to it, be it CGI/Perl, Zope, Roxen, etc, all by your self. You will have unlimited disk space, well at least as big as your hard drive is =) Now that you know the advantages, it is time that I tell you what i used, and what you will need.
What Is Needed
* Windows 2000 – NOTE that if you are using 2k you WILL NEED Administrative Privileges. If you don’t then get them somehow =) If you are on NT, XP,
* Apache 1.3.6 – I tried to use 2.0 but I could not get it work. I also feel that 1.3.6 is tried and true, so why mess with greatness.
* Mysql 3.23.49 – The newest version of MySQL when I set up my server. MySQL also the is the best PHP supported Database, and well love PHP don’t we.
* PHP 4.2.1 – The latest and greatest PHP release. -nt
* Apache 2 – Link: h**p://www.apache.org/dist/
* Mysql 3.23.49 – Link: h**p://www.mysql.com/downloads/mysql-3.23.html
* PHP 4.2.0 – Link: h**p://www.php.net/downloads.php
* Windows – This tutorial is ONLY written for new versions of Windows.
Once you have downloaded all the programs you are ready to continue.
Instructions
1
Installing Apache
The first step is to download Apache for Windows. Before you install it make sure that any other server software is removed. Remove it all via the control panel. Once you have clicked on the executable, a screen should com up that looks like this. Go ahead and click on next user posted image Of course you plan to abide be the license agreement, so click on I accept…. and click on next.
You really don’t need to read this, but if you want you can. Read it if you want feel informed. When you are ready click on next.
Here is where the actual setup of Apache begins. For Network Domain put in localhost as for Server Name You want these both to be localhost because the server is running locally, on your computer. It doesn’t matter what is in email field, just put in yours. No one will no it because it’s just you.
For the sake of this tutorial it is better to just leave it as it is because, later in the tutorial I will show you how to start the server with one click of the mouse, and for the sake of ease, it will be easier for you to follow along. You can change it if you want, but you will have to realize where to substitute it. For me the root drive is E: but for you will probably be C: Once you have all the jazz set up, it is time to install the server. If you are on w2k or XP be sure that you have Administrative permissions or you will get an error about half way through the install saving cannot access msvrt32.dll or something. If you get that error run it again when you have admin privileges. Once you are ready click on install. If all went well you just see a screen similar to this. Now it is time to test the install of apache. Click on Start > Program Files > Apache HTTP Server and look for start Start Apache in Console. Click it. Once it says Apache XXXXX running, press Windows Key + R and type -http://localhost/. If the install works you should see a page saying that it works. If all is set and done, continue to the next step.
HP EX490 1TB Mediasmart Home Server (Black)
Amazon Price:0.00
List Price: 3.99
HP EX495 1.5 TB MediaSmart Home Server (Black)
Amazon Price:2.00
List Price: 1.99
2
Installing PHP
Once you have clicked on the executable, a screen should come up that looks like this. Go ahead and click on next. Of course you plan to abide be the license agreement, so click on I accept…. and click on next. For this information, we will want the simple standard install. Chances are you if you are reading this tutorial, you will probably not even want to talk about advanced =) This is the mail setup, just enter localhost, and me@localhost.com. These are not important, because you, the admin, are the only person that will use the server, and you will be the one handling errors. We are going to want this install to work is Apache, so click on Apache, and move on. Once you have all the jazz set up, it is time to install the server. If you are on w2k or XP be sure that you have Administrative permission or you will get an error about half way through the install saving cannot access msvrt32.dll or something. If you get that error run it again when you have admin privileges. Once you are ready click on install. After the install is done you should get something that says you will have to manually configure apache to use php. Assuming you have a working Apache server installed, make sure that it is not running. Navigate to C:\Program Files\Apache Group\Apache\conf\ open the httpd.conf file. Note that you can also get to the http.conf from the start menu. Start > Program File > Apache HTTP Server > Configure Apache Server > Edit the Apache httpd.conf Configuration File and the window will open up in notepad. Now hit Ctrl + End if you see something like what follows, you can skip this step. If you do not see that code, copy it. This code will only work if you used the default install folder when you installed php. If you did, copy that code and paste it into the end of the file. Select the code to right, and hit crtl + c , then go into the httpd.conf file and hit ctrl + v and save the file.
ScriptAlias /php/ “c:/php/”
AddType application/x-httpd-php .php .phtml
Action application/x-httpd-php “/php/php.exe”
Now that we have php installed, it is time to test it. Open up notepad and type the code to the right. Save it as phpinfo.php. Remember to set it as all files in the drop down menu, or the file will be a text file. Save in the Directory: C:\Program Files\Apache Group\Apache\htdocs. htdocs is the directory where all the files go. You can create endless dir’s and browse them. For Example E:\Program Files\Apache Group\Apache\htdocs\mydir\myfile.php could be accessed as http://localhost/mydir/myfile.php. Once you have that file saved. You will need to start the Server. Click: Start > Program File > Apache HTTP Server >; and look for something like Start Apache in Console. After you have found it, launch it. You should get a window saying that Apache is running. Now go to Start > Run > and type in -http://localhost/phpinfo.php. If you don’t see anything, php is not installed correctly. If php is installed correctly, you will see a few large tables, displaying php’s configuration. Now Your are 1/2 done!
Amazon Price:.49
List Price: 9.99
3
Installing MySQL
Once you have clicked on the executable, a screen should com up that looks like this. Go ahead and click on next. Of course you plan to abide be the license agreement, so click on I accept…. and click on next. Just like before you should leave the default dir alone, so you will be able to follow along with me when I show you how to start and stop all the aspects of the server.
Stay with the typical installation. Just like before, if you don’t have admin privileges, the install will be faulty. After you click next, the install will begin. After the install has finished, move on to the next step.
Now you have to set up the root account. The root account is the absolute admin of the system, the highest possible. Click on Start > Run and type cmd to open up the command prompt. You are going to have to navigate to where MySQL is installed. Type C: > Enter > cd mysql > Enter > cd bin > Enter. Now you have to tell setup the root settings. Type mysqladmin -uroot password InsertYourPasswordHere then hit enter.
To see an image of the screen, -h**p://www.webmasterstop.com/tutorials/images/doscreen1.gif
What is the point of having a database if you can’t easily administer it! That is where phpMyAdmin comes into play. phpMyAdmin is a free piece of software written in php that makes the administration of a mysql or many other types of databases easy. You will want to download (h**p://prdownloads.sourceforge.net/phpmyadmin/phpMyAdmin-2.2.6-php.zip?downloadrelease_id=85832)the latest version. Save it in the htdocs folder. Once it is done downloading it, right click on it and select Extract > To Here. When it is done you should end up with a directory in the htdocs folder called phpMyAdmin-2.2.6 To make it easier to access, rename it to phpMyAdmin. After you have renamed it, click on it and look for a file called config.inc Open it. This is where you set the configuration of phpMyAdmin. When you open it up, it should look similar to the image to your side. On yours there should be a few things missing. The $ cfgPmaAbsoulteUrl and $ cfgservers[$ i]['password']. You will need to fill those in between the quotes. for the $ cfgPmaAbsoulteUrl enter -http://localhost/phpMyAdmin/ if you followed my instructions to the letter. If you did not rename it or extracted to a different directory, put that in there. For the $ cfgservers[$ i]['password'] enter the password you entered when you were setting MySQL in the set above. You can refer to the image for help. After you have put the right things in save the file.
To see an image of the screen, -h**p://www.webmasterstop.com/tutorials/images/phpmyadminscreen1.gif
Now we want to test the install of mysql, php, phpmyadmin, and apache all at once. Start apache in console like we did before. Now, you are going to need to start mysql. For myself I made a file that would start mysql for me. Open notepad and type: start c:\mysql\bin\mysqld-nt.exe –standalone and save that as Start MySQL.bat. Once you have saved it, click it. A window should open and then close. Mysql is now running on your computer. After mysql and apache are started go to run again and type -http://localhost/phpMyAdmin/index.php and if everything is installed correctly phpmyadmin should so up. You are almost done! Now we have the easy part =)
Microsoft Office 2010 Home & Student (Disc Version)
Amazon Price:Too low to display
List Price: 9.99
Mac OS X version 10.6.3 Snow Leopard
Amazon Price:.47
List Price: .00
QuickBooks Pro 2011 [Download]
Amazon Price:8.23
List Price: 9.95
4
Content
Add new comment
* You must be logged in order to leave comments, please
Sign in
or join us.
Comments
Be the first to comment on this topic.
“How To Create Your Own Home Server” is managed by muhsmmad
Report
Share
Got a how-to to share? Create One
Videos
ASUS TS Mini Windows Home Server Home Computer Backup Setup &…
3:48 minutes
My Home Server Rack/Computer Room
4:02 minutes
Windows Server 2008: add an Active Directory Computer
3:22 minutes
Joining a Windows Vista computer to a Windows Server 2008 domain …
7:54 minutes
XAMPP – Make your Computer a Webserver: Apache, PHP, MySQL
11:52 minutes
Tags
·
comuter ·
server ·
sql ·
http ·
computer ·
start mysql ·
start apache ·
PHP ·
mysql ·
way install saving cannot ·
w2k xp sure administrative ·
half way install saving ·
get error half way install ·
apache server ·
start apache console ·
plan abide license agreement ·
course plan abide license ·
apache ·
Related Content
Advanatges of Windows 2008 server
Login Failed For User in Sql Server Error
Sql Authority
How to Find the Right Paint Color for Your Home
Publish Content
Featured Content
Get Help
All CategoriesArt & EntertainmentAutomotiveBusiness & FinanceCulture & SocietyEducationEvents & HolidaysFamilyFashion & BeautyFood & DrinksHealth & NutritionHobbies & CraftsHome & GardenInternetPetsRelationshipsReligion & SpiritualityReviewsScience & TechnologySelf ImprovementSports & FitnessTravel
Bukisa
Blog
About Us
Contact Us
RSS Feed
Site Links
Join
Login
Recently Added
Advanced Search
Help & Tools
Community Support
Bukisa 101
Widgets
Search Plugin
Sitemaps
How To Articles
Twitter Users
Topics Sitemaps
General Sitemap
Follow Us
On Facebook
On Twitter
Bukisa Newsletter
Please read our Terms of Use and Privacy Policy | User published content is licensed under a Creative Commons License except where otherwise noted.
© Copyright 2008 – 2011 Webika Ltd. All Rights Reserved.
v. 3.0.1 / 20110131 (w1)
Hebrew |
Portuguese
Get Search Engine Visibility With Web Design Company – The Growing Importance And Needs
Web Design Company, produce the ideal reflection for your business by our creative and exclusive layouts. While designing a site, there are a huge number of various styles you can embrace to spread the message of a company all over promptly to clients, visitors or readers. The crucial thing to take into account just like us is to choose a creative style which fits the brand you are crafting for.Your business gears to accelerate with the facilitation of our experienced group. The impact is improved by creativity which can make first impression on your Customr’s mind, that’s why they want to visit your site again and again.
The Growing Importance and Needs
An overly complex design makes a website confusing to most normal users, much more those with cognitive and neurological disorders. Such sites are completely beyond the comprehension of such users. Simplicity is the key to an effective website, more so if it is to be accessible to the broadest possible spectrum of users including those with cognitive and neurological disorders.
Several groups worldwide are focused on highlighting accessibility issues. They provide help and guidance to those who want to design accessible websites. One concerned group is the World Wide Web Consortium which has published guidelines and standards for accessible websites
Web Design that is pleasing to the eye boosts the credibility of a domain whilst putting a user at ease. Creating a positive and memorable first impression plays a bigger role in winning new visitors that the interface because it usually takes time for a user to become familiar with all the features on a website. A shoddy web design creates the impression that you don’t really care and is one of the biggest missed opportunity to introduce your brand well to a first time visitor.
Web Application
A Web Application is a computer software application or a database application that is coded in a browser-supported language (like HTML, Javascript, PHP etc.), and accessed from web browser over a network. Website development is a one-time investment, with huge returns in the current market . But most of the companies are in a critical dilemma.
Many great developers excel in producing unique, powerful, search engine- friendly and intuitive web applications, irrespective of the technology used. Our services include web programming & database integration for matrimonial sites, on-line property searches, shopping carts, e – commerce applications, forums, blogs and custom applications – which will facilitate your busines
Search Engine Visibility with Web Design
Most of the people do not believe this but SEO experts reveal that the benefits of a professional web design company can ooze into your search engine results. Though there is ample number of reasons why you should choose professional website design but search engine visibility forms a crucial reason too.
Greater search engine visibility would fetch you some more clients and more customers and the credit goes to professional web design services. Increased back links is another reason why you should go for professional web Design Company. So if you want to get all the aforementioned benefits for search engine visibility, then it is must to have professional website development services.
Written by divyalakshmi
Earning Money by Creating Dating Site
According to economic forecasts, the tough economic situation we are facing is not ending anytime soon, at least not this year. It basically means that people will continue to lose jobs and unemployment will increase. You can salvage yourself from this situation by creating your own online dating website with the help of the most modern online dating software. With a dating website, the possibility of making a lot of money is real.
Dating trends have been changing for quite some time now. Most people are opting for online dating, possibly because of secrecy and ease of use. A few people have exploited this opportunity and are making a lot of money by running dating websites. You too can make money by starting a dating website.
There are numerous ways of starting a dating website. If you are a web developer, then you can probably develop a site which provides dating services. However, a majority of people don’t have the skills to design or develop their own dating site. Fortunately, there are still a number of options for such people.
With dating software, any novice individual can start a dating site in minutes. One can also purchase a dating script. In the latter case, you can add your own code and come up with other unique features which may not be available in full dating software.
The advantage of using online dating site software is that you will have a site with an already established database of singles. So, you won’t start from Zero. Step by step, you can have millions of profiles and driving traffic will be your only worry.
In fact, driving traffic to a dating site is not hard. One of the easiest ways of driving traffic and creating back links is by writing quality content and publishing them on different directories like ezinearticles.com. To achieve faster results, you can part with a few dollars and go for paid advertising.
Once you establish enough traffic to your dating site, you can monetize it using various ways. Charge a small registration fee or full membership fees are the most preferred options. Even though you make your services completely free, you can still make money through displaying Google AdSense ads.
If you want to start a dating site, I recommend using an already established PHP dating script. You can customize it with features you want. You can also remove any features you don’t like.
Written by b4gor
Find More PHP Date And Time Scripts Articles
Tips To Start Your New Blog
There is no question that blogging is one of the best ways to get keyword rich content on your site, get your message on the search engines and get traffic to your website. But how do you get started blogging?
When you consider starting a blog there are many options. A great way to get started blogging quickly (and for free) is to use an online ‘standalone’ service like WordPress or Google’s Blogger. These are free, highly customizable tools that support both new and more advanced bloggers. The negative is that you can’t use your website’s domain name. For instance, if using Blogger, you blog address would be something like ‘yourblog.blogspot.com.’ While you can link to this from your current website, search engines won’t know give you ‘credit’ for the extra content since it is a different domain. With creative cross linking however, you can still benefit from the increased exposure you can get from a blog.
These free services provide powerful software tool that balance value, quality, and ease of use. While some people prefer to use more basic blog services, they too can truly benefit from the ‘built-in’ benefits of WordPress or Blogger along with its existing large community of users.
One of the most notable benefits of these services is the ease of use, and advanced functionality of the service compared to some blog software applications. Neither Blogger nor WordPress require you to know any ‘coding’ and allow you to built and post to your blog with easy to use icons similar to what one would see in a word processing program. Having the ability to utilize a program like this allows people to create blogs that are as high tech, and complete as full blown websites.
If you are occasionally ‘offline’ you can benefit from WordPress’s ability to import posts. This means you can put your blog together while you are not connected to the internet and then import it later. If you already use another blogging service such you can also import your posts directly into Blogger or WordPress.
Another benefit of these services is their large widget or element and theme libraries that allow you to instantly add useful features, and professional looking styles to your blog. A very simple drag and drop interface allows you to add features such as an RSS feed with a few clicks.
Another option to consider would be blogging software that you can directly integrate into your website. Some hosting provides such as GoDaddy allow you to use your existing domain name for you blog. The benefit is that the content of your blog becomes part of what search engines see for your domain. In these cases you are more likely to pay a monthly add-on fee to your hosting provider. As an alternative, Google’s Blogger allows you to publish to a FTP site, which means you can blog from your own domain. You lose some of the flexibility of the ‘out of the box’ service, but with a little effort you can have a customized template and pretty easy posting capability that resides within your domain.
As your needs become more advanced or if you are a more technical blogger you may also consider blogging software that can be directly integrated into your website. One to consider is bBlog. bBlog is an open source, PHP/MySQL application. If you don’t know what the last sentence means, then this isn’t for you. If you do know, then you may benefit from the expanded flexibility an integrated application could provide.
In the end, you have a wide, wide range of very inexpensive (or free) options to get started.
Written by risnorda
All About Spyware
There are a lot of PC users that know little about “Spyware”, “Mal-ware”, “hijackers”, “Dialers” & many more. This will help you avoid pop-ups, spammers and all those baddies.
What is spy-ware?
Spy-ware is Internet jargon for Advertising Supported software (Ad-ware). It is a way for shareware authors to make money from a product, other than by selling it to the users. There are several large media companies that offer them to place banner ads in their products in exchange for a portion of the revenue from banner sales. This way, you don’t have to pay for the software and the developers are still getting paid. If you find the banners annoying, there is usually an option to remove them, by paying the regular licensing fee.
Known spywares
There are thousands out there, new ones are added to the list everyday. But here are a few:
Alexa, Aureate/Radiate, BargainBuddy, ClickTillUWin, Conducent Timesink, Cydoor, Comet Cursor, eZula/KaZaa Toptext, Flashpoint/Flashtrack, Flyswat, Gator, GoHip, Hotbar, ISTbar, Lions Pride Enterprises/Blazing Logic/Trek Blue, Lop (C2Media), Mattel Brodcast, Morpheus, NewDotNet, Realplayer, Songspy, Xupiter, Web3000, WebHancer, Windows Messenger Service.
How to check if a program has spyware?
The is this Little site that keeps a database of programs that are known to install spyware.
Check Here: http://www.spywareguide.com/product_search.php
If you would like to block pop-ups (IE Pop-ups).
There tons of different types out there, but these are the 2 best, i think.
Try: Google Toolbar (http://toolbar.google.com/) This program is Free
Try: AdMuncher (http://www.admuncher.com) This program is Shareware
If you want to remove the “spyware” try these.
Try: Lavasoft Ad-Aware (http://www.lavasoftusa.com/) This program is Free
Info: Ad-aware is a multi spyware removal utility, that scans your memory, registry and hard drives for known spyware components and lets you remove them. The included backup-manager lets you reinstall a backup, offers and multi language support.
Try: Spybot-S&D (http://www.safer-networking.org/) This program is Free
Info: Detects and removes spyware of different kinds (dialers, loggers, trojans, user tracks) from your computer. Blocks ActiveX downloads, tracking cookies and other threats. Over 10,000 detection files and entries. Provides detailed information about found problems.
Try: BPS Spyware and Adware Remover (http://www.bulletproofsoft.com/spyware-remover.html) This program is Shareware
Info: Adware, spyware, trackware and big brotherware removal utility with multi-language support. It scans your memory, registry and drives for known spyware and lets you remove them. Displays a list and lets you select the items you’d like to remove.
Try: Spy Sweeper v2.2 (http://www.webroot.com/wb/products/spysweeper/index.php) This program is Shareware
Info: Detects and removes spyware of different kinds (dialers, loggers, trojans, user tracks) from your computer.
The best scanner out there, and updated all the time.
Try: HijackThis 1.97.7 (http://www.spywareinfo.com/~merijn/downloads.html) This program is Freeware
Info: HijackThis is a tool, that lists all installed browser add-on, buttons, startup items and allows you to inspect them, and optionally remove selected items.
If you would like to prevent “spyware” being install.
Try: SpywareBlaster 2.6.1 (http://www.wilderssecurity.net/spywareblaster.html) This program is Free
Info: SpywareBlaster doesn`t scan and clean for so-called spyware, but prevents it from being installed in the first place. It achieves this by disabling the CLSIDs of popular spyware ActiveX controls, and also prevents the installation of any of them via a webpage.
Try: SpywareGuard 2.2 (http://www.wilderssecurity.net/spywareguard.html) This program is Free
Info: SpywareGuard provides a real-time protection solution against so-called spyware. It works similar to an anti-virus program, by scanning EXE and CAB files on access and alerting you if known spyware is detected.
Try: XP-AntiSpy (http://www.xp-antispy.org/) This program is Free
Info: XP-AntiSpy is a small utility to quickly disable some built-in update and authentication features in WindowsXP that may rise security or privacy concerns in some people.
Try: SpySites (http://camtech2000.net/Pages/SpySites_Prog…ml#SpySitesFree) This program is Free
Info: SpySites allows you to manage the Internet Explorer Restricted Zone settings and easily add entries from a database of 1500+ sites that are known to use advertising tracking methods or attempt to install third party software.
If you would like more Information about “spyware”.
Check these sites.
http://www.spychecker.com/
http://www.spywareguide.com/
http://ww w.cexx.org/adware.htm
http://www.theinfomaniac.net/infomaniac/co…rsSpywa re.shtml
http://www.thiefware.com/links/
http://simplythebest.net/info/sp yware.html
Usefull tools…
Try: Stop Windows Messenger Spam 1.10 (http://www.jester2k.pwp.blueyonder.co.uk/j…r2ksoftware.htm) This program is Free
Info: “Stop Windows Messenger Spam” stops this Service from running and halts the spammers ability to send you these messages.
————————————————————– ————–
All these softwares will help remove and prevent evil spammers and spywares attacking your PC. I myself recommend getting “spyblaster” “s&d spybot” “spy sweeper” & “admuncher” to protect your PC. A weekly scan is also recommended
Free Virus Scan
Scan for spyware, malware and keyloggers in addition to viruses, worms and trojans. New threats and annoyances are created faster than any individual can keep up with.
http://defender.veloz.com// – 15k
Finding . is a Click Away at 2020Search.com
Having trouble finding what you re looking for on: .? 2020Search will instantly provide you with the result you re looking for by drawing on some of the best search engines the Internet has to offer. Your result is a click away!
http://www.2020search.com// – 43k
Download the BrowserVillage Toolbar.
Customize your Browser! Eliminate Pop-up ads before they start, Quick and easy access to the Web, and much more. Click Here to Install Now!
http://www.browservillage.com/ – 36k
Written by Mumyls
How To Compile And Install Apache 2.2
Introduction
The Apache HTTP Server is the world’s most popular web server. Initially released in 1995, it dramatically increased in popularity and now is used to host many of the world’s most popular websites.
Although Microsoft’s IIS has remained popular and various other web servers such as nginx have appeared in recent years, Apache still retains that top position and should be your first consideration for a Linux server. It’s popular for a reason, after all. Let’s get started!
Why compile from source?
Many guides exist on the internet that show how to install Apache on a Linux system via a package manager such as Synaptic or Aptitude, so what are the advantages to compiling from source? The answer is relatively simple. Compiling Apache from source provides you with a flexibility and freedom to manipulate the installation in a way that packaged versions (binaries) do not. You’re able to explicitly define what you want included, therefore avoiding the installation of things you’ll never need or use. Additionally, a packaged version usually won’t be the latest release; it may lack features, security updates and other components that the latest source release includes. Other configuration options such as being able to specify where you want it to be installed are possible when compiling from source.
Requirements
Apache runs on a variety of Operating Systems (including Windows), but this article will concentrate on Linux. So obviously you’ll need a Linux machine with roughly 50MB of disk space available. When it’s installed it takes up considerably less, but 50MB are required for temporary files during the installation process. Let’s list this:
* Linux. For this article, I’ve used a default installation of Debian 5.
* A server with at least 50MB of free disk space. These days, this shouldn’t be a problem.
* An ANSI-C compiler. GCC is the most commonly used and is the one I use here.
* Basic linux tools such as make. These days, your linux distribution should come with them.
* Utilities such as tar and gunzip.
* Root access
Note: Although I’m using Debian 5 here, the same instructions will apply on virtually any Linux distribution.
Getting started
Step 1: Get the Apache HTTP server source
You could use a browser to do this or a tool such as wget. As root, I’ve browsed to /usr/src on my server and used wget to download the latest version of the source code from the Apache website. Right now this is 2.2.17.
wget http://apache.mirror.anlx.net//httpd/httpd-2.2.17.tar.gz
Note: The URL may be different for you.
Step 2: Unpack the archive
The .tar.gz extension tells us that it’s a compressed tar archive, so we’re going to need the tar tool to decompress and extract it. The tar command with the z, x and f flags will do this. If you list the directory using ls, you’ll see that a new directory has been created. In my case this is httpd-2.2.17 but the version may be different for you.
tar zxf httpd-2.2.17.tar.gz
Step 3: Configuration
The configuration is probably the trickiest part of the whole process. You need to have an idea of your requirements before attempting this stage. For example, do you need the ability to support SSL? Do you want to install Apache somewhere other than the default location? If you’re unsure, I suggest you spend a bit of time thinking about it, as you don’t want to have to recompile at a later date if you forget something now. The configuration script Apache uses is called just that – configure – and it’s located in the source directory that was just created. Let’s browse to that directory.
As you can see, the configuration script is there. Now let’s look at the help it provides.
./configure –help
That’s a lot of help! It lists and gives helpful explanations of all the available configuration parameters. For example, for SSL support, we can look down the list and see that –enable-ssl enables the mod_ssl module. So when configuring our installation, the command might look like this:
./configure –enable-ssl
A detailed look at all the available options is a long way outside the scope of this article, but you should hopefully have some idea of what you might need. If in doubt, Google it. For example, if you know that you’ll be using PHP, a quick search will tell you the Apache configuration requirements needed. The official Apache documentation can be a great place to look, also. You can find it at http://httpd.apache.org/docs/2.2/.
I’m going to include the SSL module, the Proxy module and the ability to rewrite URLs in my installation, so my command will look like this:
./configure –enable-ssl –enable-proxy –enable-rewrite
Lots of information will start scrolling up the screen as the configuration script checks that it has everything it needs. You’ll see a lot of things that it doesn’t have but don’t worry, this is normal. If something goes wrong and you end up with an error at the bottom telling you that configuration has failed, don’t panic. In most cases this is because something simple has been overlooked – that you don’t have GCC installed, for example. The messages are usually fairly comprehensive, so just read it and work out what’s missing. If you’re stuck, Google will certainly be able to help you.
Our installation is now configurated and all that’s left to do is to compile it and install it. On to Step 4!
Step 4: Compilation
To compile Apache, a utility called make is used. All we have to do is issue the command. Make sure you’re still in the source directory otherwise make won’t work.
make
You’re going to see lots of scrolling information as Apache compiles and depending on your server, it might take a little while.
Step 5: Installation
This is the last point at which you can go back, reconfigure and recompile if you’ve forgotten something. Once it’s installed, you’d have to remove everything and start again, so make sure you’ve included everything you need! The make install command will install Apache.
make install
Again, there’ll be lots of scrolling information and probably a few warnings too. Don’t worry about those, Apache will let you know if anything goes drastically wrong. The installation doesn’t take nearly as long as the compilation so within a minute or so it should have finished.
You’ve just compiled and installed Apache!
Step 6: Check it works!
Every installation of any kind should include this step.
As I left the installation path as the default, Apache should be installed in the /usr/local/apache2 directory.
If you navigate there, you’ll see that the directory structure is fairly comprehensive. You can see the conf/ directory (where obviously the configuration files are located), bin/ (which holds various binaries, including the one we’ll use to start and stop Apache) and various others. I recommend reading through the Apache documentation to gain a good understanding of what everything is.
The htdocs/ directory is where your website files will go, and if you take a look in there you’ll see index.html is already there. This is a test page included by default so you know that your Apache installation has completed successfully. Let’s start up Apache and check. As mentioned, the bin/ directory holds the binary we need to start and stop Apache. It’s called apachectl. The following command will start the server:
/usr/local/apache2/bin/apachectl start
If we then list the processes on the system and grep for apache, we should be able to see if it’s running or not:
ps aux | grep apache
If all looks well, we should be able to browse to index.html. If you take a look in httpd.conf within the conf/ directory, you’ll be able to see that by default, Apache will run on localhost port 80. So let’s go there. Type the following into a browser of your choice:
Congratulations, you’ve successfully compiled and installed Apache 2.2! To stop the Apache server you can use the same command as above, but with stop instead of start.
I hope this how-to has been useful. Please feel free to comment.
Useful Links
Apache 2.2 documentation – http://httpd.apache.org/docs/2.2/
Apache mailing lists – http://httpd.apache.org/lists.html
Written by Mike Evans
Freelance writer