Home arrow PHP arrow Page 8 - The Soothingly Seamless Setup of Apache, SSL, MySQL, and PHP

Testing Our Work: Is Apache working? - PHP

The much anticipated update to our original article on getting Apache, MySQL, Mod_SSL, and PHP to work seamlessly with each other is finally here! Ever try to get Apache, Mod_SSL, PHP, and MySQL all working in harmony on the same box? It's a very difficult task, but article author Israel Denis Jr. has come up with detailed instructions for compiling all these and getting them working together seamlessly to make the killer server software system.

TABLE OF CONTENTS:
  1. The Soothingly Seamless Setup of Apache, SSL, MySQL, and PHP
  2. Assumptions
  3. Prerequisites
  4. How it Works
  5. Game Plan
  6. PHP Installation (*NIX)
  7. Apache
  8. Testing Our Work: Is Apache working?
  9. Is SSL Working?
  10. Are PHP and MySQL Working Together?
  11. Conclusion
By: Israel Denis Jr. and Eugene Otto
Rating: starstarstarstarstar / 41
June 07, 2000

print this article
SEARCH DEV SHED

TOOLS YOU CAN USE

advertisement
If it worked correctly you will see something similar to this screen capture, when you connect to the server with Netscape. This is basically the Apache default installed page. Hopefully you will create a cool looking site, and change this page.

NOTE: You can connect to the server with a DOMAIN name or using the actual IP of the box. Check both cases, to ensure that everything is working properly.
{mospagebreak title=Is PHP Support Working?} Now will test for PHP support. Create a file called test.php information below in it. The file needs to be located in the document root path which should be setup by default to /usr/local/apache/htdocs. Note that this is dependent on the prefix that we chose initially. However, this could be changed in the httpd.conf. Setting up multiple virtual hosting will be another article, keep your eyes open for it, as it will cover some very basic options in setting up Apache and its directives.

<? phpinfo(); ?>

This will display information about server, php, the environment, and a couple of other things. Here is a screen capture of the top portion of the output page.

Pretty cool. PHP rules!!!

 
 
>>> More PHP Articles          >>> More By Israel Denis Jr. and Eugene Otto
 

blog comments powered by Disqus
   

PHP ARTICLES

- PHP Closures as View Helpers: Lazy-Loading F...
- Using PHP Closures as View Helpers
- PHP File and Operating System Program Execut...
- PHP: Effects of Wrapping Code in Class Const...
- PHP: Building Concrete Validators
- Sanitizing Input with PHP
- Executing Shell Commands with PHP
- Handling File Data with PHP
- File Security and Resources with PHP
- ArrayObject PHP Class Examples
- ArrayObject PHP Class: An Introduction
- Getting File System Data with PHP
- PHP Tools for Working with the File and Oper...
- Working with the File and Operating System w...
- PHP Proxy Patterns: Completing a Blog


© 2003-2012 by Developer Shed. All rights reserved. DS Cluster 7 - Follow our Sitemap

Dev Shed Tutorial Topics: