Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
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.
I have couple of questions always bothering me when I am working with linux. I am currently working on RHEL 4.0 and cent os 4.0.. my questions are.
how to install apache, php, mysql and gd library.. (all latest versions).. as per my knoweldge, we can simply install apache. mysql while installing linux, if we do so, how could we compile php with mysql... ? (but these versions are old that comes up with the disto)..
if I go to php.net and download latest php 5 and same from apache and mysql, ( i hope all these are source codes not rpms). how can we compile all these... could you please start from scratch as I am new to this....
at the end, i need to see all these in the phpinfo() file... tell me on how to install gd library for php
Those should be the appropriate options to add to PHP's ./configure, but I'm not certain. If you don't have Apache or MySQL installed under /usr/local/apache2 and /usr/local/mysql you should replace those paths with the actual paths. (I don't know what these paths are in Red Hat.) You should also run ./configure --help to verify those options are correct.
You'll have to change httpd.conf (for Apache) to recognize PHP -- http://httpd.apache.org will have a link to documentation that will tell you how to do this.
For the gd library, that might be something that also has to be specified as an option to ./configure when you're compiling PHP. I've never done that before, so check the gd library docs -- but it may be as simple as installing the library and adding something like --with-gd to ./configure.
I have now compiled php with apache and mysql. The versions are.
php-5.2
apache-2.2.4
mysql-5.0.41
It looks like apachectl service was able to start and stop without any trouble /usr/local/apache/bin/httpd -t gives syntax ok.
Now the problem is, I was able to run html files just fine now, but not .php files. When I execute, http://localhost/phpinfo.php it gives blank page. I can not run .php files on my fedora 6.
I added these directives are in /usr/local/apache/conf/httpd.conf file,
Resume normal operations is the message i found in error_log file of apache.. can you please tell me how to fix this problem or guide me how to get rid of this.
How to set up LAMP ? What is the purpose of doing this ? Sorry for stupid questions because i am a IT student who want to learn to set up LAMP. I have Fedora 7 install in my hard disk.
Thanks for your help. I really need your help. Your help is greatly appreciated by me and others.
Another method of installing apache and the other LAMP components all the latest versions, Compiled, repeatable and upgradeable is to use the Apache-toolbox
run the script, check the boxes for what you want, it will download all the sources, and compile everything.. very nice.
How to set up LAMP ? What is the purpose of doing this ? i am a IT student who want to learn to set up LAMP.
You lost me... you want to know how to setup LAMP on your Linux box, but you don't know what the purpose of LAMP is ? Why would you bother setting something up if you don't even know what it's for ?
How to set up LAMP ? What is the purpose of doing this ? Sorry for stupid questions because i am a IT student who want to learn to set up LAMP. I have Fedora 7 install in my hard disk.
Thanks for your help. I really need your help. Your help is greatly appreciated by me and others.
Hello Peter,
LAMP - extension is Linux Apache Mysql and PHP and it is best suited for those who want to run web applications and it's totally free. please have a look at the following thread which already discussed by our members
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.