A concise guide to PHP MySQL and Apache
4/5
()
About this ebook
This ebook is a concise guide to learning dynamic web applications using PHP, MySQL and Apache in a simplified manner. You will learn how to create applications and write programs, that are dynamic and purposeful. You will also learn how to develop intricate programs in order to construct web applications and dynamic web-sites.
Read more from Alasdair Gilchrist
Concise Guide to OTN optical transport networks Rating: 4 out of 5 stars4/5Six Sigma Yellow Belt Certification Study Guide Rating: 0 out of 5 stars0 ratingsGoogle Cloud Platform for Data Engineering: From Beginner to Data Engineer using Google Cloud Platform Rating: 5 out of 5 stars5/5REST API Design Control and Management Rating: 4 out of 5 stars4/5Google Cloud Platform an Architect's Guide Rating: 5 out of 5 stars5/5The Layman's Guide GDPR Compliance for Small Medium Business Rating: 5 out of 5 stars5/5An Executive Guide to Identity Access Management - 2nd Edition Rating: 4 out of 5 stars4/5Concise Guide to DWDM Rating: 5 out of 5 stars5/5A Practical Guide Wireshark Forensics Rating: 5 out of 5 stars5/5The Certified Ethical Hacker Exam - version 8 (The concise study guide) Rating: 3 out of 5 stars3/5Spreadsheets To Cubes (Advanced Data Analytics for Small Medium Business): Data Science Rating: 0 out of 5 stars0 ratingsA Last Minute Hands-on Guide to GDPR Readiness Rating: 0 out of 5 stars0 ratingsGoogle Cloud Platform - Networking Rating: 0 out of 5 stars0 ratingsConcise and Simple Guide to IP Subnets Rating: 5 out of 5 stars5/5A Concise Guide to Microservices for Executive (Now for DevOps too!) Rating: 1 out of 5 stars1/5Supply Chain 4.0: From Stocking Shelves to Running the World Fuelled by Industry 4.0 Rating: 3 out of 5 stars3/5An Introduction to SDN Intent Based Networking Rating: 5 out of 5 stars5/5Digital Success: A Holistic Approach to Digital Transformation for Enterprises and Manufacturers Rating: 0 out of 5 stars0 ratingsTackling Fraud Rating: 4 out of 5 stars4/5A Concise Guide to Object Orientated Programming Rating: 0 out of 5 stars0 ratingsPSD2 - Open Banking for DevOps(Sec) Rating: 5 out of 5 stars5/5The Concise Guide to SSL/TLS for DevOps Rating: 5 out of 5 stars5/5Management Accounting for New Managers Rating: 1 out of 5 stars1/5GDPR for DevOp(Sec) - The laws, Controls and solutions Rating: 5 out of 5 stars5/5ChatGPT Will Won't Save The World Rating: 0 out of 5 stars0 ratingsWhy Industry 4.0 Sucks! Rating: 0 out of 5 stars0 ratingsConcise Guide to CompTIA Security + Rating: 3 out of 5 stars3/5SRS - How to build a Pen Test and Hacking Platform Rating: 2 out of 5 stars2/5
Related to A concise guide to PHP MySQL and Apache
Related ebooks
Jump Start PHP Environment: Master the World's Most Popular Language Rating: 0 out of 5 stars0 ratingsExpert PHP 5 Tools Rating: 4 out of 5 stars4/5Introduction to PHP Web Services: PHP, JavaScript, MySQL, SOAP, RESTful, JSON, XML, WSDL Rating: 0 out of 5 stars0 ratingsLearn PHP: Learn PHP Programming in 4 hours! PHP for Beginners - Smart and Easy Ways to learn PHP & MySQL Rating: 4 out of 5 stars4/5PHP mySQL Web Programming Interview Questions, Answers, and Explanations: PHP mySQL FAQ Rating: 4 out of 5 stars4/5Mastering Google App Engine: Build robust and highly scalable web applications with Google App Engine Rating: 0 out of 5 stars0 ratingsGetting started with php & mysql: Professional training Rating: 0 out of 5 stars0 ratingsHTML5, JavaScript, and jQuery 24-Hour Trainer Rating: 2 out of 5 stars2/5PHP & MySQL Practice It Learn It Rating: 3 out of 5 stars3/5PHP for Beginners: Your Guide to Easily Learn PHP In 7 Days Rating: 4 out of 5 stars4/5PHP for Beginners Rating: 0 out of 5 stars0 ratingsLearn PHP in 24 Hours Rating: 0 out of 5 stars0 ratingsLinux, Apache, MySQL, PHP Performance End to End Rating: 5 out of 5 stars5/5Introducing PHP 7/MySQL Rating: 0 out of 5 stars0 ratingsPHP Oracle Web Development: Data processing, Security, Caching, XML, Web Services, and Ajax Rating: 0 out of 5 stars0 ratingsPHP BLUEPRINT: An Essential Beginners Guide to Learn the Realms of PHP From A-Z Rating: 0 out of 5 stars0 ratingsLearn PHP Programming in 7Days: Ultimate PHP Crash Course For Beginners Rating: 3 out of 5 stars3/5HTML, XHTML & CSS QuickSteps Rating: 0 out of 5 stars0 ratingsJavaScript Unleashed: Harnessing the Power of Web Scripting Rating: 0 out of 5 stars0 ratingsjQuery: Novice to Ninja: Novice to Ninja Rating: 4 out of 5 stars4/5Introduction to PHP Rating: 3 out of 5 stars3/5PHP jQuery Cookbook Rating: 0 out of 5 stars0 ratingsElasticSearch Cookbook Rating: 5 out of 5 stars5/5HTML5 Multimedia Development Cookbook Rating: 0 out of 5 stars0 ratingsAn Introduction to Programming in JavaScript: Stomping Zombies with Variables, Loops, Functions and More: Undead Institute, #10 Rating: 0 out of 5 stars0 ratingsJavaScript: Tips and Tricks to Programming Code with Javascript Rating: 0 out of 5 stars0 ratingsBeginning CSS: Cascading Style Sheets for Web Design Rating: 4 out of 5 stars4/5CSS Mastery: Styling Web Pages Like a Pro Rating: 0 out of 5 stars0 ratingsNode.js: Novice to Ninja Rating: 0 out of 5 stars0 ratingsMongoDB Complete Self-Assessment Guide Rating: 0 out of 5 stars0 ratings
Information Technology For You
CompTIA A+ CertMike: Prepare. Practice. Pass the Test! Get Certified!: Core 1 Exam 220-1101 Rating: 0 out of 5 stars0 ratingsHow to Write Effective Emails at Work Rating: 4 out of 5 stars4/5Data Analytics for Beginners: Introduction to Data Analytics Rating: 4 out of 5 stars4/5Creating Online Courses with ChatGPT | A Step-by-Step Guide with Prompt Templates Rating: 4 out of 5 stars4/5Personal Knowledge Graphs: Connected thinking to boost productivity, creativity and discovery Rating: 5 out of 5 stars5/5CompTIA ITF+ CertMike: Prepare. Practice. Pass the Test! Get Certified!: Exam FC0-U61 Rating: 5 out of 5 stars5/5ChatGPT: The Future of Intelligent Conversation Rating: 4 out of 5 stars4/5Practical Ethical Hacking from Scratch Rating: 5 out of 5 stars5/5Learning Microsoft Endpoint Manager: Unified Endpoint Management with Intune and the Enterprise Mobility + Security Suite Rating: 0 out of 5 stars0 ratingsCompTIA Network+ CertMike: Prepare. Practice. Pass the Test! Get Certified!: Exam N10-008 Rating: 0 out of 5 stars0 ratingsCOMPUTER SCIENCE FOR ROOKIES Rating: 0 out of 5 stars0 ratingsAn Ultimate Guide to Kali Linux for Beginners Rating: 3 out of 5 stars3/5CompTia Security 701: Fundamentals of Security Rating: 0 out of 5 stars0 ratingsAWS Certified Cloud Practitioner: Study Guide with Practice Questions and Labs Rating: 5 out of 5 stars5/5Health Informatics: Practical Guide Rating: 0 out of 5 stars0 ratingsA Mind at Play: How Claude Shannon Invented the Information Age Rating: 4 out of 5 stars4/5The NIS2 Navigator’s Handbook: Bridging the Cybersecurity Gap Rating: 0 out of 5 stars0 ratingsLinux Command Line and Shell Scripting Bible Rating: 3 out of 5 stars3/5A Practical Guide for IoT Solution Architects Rating: 5 out of 5 stars5/5Cyber Security Consultants Playbook Rating: 0 out of 5 stars0 ratingsDesign and Build Modern Datacentres, A to Z practical guide Rating: 3 out of 5 stars3/5Security Operations: CISSP, #7 Rating: 0 out of 5 stars0 ratingsIntroduction to Information Systems: Information Technology Essentials, #1 Rating: 0 out of 5 stars0 ratingsAI Unplugged: Your Everyday Guide to Understanding Artificial Intelligence Rating: 0 out of 5 stars0 ratingsCryptocurrency Investing: Investing for Beginners Rating: 5 out of 5 stars5/5Beginner's Guide to Information Security Rating: 0 out of 5 stars0 ratingsHow To Be An Agile Business Analyst Rating: 0 out of 5 stars0 ratingsDevOps Handbook: What is DevOps, Why You Need it and How to Transform Your Business with DevOps Practices Rating: 4 out of 5 stars4/5DNS in Action Rating: 0 out of 5 stars0 ratings
Reviews for A concise guide to PHP MySQL and Apache
2 ratings1 review
- Rating: 3 out of 5 stars3/5
May 14, 2017
The book is explaining in a very good way, however it is quite outdated as it use the old MySQL_ functions which can not be used with the PHP versions 5.0 and higher instead of the newer mysqli_ functions
Book preview
A concise guide to PHP MySQL and Apache - alasdair gilchrist
Concise Study of PHP, Apache & MySQL
Introduction
PHP, Apache & MySQL
The application development platform
Manual Installation of AMP
Installing Apache, MySQL , and PHP on Windows
Installing Apache
Starting and Stopping Apache
Windows Service Manager:
The net command:
Apache Service Monitor:
Installing PHP
Configuring PHP to Use My SQL
Configuring Apache to Use PHP
Testing the Configuration
Installing MySQL
Configuring My SQL
Testing Your Installation
A Far Easier Way to install AMP!
Installing the platform
Testing for PHP and MySQL functionality
Managing MySQL
Creating the Database
Data Entry
PHP Programming Features
Jumping in and out of PHP
Variables
Using Variables
PHP Constants
Numbers & Character Strings
The If Statement
The else statement
More about if statements
Arrays
PHP Building Blocks
MySQL
Other MySQL STATEMENTS
Using the SELECT – WHERE query,
Other MySQL Functions
Aggregate Functions
Using COUNT(*)
SUM Function
MAX Function
MIN Function
Executing SQL Queries from PHP
PHP & MySQL
Displaying Data in the Database
Tips & Tricks
Best Practices
Security
Summary
Introduction
The content of this book aims at those that wish to get to grips with the fundamentals of using Apache, PHP and MySQL to create dynamic web-based applications.
It is now very easy to create websites and even web applications from online tools, however, that does not teach you anything, and you will end up with a web site that looks like any other. It is far more difficult to create a web site that is unique, that you really want, and that others will appreciate.
So how do you develop dynamic websites, ones that you can proudly show to your family and friends?
Well, it is really, as strange as it seems, not that difficult, you only need to know the basics of PHP, Apache and MySQL.
So let's get started handling the basics!
PHP, Apache & MySQL
PHP, Apache and MySQL work very closely together, they are the dynamic trio of web database and application design. PHP is a hypertext scripting language, Apache is the engine that allows PHP to run, and MySQL is a relational database. PHP and MySQL are two of the programming languages required to make a dynamic web database application. The third, Apache, is a web-server application, which can compile PHP and SQL code into a visible language. Without Apache, a server sided application, you can run code but not visualize the output. Therefore, when programmers start to use SQL and PHP they typically are compiling code using PHP and MySQL, to visualize the results we require Apache.
Our concern though as a programmer is with PHP and MySQL, installing Apache, is relatively straightforward, so we will concentrate on how we can learn to install, configure and ultimately use the trio to create dynamic web applications.
The application development platform
The first things we need to do at a minimum are to collect all of the web server applications, PHP, Apache and MySQL. Now we could take the masochistic route, download these applications all separately and then configure them to work together, however that is a terrible task. There is some logic to that however, as we will get the very latest versions, we will also learn how the applications inter-relate, and learn how we can troubleshoot problems.
Manual Installation of AMP
Now you will see Apache, MySql and PHP, often bundled together, and that stands for Windows or Linux, hence the generic X, followed by the A, for Apache, M for MySQL and P, for PHP. There are many free downloads available, of individual packages, as all these components are open source software. The main problem for a