Happily Ever After

February 15, 2007

Setting up Apache, PHP, MySQL on Suse 10.2

Filed under: Linux

Initial Installation Open up YaST,
go to "Software Management". Search for "apache",
and select:
apache2
apache2-doc
apache2-mod_php5 (for version 10.1)
apache2-mod_php4 (for version 10.0)
apache2-prefork libapr1 libapr-util1 Then,

Search for "php5" (for version 10.1),
or "php4" (for version 10.0)
and select all packages (RMB->All Packages in this List->Install) Then,

Search then for mysql,

and install:

mysql

mysql-client

Now that you’ve installed the necessary software, we can move on to configuration Configuration Once you have done this, go to "System" under YaST.

Go to "System Services (runlevel)", and Find apache2 in the list and select it. Click "Enable".

Find mysql in the list and select it, and also Click "Enable"

Testing The first thing to test is if your Apache is working correctly.

Open up a browser (e.g. Firefox) and enter into the address bar the following: localhost If you see two words "It works!" then Apache is working correctly.
The next step is to proceed to check if PHP is working correctly for you. Open up the public_html file in your home folder, and, using your favorite editor, (e.g gedit, or emacs, or kwrite)
type:

<?php
phpinfo();
?>

Comments »

The URI to TrackBack this entry is: http://matabdulaziz.blogsome.com/2007/02/15/setting-up-apache-php-mysql-on-suse-102/trackback/

No comments yet.

RSS feed for comments on this post.

Leave a comment

Line and paragraph breaks automatic, e-mail address never displayed, HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>



Anti-spam measure: please retype the above text into the box provided.






















Get free blog up and running in minutes with Blogsome
Theme designed by B A Khan