PHP Configuration tutorials
This article provides extensive instructions on installing PHP on Apache/Linux. Main topics include: How to Get PHP, PHP Extensions, Building PHP for CGI Use, Building PHP as an Apache Module, Building mod_php as a Dynamically Loaded Object, Testing Your Installation, Going Further/In Conclusion, Building Apache at Lightspeed, Apache Source Components Provided by Linux Distributions, and Fixing Red Hat 6.1's apxs Script.
Related Tutorials
Installing PHP 4.x for Apache 1.x.x on Linux
This document describes how to install PHP for Apache on Linux. It was written using Red Hat 7.0, Apache 1.3.14 and PHP 4.0.3 patch level 1 You should have Apache installed before trying to install PHP.
Acquiring PHP MySQL
PHP and MySQL are already packaged in Linux and Mac OS X OSs. However, most PHP developer are actually using Windows when developing PHP applications. This is also true to myself. I have Mandrake Linux 10 but I'll just use it for testing purposes of my finished scripts. One reason is that Windows render an amazing web presence unlike any other OS's browsers. So this page will only cover the WAMP ( Windows, Apache, MySQL, PHP ). You will learn how to install Apache, PHP, and MySQL under Windows platform.
How To Install Apache+PHP+MySQL PHP tutorial
This tutorial discusses the setup of Apache, PHP and MySQL for both Windows and Red Hat Linux.Because the install for Windows is straightforward, the discussion for Windows is an overview. The tutorial and how to for Red Had Linux is much more detailed and covers both downloading and installing packages as well as using Apache's DSO Module.
Installation Guide
The first section presents the steps to install and configure MySQL, Apache, and PHP under the Linux operating system environment, then present a short guide to downloading and installing the PHP script examples used in this tutorial. The last major section shows how a secure Apache web server can be installed using the Secure Sockets Layer library. We conclude with a list of installation resources for Microsoft Windows, Linux, and other environments.
A WebServer Guide -- Help Using Apache
Web server program sits around awaiting requests from visitors web browsers for objects it has in its possession, and then sends these objects back for the visitor's viewing pleasure. This article guides you through setting and getting started with Apache on Linux.
Installing PHP 3.x.x for Apache 1.x.x on Windows 9x
These instructions assume that you installed Apache for Windows 9x as outlined here. They should work with any standard Apache installation.
Customizing PHP Safe Mode
We'll guide you through using PHP safe_mode and how-to enable it and to customize it for certain sites on your server. When using PHP as an Apache module, you can also change the configuration settings using directives in Apache configuration files (e.g. httpd.conf) and .htaccess files. PHP safe_mode is very important to in terms of server security because it restricts and disables the dangerous functions in PHP from the scripts like PHP Shell that can otherwise cause damages to your server and client sites.
How to Get Apache, PHP, and MySQL Up and Running
If you have no idea where to start or need some help on how to install, configure and tweak Apache, PHP, and MySQL on Unix or Windows, this 3-part hands-on article will guide you before you get lost in manuals.
Installing Apache, PHP and MySQL
This tutorial will show you how to install Apache 2.0.59, PHP 5.2.3 and MySQL 5.0.41 on machine running Windows XP.
Apache Server PHP MySQL phpMyAdmin Setup using AppServ
Our goal is to be able to run PHP scripts on our own computers for the purpose of dynamic web testing and development. What exactly should you do to get the scripts run properly? Unlike running general HTML scripts in IE or any other browser, running PHP requires some components for the script compilation. The answer to this question is by installing a web server (Apache), PHP Core, and MySQL (for database-driven websites) on your PC.
Introduction to WML, Apache, and PHP
This article covers the basics of wml, how to set up your apache server, and php. Covering the basics allows you to set up this environment and then learn the rest on your own.
PHP + Apache + MySQL perfect setup
This tutorial will show you with a lot of illustration how to setup a perfect WAMP - Windows, Apache, MySQL, PHP - development environment.
Calculator Building an Apache-like Access Control List (ACL)
Constructing an Apache-like, in fact we're going to be emulating the Apache ACL in its entirety. Although you could quite easily use Apache, this allows you to see how it's all done and even extend onto it to allow temporary bans which expire after a certain amount of time - if you were that way inclined.
Installing Apache with PHP,MySQL on Windows 9x/2000/XP
This tutorial shows you howto install Apache, PHP and MySQL on a Windows 98, 2000 or XP system.
How to use PHP in the Shell
PHP may be most commonly used within a web server to produce web pages, but it is a powerful scripting engine by itself. PHP is an amazingly useful multipurpose tool when used from the command line. This post will show you how to use the PHP Command Line Interface (CLI). Some of the information here is Linux specific, but there are equivalents for Windows.
Installing Apache 2.0, PHP 4.2, MySQL 3.23, and PHPMyAdmin
This article shows you how to setup, configure, install, and use the Apache 2.0 web server, PHP 4.2.0 scripting langauge, PHPMyAdmin, and that latest MYSQL DBMS Database MySQL 3.23 on a Windows machine so you can easily test your dynamic Macromedia Flash content in a server environment. Making it easy to test on your local laptop/desktop. A Flash application using these tools is also detailed.
Using mod_rewrite with Apache and PHP
mod_rewrite is a popular Apache Module which gives a server administrator the ability to mask a web site's links. Though mod_rewrite has several abilities and can be used in several ways, the only way focused on by this tutorial is to create Search Engine Friendly links.
Using mod_rewrite with Apache and PHP
This tutorial assumes that the reader has no prior knowledge of working neither with the Apache Configuration file, HTACCESS file, nor with mod_rewrite in general. It will go through a simple step-by-step process on how to successfully setup mod_rewrite to work on your web server.
Configuring Windows 98 for Local PHP Development
This is documentation for installing Apache 1.3.9, PHP 3.011, Perl 5.00502 and MySQL 3.21.29, but should work with ANY recent (or more recent) versions of this software.
Using PHP to search a MySQL database and return paged results
PHP, MySQL and a Web Server capable of parsing PHP pages, like Apache or IIS. This search script does not spider all your pages by crawling the links, so the content you want to be searchable must be within the database. Knowledge of PHP and MySQL is also necessary because this script is just the bones of a working solution.
Accessing a Microsoft SQL Server database from PHP running under Linux
In this article, I will explain how it is possible to connect and query an MS SQL server (running under a Windows operating system) from php installed on a unix box.
Debugging PHP: Did You Remember to
So you've finally managed to install PHP. Anxious to use your new tool, you find the print function in the manual, write your own hello world, load the page and the dreaded "Parse error: parse error in /usr/local/apache/htdocs/test.php on line 2" error pops up in front of you. You know the scenario, read on to learn the fixes....
Installing PHP on a Mac
One great aspect of Mac OS is that it ships with a preinstalled Apache server and PHP4. So if you want to develop dynamic PHP based web sites on your local machine, you just have to enable the PHP4 module and start the server.
The Universal Web Form Processor
This article describes how to create a generic form processor in PHP. Discussion involves form elements, hidden fields, and more. Also covers the installation process of NuSphere MySQL, an integrated multi-platform distribution of Apache, Perl, PHP, and MySQL.
Web Database Tutorial (PHP & MySQL)
This is a tutorial on how to create a web database application using PHP and MySQL on a Unix platform (Linux or Mac OS X). The example used is a database to manage web site links. The same ideas used in this tutorial can be expanded to most web applications like phone directories, personalization, survey polls, etc... All are based on inserting, displaying and managing data in a database.
Create image with PHP/GD and adding fonts on the fly
This GD Library thing is one of the cool features started from PHP 3.0 , this one page tutorial lets you see the basic concept of GD library`s working . and how to add fonts etc.
Creating friendly URLs with mod_rewrite
This programming tutorial will teach you how to build search engine friendly URLs in PHP, which contain keywords and use HTML extensions. We are going to use the htaccess file and mod_rewrite module running on an Apache server.
Authentication and Security
In this tutorial we discuss the techniques used to build web database applications that authenticate, authorize, and protect the data that is transmitted over the Web. The topics covered in this tutorial include: * How HTTP authentication works and how it can be used with Apache and PHP * Writing PHP scripts to manage user authentication and authorization * Writing PHP scripts that authenticate users against a table in a database * The practical aspects of building session-based web database applications to authenticate users, including techniques that don't use HTTP authentication * A case study example that develops an authentication framework, demonstrating many of the techniques presented in this tutorial * The features of the encryption services provided by the Secure Sockets Layer.
A HOWTO on Optimizing PHP
PHP is a very fast programming language, but there is more to optimizing PHP than just speed of code execution. In this chapter, we explain why optimizing PHP involves many factors which are not code related, and why tuning PHP requires an understanding of how PHP performs in relation to all the other subsystems on your server, and then identifying bottlenecks caused by these subsystems and fixing them. We also cover how to tune and optimize your PHP scripts so they run even faster.
What is PHP and Why Should I Care?
One of the first things most people want to know about PHP is what the initials stand for. Then they wish they had never asked. Officially, PHP stands for PHP: Hypertext Preprocessor.
What is PHP?
What is PHP, and what can you do with it? This gentle PHP introduction explains the basics of PHP and looks at how you can use it to build feature-rich Web pages and applications.
PHP Basics
In this tutorial, i will teach you how to make a basic php program.. Mainly how to print output from a php script... I hope you will enjoy using PHP as much as i have, and that you will NEVER use ASP again (if you ever have).
PHP Introduction
PHP stands for PHP: Hypertext Preprocessor. PHP is an HTML-embedded scripting language. Much of its syntax is borrowed from C, Java and Perl with a couple of unique PHP-specific features thrown in. The goal of the language is to allow web developers to write dynamically generated pages quickly.
Welcome to PHP
This is a comprehensive article / tutorial on programming in PHP. It covers a variety of key topics including PHP Structure, Scalar Variables and Data, Data collection: Arrays, Operations and Comparisons, PHP Comparison Operators, PHP Logical Operators, Control Statements, The Function of Functions, and Object Orientation.
Creating a PHP form
PHP is a great processor of forms, hence knowing how to write a simple form for php processing is the precursor to make the PHP work.
Introduction to PHP
PHP - This tutorial was written to introduce you to PHP, it assumes you know nothing about programming at all, starts with the very basics and slowly guides you through some of the concepts of PHP programming.
Viewsource
A number of websites, including php.net, allow you to view the source code of their PHP pages. This is usually to allow you to see how the page is put together and how the PHP code itself is written. Usually, it is not possible to view the PHP source but with a built in function in PHP, you can.
PHP Comments
Learn how to write PHP comments, and how to comment your PHP code effectively, in this easy-to-follow PHP tutorial.
HTACCESS Wrappers with PHP
HTACCESS is a remarkable tool you can use for password protection, error handling (like custom 404 pages), or HTTP redirects. It can also be used to transform whole folders in seconds: adding headers to all your HTML documents, watermarking all your images, and more.
Writing your first PHP script
Learn how to get started with PHP programming. This beginner tutorial walks you through the process of writing a simple PHP script and shows how PHP scripts are put together.
 
Categories