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.
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
This is my first post to any forum so please excuse any obvious newbie mistakes.
Here is my dilemma:
1. I performed a clean installation of RedHat Linux 9 with the custom option and firewall option to allow connections to HTTP,HTTPS,& SSH
2. In downloaded the latest sources of the following:
apache_1.3.28, php-4.3.3, OpenSSL-0.9.7c, mod_ssl-2.8.15-1.3.28, MySQL-4.0.15a
3. I installed the above using the instructions from an article by Bruce Timberlake on the brtnet.org site following his instructions to the letter.
4. I tested all installs and everything worked as advertised up to a php test script using the following php code ( <?php phpinfo() ?> ). When running this test, it receive the following error message:
[BEGIN ERROR MESSAGE ]
Warning: Unknown(/usr/local/apache/htdocs/phpinfo.php): failed to open stream: Permission denied in Unknown on line 0
Warning: (null)(): Failed opening '/usr/local/apache/htdocs/phpinfo.php' for inclusion (include_path='.:/usr/local/lib/php') in Unknown on line 0
[quote]Can anyone tell me where I went wrong?[quote] When you use RedHat or any package based distro, try to install software using RPMs only. A good place to find RPMs is http://rpmfind.net . RPMs make it easy to upgrade and maintain software.
Yeah, rpm are good, if you need no more and no less than package maintainer needs. Also, RH often add some patchs to software thak may cause additional troubles against 'clean' sources. As example - I still can't install DB2 & SAP server on RH8/9 due to NPTL patchs in kernel and glibc. However, it is a good idea to package you custom software into RPM or DEB defore install. So the best way IMHO is to use 'clean' or self-patched sources and .spec or rules from source package of distribution. Ypu could obtain source packages either using apt-get sources in APT-based or installing src.rpm in RH*
Hello Everyone,
Thanks for all your help and your suggestions.
I agree that RPMs are cool and very helpful. I have used them in the past. However, I would like to learn a lot more about Linux than I could about Windows and I believe that learning to install from the source and experimenting with different options is the best way to learn. I still have not figured out the reasons for the error messages-even after taking David's advice. But I refuse to give up!
Thanks all.
Regards,
Rojow
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.