LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices


Reply
  Search this Thread
Old 10-31-2005, 01:29 AM   #1
librano
Member
 
Registered: Jul 2004
Location: Here, there and everywhere.
Distribution: Arch+KDE, Linux Mint Fluxbox CE
Posts: 163

Rep: Reputation: 31
apache 2, php 5 and mysql 5 install and configure


hi all!

i am trying to build a website which accesses a database... i am running mandriva 2005 LE... i have decided after a bit of reading that apache 2, php 5 and mysql 5 will be ideal.

the problem in mandriva is that i can get all of the components ie apache php and mysql in the versions i want but when i try to install php 5 using Mandrake Control Centre (MCC) it needs to install mysql 4... i need to use mysql 5 for the newer features is has... mysql 4 is not an option.

i have already installed apache 2 and mysql 5 using MCC... i have downloaded php 5 source code from the php site... i am pretty new to this so i guess i'll need some help here... dont want to mess it up just yet. all the sites i have searched i found instructions to install php5 with mysql 4.

can somebody help me out to install php 5 from source code properly so that i can configure it to work with apache 2 and mysql5? even a link to a how to or tutorial will be fine...

thanks a mill

librano
 
Old 11-01-2005, 03:35 AM   #2
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
There are instructions for doing this on the php site in the documentation section.
 
Old 11-01-2005, 06:24 AM   #3
chenglim
LQ Newbie
 
Registered: Jan 2005
Posts: 18

Rep: Reputation: 0
./configure || make || make install
 
Old 11-13-2005, 05:52 AM   #4
librano
Member
 
Registered: Jul 2004
Location: Here, there and everywhere.
Distribution: Arch+KDE, Linux Mint Fluxbox CE
Posts: 163

Original Poster
Rep: Reputation: 31
solved!

hi all

found this http://www.hostlibrary.com/installin...l_php_on_linux its actually for apache 2, my sql 4 and php 4... but is just changed the version numbers .... esp in the config of apache2 where u have to add the LoadModule line... change php4 for php5...

works well so far...

apacha 2 mysql 5 and php5!!!

yipeee..

thanks for the help... (wasnt much tho :P )

take care
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache, PHP, MySQL Install SpiderIRE Linux - Software 3 10-03-2005 04:50 AM
how do i install apache php and mysql ashokn Linux - Software 2 04-30-2004 06:20 AM
Configure Apache, PHP and MySQL on RedHat 9.0 siripr Linux - Newbie 2 10-21-2003 02:35 PM
How do i configure RH-9, apache 2.0, php and mysql rolling_titan Linux - General 4 10-18-2003 06:56 AM
How do I find and install MySQL/Apache/PHP? jefx Linux - Software 3 04-26-2003 04:33 PM

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 09:01 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration