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
REST API Design Control and Management Rating: 4 out of 5 stars4/5Google Cloud Platform an Architect's Guide Rating: 5 out of 5 stars5/5A Practical Guide Wireshark Forensics Rating: 5 out of 5 stars5/5Concise Guide to OTN optical transport networks Rating: 4 out of 5 stars4/5Google Cloud Platform for Data Engineering: From Beginner to Data Engineer using Google Cloud Platform Rating: 5 out of 5 stars5/5The Layman's Guide GDPR Compliance for Small Medium Business Rating: 5 out of 5 stars5/5Six Sigma Yellow Belt Certification Study Guide Rating: 0 out of 5 stars0 ratingsSpreadsheets To Cubes (Advanced Data Analytics for Small Medium Business): Data Science Rating: 0 out of 5 stars0 ratingsConcise Guide to DWDM Rating: 5 out of 5 stars5/5Google Cloud Platform - Networking Rating: 0 out of 5 stars0 ratingsManagement Accounting for New Managers Rating: 1 out of 5 stars1/5An Executive Guide to Identity Access Management - 2nd Edition Rating: 4 out of 5 stars4/5Concise and Simple Guide to IP Subnets Rating: 5 out of 5 stars5/5A Concise Guide to Object Orientated Programming Rating: 0 out of 5 stars0 ratingsA Last Minute Hands-on Guide to GDPR Readiness Rating: 0 out of 5 stars0 ratingsA Concise Guide to Microservices for Executive (Now for DevOps too!) Rating: 1 out of 5 stars1/5The Certified Ethical Hacker Exam - version 8 (The concise study guide) Rating: 3 out of 5 stars3/5PSD2 - Open Banking for DevOps(Sec) Rating: 5 out of 5 stars5/5Supply Chain 4.0: From Stocking Shelves to Running the World Fuelled by Industry 4.0 Rating: 3 out of 5 stars3/5Why Industry 4.0 Sucks! Rating: 0 out of 5 stars0 ratingsAn Introduction to SDN Intent Based Networking Rating: 5 out of 5 stars5/5Tackling Fraud Rating: 4 out of 5 stars4/5Digital Success: A Holistic Approach to Digital Transformation for Enterprises and Manufacturers Rating: 0 out of 5 stars0 ratingsGDPR 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 ratingsConcise Guide to CompTIA Security + Rating: 3 out of 5 stars3/5FinTech Rising: Navigating the maze of US & EU regulations Rating: 5 out of 5 stars5/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
PHP 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/5Jump Start PHP Environment: Master the World's Most Popular Language 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 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 ratingsPHP Examples Part 4 Rating: 0 out of 5 stars0 ratingsPHP for Beginners Rating: 0 out of 5 stars0 ratingsIntroducing PHP 7/MySQL Rating: 0 out of 5 stars0 ratingsGetting started with php & mysql: Professional training Rating: 0 out of 5 stars0 ratingsLearn PHP in 24 Hours Rating: 0 out of 5 stars0 ratingsMastering Google App Engine: Build robust and highly scalable web applications with Google App Engine Rating: 0 out of 5 stars0 ratingsPHP for Beginners: Your Guide to Easily Learn PHP In 7 Days Rating: 4 out of 5 stars4/5Apache Tomcat 7 Essentials Rating: 0 out of 5 stars0 ratingsPHP & MySQL Practice It Learn It Rating: 3 out of 5 stars3/5PHP MySQL Development of Login Modul: 3 hours Easy Guide Rating: 5 out of 5 stars5/5Linux, Apache, MySQL, PHP Performance End to End Rating: 5 out of 5 stars5/5Learn PHP: Learn PHP Programming in 4 hours! PHP for Beginners - Smart and Easy Ways to learn PHP & MySQL Rating: 4 out of 5 stars4/5HTML5, JavaScript, and jQuery 24-Hour Trainer Rating: 2 out of 5 stars2/5PHP Mastery: Crafting Dynamic Web Solutions Rating: 0 out of 5 stars0 ratingsBasic Drupal: How to create, administer and maintain a Drupal Site Rating: 0 out of 5 stars0 ratingsWindows Batch File Programming Rating: 2 out of 5 stars2/5Ajax in One Hour, For Beginners, Learn Coding Fast Rating: 0 out of 5 stars0 ratingsPHP Error Reporting: How To Do It Right Rating: 0 out of 5 stars0 ratingsIntroduction to PHP Rating: 3 out of 5 stars3/5WordPress Web Application Development - Second Edition Rating: 0 out of 5 stars0 ratingsphpMyAdmin Starter Rating: 0 out of 5 stars0 ratingsThe Best Javascript Rating: 0 out of 5 stars0 ratingsWeb Designing and Publishing: O' Level Made Simple Rating: 0 out of 5 stars0 ratingsPHP jQuery Cookbook 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 ratingsData Analytics for Beginners: Introduction to Data Analytics Rating: 4 out of 5 stars4/5CompTia Security 701: Fundamentals of Security Rating: 0 out of 5 stars0 ratingsCreating 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/5Unlocking the Power of Agentic AI: Transforming Work and Life Rating: 5 out of 5 stars5/5How to Write Effective Emails at Work Rating: 4 out of 5 stars4/5COMPUTER SCIENCE FOR ROOKIES 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 ratingsA Mind at Play: How Claude Shannon Invented the Information Age Rating: 4 out of 5 stars4/5An Ultimate Guide to Kali Linux for Beginners Rating: 3 out of 5 stars3/5The Rise of AI Income: Using Artificial Intelligence for Financial Success Rating: 5 out of 5 stars5/5Introduction to Information Systems: Information Technology Essentials, #1 Rating: 0 out of 5 stars0 ratingsAWS Certified Cloud Practitioner: Study Guide with Practice Questions and Labs 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/5Cyber Security Consultants Playbook Rating: 0 out of 5 stars0 ratingsA Practical Guide for IoT Solution Architects Rating: 5 out of 5 stars5/5Character Expression: Using ChatGPT to Write Believable Emotions in Fiction Rating: 3 out of 5 stars3/5DevOps Handbook: What is DevOps, Why You Need it and How to Transform Your Business with DevOps Practices Rating: 4 out of 5 stars4/5CompTIA Security +: Malware and Malware Infections Rating: 0 out of 5 stars0 ratingsChatGPT: The Future of Intelligent Conversation Rating: 4 out of 5 stars4/5Health Informatics: Practical Guide Rating: 0 out of 5 stars0 ratingsPractical Ethical Hacking from Scratch Rating: 5 out of 5 stars5/5AZURE AZ 500 STUDY GUIDE-1: Microsoft Certified Associate Azure Security Engineer: Exam-AZ 500 Rating: 0 out of 5 stars0 ratingsThe NIS2 Navigator’s Handbook: Bridging the Cybersecurity Gap Rating: 0 out of 5 stars0 ratingsLearning Microsoft Endpoint Manager: Unified Endpoint Management with Intune and the Enterprise Mobility + Security Suite Rating: 0 out of 5 stars0 ratingsExcel VBA: A Step-By-Step Tutorial For Beginners To Learn Excel VBA Programming From Scratch: 1 Rating: 4 out of 5 stars4/5CompTIA A+ CertMike: Prepare. Practice. Pass the Test! Get Certified!: Core 2 Exam 220-1102 Rating: 0 out of 5 stars0 ratingsUltimate Microsoft Power Automate Desktop 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