Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
One month ago I installed RHL 9 in two of my pcs and I'm reading every piece of information I can get.
The fact is: I recently bought a book titled "PHP and MySQL Web Development" to learn to program in PHP (ovbious). The problem is that when I follow the instructions on installation, I get everyting to work except PHP. When i create a test.php file with <?php phpinfo(); ?> function it doesn't give the page with info it should give.
The book guides to install explicit versions of the software, but this versions are not longer available so I replaced them with a sligtly newer ones.
I installed this:
and followed every instruction on installing, replacing the apropiated name when necessary. Everyting worked (and was tested) as said by the book, except PHP. Even tried the following code as recomended in the php official manual (in a file called test.php in the apropiated directory (htdocs)):
I can see the text on top of the browser, i mean, the html tags work, but not the php code. I have stoped the apache work and then restarted it; Have tried reinstalling php, and NO, it doesn't work.
I installed the software on another pc, and no, it doesn't work.
gunzip -c apache_1.3.28.tar.gz | tar xvf -
gunzip -c php-4.3.2.tar.gz | tar xvf -
./configure --with-mysql=/usr --with-xml --with-apache=../apache_1.3.28 --with-curl=../curl --enable-shared-pdflib
cp php.ini-dist /usr/local/lib/php.ini
(Installed openssl-0.9.6g and mod_ssl-2.8.15-1.3.28)
SSL_BASE=../openssl-0.9.6g ./configure --enable-module=ssl --activate-module=src/modules/php4/libphp4.a --enable-module=php4 --prefix=/usr/local/apache --enable-shared-ssl
make certificate TYPE=custom
and then modified httpd.conf adding:
# And for PHP 4.x, use:
AddType application/x-httpd-php .php
AddType application/x-httpd-hph-source .phps
I can't seem to find any error with your installation, other than the insignificant (to this issue) typo of having "hph-source" in the conf file.
Normally I would say use source whenever possible, like you have. In this instance however, pop in your RH9 disc 1, open the package manager and install PHP+HTTPD in the "Web Server" section. For the purposes of learning php, it will get you going in the direction you desire.
Kudos on the choice of books. I learned a LOT of stuff from one of the older editions of that book.
I actually could install and get to work all three MySQL, Apache and PHP following the instructions given in www.devside.net, it took me saturday from 8:30 am to 1:40 pm, but thanks to the guys from devside, now I have my linux box working with those packages and I'm willing to learn to program in PHP and develop something in the near future.
Now, if anybody have a question about the instructions given in devside (if you are going to install in RH9) maybe I can help with the experience I get following them, just post here.