LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 05-15-2007, 08:00 AM   #1
tonguim
LQ Newbie
 
Registered: Jan 2006
Posts: 3

Rep: Reputation: 0
deb 4.0: how to install apache2, mysql 4.1, php 4 and phpmyadmin


Hi all,

i've just installed debian 4.0. Can someone tell me command line to install apache2, mysql 4.1, php 4, and phpmyadmin, libapache2 and all the necessaries modules? I was using debian 3.1 before: it seems that there is a difference (maybe a bit) between debian 3.1 and debian 4.0 commands; i couldn't find lot of support on internet because the version 4.0 came out only a few days ago, i guess? Thank you.
 
Old 05-15-2007, 09:43 AM   #2
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 53
I think the 4.0 and higher version of debian do not use mysql-server-4.1 anymore.
 
Old 05-15-2007, 02:40 PM   #3
BillyGalbreath
Member
 
Registered: Nov 2005
Location: Houston Texas
Distribution: Debian Sid
Posts: 379

Rep: Reputation: 31
Code:
apt-get install mysql-server-4.1 apache2 php4 libapache2-mod-php4 php4-mysql
All dependencies will be installed by default, just say "y" when it asks.

Honestly though, I would recommend using PHP5 and MySQL5.

Last edited by BillyGalbreath; 05-15-2007 at 02:41 PM.
 
Old 05-16-2007, 02:19 PM   #4
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 53
Quote:
Package: mysql-server-4.1
Depends: mysql-server-5.0
Size: 46708
Description: mysql database server (transitional package)
MySQL is a fast, stable and true multi-user, multi-threaded SQL database
server. SQL (Structured Query Language) is the most popular database query
language in the world. The main goals of MySQL are speed, robustness and
ease of use.
.
This is an empty transitional package and can safely be removed.
It pulls mysql-server 5
 
Old 05-16-2007, 02:52 PM   #5
BillyGalbreath
Member
 
Registered: Nov 2005
Location: Houston Texas
Distribution: Debian Sid
Posts: 379

Rep: Reputation: 31
Quote:
Originally Posted by nx5000
It pulls mysql-server 5
I did not notice that. I guess it helps to read into things a little more than just the serface lol!
 
Old 10-23-2007, 10:53 AM   #6
adrigo
LQ Newbie
 
Registered: Oct 2007
Posts: 17

Rep: Reputation: 0
help

Quote:
Originally Posted by BillyGalbreath View Post
Code:
apt-get install mysql-server-4.1 apache2 php4 libapache2-mod-php4 php4-mysql
All dependencies will be installed by default, just say "y" when it asks.

Honestly though, I would recommend using PHP5 and MySQL5.
My Friend I try to do it for this way but I have a problem whem I try to do this apt-get install mysql-server-4.1 apache2 php4 libapache2-mod-php4 php4-mysql it install the mysql-server-5 as dependecie do you know how to install the version 4 and not install version 5.
 
Old 10-23-2007, 11:28 AM   #7
Dutch Master
Senior Member
 
Registered: Dec 2005
Posts: 1,684

Rep: Reputation: 124Reputation: 124
Read through the thread, ok? Debian Etch doesn't have version 4 anymore, but for compatability reasons maintain a link from v4 to v5. So you get the latest version instead of the older, less secure package...

Btw, it's considered 'not done' to kick a 6 month old thread...
 
Old 10-23-2007, 01:22 PM   #8
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,652

Rep: Reputation: 536Reputation: 536Reputation: 536Reputation: 536Reputation: 536Reputation: 536
Quote:
Originally Posted by Dutch Master View Post
Btw, it's considered 'not done' to kick a 6 month old thread...
Well, at least his reply was directly on topic..
 
Old 11-06-2007, 06:30 AM   #9
adrigo
LQ Newbie
 
Registered: Oct 2007
Posts: 17

Rep: Reputation: 0
So dont have a way to install mysql-server-4.1 becouse I have a software here in my colege and it dont work well with version 5 of mysql-server-5.0
 
Old 11-06-2007, 08:25 AM   #10
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 53
There are probably good reasons if debian is not maintaining it anymore. Either it's too complicated, not usefull, easy for webdevelopper to port their php from 4->5 or there are security problems.

I guess you can always take the source from php homepage and compile it yourself but it could be easier, secure and much cleaner to change the php from 4->5. Maybe there are some tutorial to port apps from 4 to 5.
 
Old 11-09-2007, 11:39 AM   #11
LeLutin
LQ Newbie
 
Registered: Sep 2007
Distribution: Debian, Ubuntu
Posts: 5

Rep: Reputation: 0
PHP 4 is near abandoning from support. PHP 5 is the version pushed by the developers and your PHP4 code should normally run well even with version 5 so in my opinion, you should install the latest version of php.

for mysql, you can probably download a package somewhere. on the mysql page, you can grab version 4.1 of the server but unfortunately, they don't have a .deb. you could either compile from souces or use alien to convert the RPM into a .deb. for the second method, I really don't know if it will integrate well with apache on debian.

http://dev.mysql.com/downloads/mysql/4.1.html
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
install Apache, MySQL, PHP, and phpMyAdmin for offline use? Kandiman Ubuntu 4 03-01-2007 02:35 PM
how to install apache2-threaded-dev_2.0.54-5_i386.deb thisObject Linux - Software 5 04-18-2006 10:47 AM
mysql/php/phpmyadmin/utf8 kenji1903 Linux - Software 6 09-03-2005 07:36 AM
AS 3 w/ PHP, MySQL, and Apache2 pollardw Red Hat 1 02-23-2004 09:47 PM
How do I know that apache, MySql, PHP, phpMyAdmin is Installed AskMe Linux - Newbie 7 02-04-2004 06:27 PM


All times are GMT -5. The time now is 06:04 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration