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
Google Cloud Platform for Data Engineering: From Beginner to Data Engineer using Google Cloud Platform Rating: 5 out of 5 stars5/5A Practical Guide Wireshark Forensics Rating: 5 out of 5 stars5/5Google Cloud Platform an Architect's Guide Rating: 5 out of 5 stars5/5Six Sigma Yellow Belt Certification Study Guide Rating: 0 out of 5 stars0 ratingsThe Layman's Guide GDPR Compliance for Small Medium Business Rating: 5 out of 5 stars5/5Concise Guide to DWDM Rating: 5 out of 5 stars5/5REST API Design Control and Management Rating: 4 out of 5 stars4/5Concise Guide to OTN optical transport networks Rating: 4 out of 5 stars4/5An Executive Guide to Identity Access Management - 2nd Edition Rating: 4 out of 5 stars4/5A Last Minute Hands-on Guide to GDPR Readiness 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 and Simple Guide to IP Subnets Rating: 5 out of 5 stars5/5An Introduction to SDN Intent Based Networking Rating: 5 out of 5 stars5/5A Concise Guide to Microservices for Executive (Now for DevOps too!) Rating: 1 out of 5 stars1/5Google Cloud Platform - Networking Rating: 0 out of 5 stars0 ratingsThe Certified Ethical Hacker Exam - version 8 (The concise study guide) Rating: 3 out of 5 stars3/5Supply Chain 4.0: From Stocking Shelves to Running the World Fuelled by Industry 4.0 Rating: 3 out of 5 stars3/5A Concise Guide to Object Orientated Programming Rating: 0 out of 5 stars0 ratingsTackling Fraud Rating: 4 out of 5 stars4/5PSD2 - Open Banking for DevOps(Sec) Rating: 5 out of 5 stars5/5GDPR for DevOp(Sec) - The laws, Controls and solutions Rating: 5 out of 5 stars5/5Digital Success: A Holistic Approach to Digital Transformation for Enterprises and Manufacturers Rating: 0 out of 5 stars0 ratingsConcise Guide to CompTIA Security + Rating: 3 out of 5 stars3/5Management Accounting for New Managers Rating: 1 out of 5 stars1/5The Concise Guide to SSL/TLS for DevOps Rating: 5 out of 5 stars5/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/5ChatGPT Will Won't Save The World Rating: 0 out of 5 stars0 ratings
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/5Introducing PHP 7/MySQL 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/5Mastering 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/5HTML5, JavaScript, and jQuery 24-Hour Trainer Rating: 2 out of 5 stars2/5Introduction to PHP Web Services: PHP, JavaScript, MySQL, SOAP, RESTful, JSON, XML, WSDL Rating: 0 out of 5 stars0 ratingsApache Tomcat 7 Essentials Rating: 0 out of 5 stars0 ratingsPHP for Beginners 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 ratingsPHP & MYSQL: 200 Solved Exercises and Projects for Practice 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 ratingsLearn PHP Programming in 7Days: Ultimate PHP Crash Course For Beginners Rating: 3 out of 5 stars3/5PHP MySQL Development of Login Modul: 3 hours Easy Guide Rating: 5 out of 5 stars5/5PHP Examples Part 4 Rating: 0 out of 5 stars0 ratingsPHP & MySQL Practice It Learn It Rating: 3 out of 5 stars3/5Learn PHP in 24 Hours Rating: 0 out of 5 stars0 ratingsLinux, Apache, MySQL, PHP Performance End to End Rating: 5 out of 5 stars5/5PHP Mastery: Crafting Dynamic Web Solutions Rating: 0 out of 5 stars0 ratingsPHP mySQL Web Programming Interview Questions, Answers, and Explanations: PHP mySQL FAQ Rating: 4 out of 5 stars4/5PHP Package Mastery: 100 Essential Tools in One Hour - 2024 Edition Rating: 0 out of 5 stars0 ratingsIntroduction to PHP Rating: 3 out of 5 stars3/5PHP jQuery Cookbook Rating: 0 out of 5 stars0 ratingsHTML, XHTML & CSS QuickSteps Rating: 0 out of 5 stars0 ratingsReference to PHP, Second Edition Rating: 0 out of 5 stars0 ratingsHow to Learn PHP, MySQL and Javascript Quickly!: For Dummies Rating: 5 out of 5 stars5/5Web Developer's Reference Guide Rating: 0 out of 5 stars0 ratingsBeginning CSS: Cascading Style Sheets for Web Design Rating: 4 out of 5 stars4/5Building a Web Application with PHP and MariaDB: A Reference Guide Rating: 0 out of 5 stars0 ratings
Trending on #Booktok
It Ends with Us: A Novel Rating: 4 out of 5 stars4/5Pride and Prejudice Rating: 4 out of 5 stars4/5If We Were Villains: A Novel Rating: 4 out of 5 stars4/5The Summer I Turned Pretty Rating: 4 out of 5 stars4/5Better Than the Movies Rating: 4 out of 5 stars4/5Beauty and the Beast Rating: 4 out of 5 stars4/5Once Upon a Broken Heart Rating: 4 out of 5 stars4/5Rich Dad Poor Dad Rating: 4 out of 5 stars4/5Milk and Honey: 10th Anniversary Collector's Edition Rating: 4 out of 5 stars4/5Crime and Punishment Rating: 4 out of 5 stars4/5The Little Prince: New Translation Version Rating: 5 out of 5 stars5/5Finnegans Wake Rating: 4 out of 5 stars4/5
Related categories
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