Jump to content


Photo

Installing LAMP on Fedora Core 4


  • Please log in to reply
5 replies to this topic

#1 Tetsuo75

Tetsuo75

    stranger

  • Members
  • 5 posts

Posted 21 May 2006 - 12:04 AM

Anybody can advise me on how to get a successful Mysql,PHP and apache webserver up and running on my Fedora Core 4? By default, FC4 does not run mysql, and although I have installed the respective packages, I still cannot get mysql to run with php.

Is there a need to configure and make install for php to run mysql? I've just recovered from a faulty Ubuntu system and now facing yet another hurdle with FC4.

Thanks for any help in advance!

#2 danleff

danleff

    Carpal Tunnel

  • Moderators
  • 2903 posts

Posted 21 May 2006 - 08:28 AM

Any reason why you are not trying Fedora Core 5?

In any case, look at the Fedora Core 5 Linux Installation Notes under the relevent sections for Apache and MySQL. See if these help.

#3 Tetsuo75

Tetsuo75

    stranger

  • Members
  • 5 posts

Posted 22 May 2006 - 01:26 AM

Thanks dan, once again to my rescue..

Well, to your question, I only have the ISOs to Fedora Core 4, thus I installed it, without knowing php5 does not has built-in support for mySql. Also, even after manually installing mysql on FC4,and running http-devel for updates, then when I ran a phpinfo check on apache, it still shows compiling details with no mysql. I found an article:http://www.howtoforg...edora_core_4_p4 that helps to recompile php, but I guess I do not have the right compile tools, cos when I did it,my error lines indicates something that I need flex and bison. I wonder how can I get those stuff?

I'm currently running apache2,php5.1.2 and mysql

If this doesn't get solved, i'd prob switch to FC5.

Regards
*Correction, the url should be http://fedoranews.org/cms/node/411


#4 danleff

danleff

    Carpal Tunnel

  • Moderators
  • 2903 posts

Posted 22 May 2006 - 02:40 AM

You can get flex and bison from the installation CD disks. Go to the add/remove software utility from within Fedora and do a search for these packages. All the packages that you need should be on the disks, including Mysql and PHP. Do you know how to use Fedora's package management system? You can also use yum to install the packages and this will also solve any dependency issues. Use the link that I previously gave you on the installation notes. There is also a section, I see, for Fedora Core 4.

#5 dhankhet

dhankhet

    stranger

  • Members
  • 2 posts

Posted 31 May 2006 - 02:08 PM

Anybody can advise me on how to get a successful Mysql,PHP and apache webserver up and running on my Fedora Core 4? By default, FC4 does not run mysql, and although I have installed the respective packages, I still cannot get mysql to run with php.

Is there a need to configure and make install for php to run mysql? I've just recovered from a faulty Ubuntu system and now facing yet another hurdle with FC4.

Thanks for any help in advance!


#6 danleff

danleff

    Carpal Tunnel

  • Moderators
  • 2903 posts

Posted 31 May 2006 - 05:51 PM

Did you try the instructions on the link that I gave above, or for Fedora Core 4 here.

BTW, the double post that you made with no title will be deleted, as this will make it easier to follow things here.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

IPB Skin By Virteq