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
escort Bursa Bursa escort Antalya eskort
   

PHP ARTICLES

- Hackers Compromise PHP Sites to Launch Attac...
- Red Hat, Zend Form OpenShift PaaS Alliance
- PHP IDE News
- BCD, Zend Extend PHP Partnership
- PHP FAQ Highlight
- PHP Creator Didn't Set Out to Create a Langu...
- PHP Trends Revealed in Zend Study
- PHP: Best Methods for Running Scheduled Jobs
- PHP Array Functions: array_change_key_case
- PHP array_combine Function
- PHP array_chunk Function
- 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...

Developer Shed Affiliates

 


Dev Shed Tutorial Topics: