LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   deb 4.0: how to install apache2, mysql 4.1, php 4 and phpmyadmin (https://www.linuxquestions.org/questions/debian-26/deb-4-0-how-to-install-apache2-mysql-4-1-php-4-and-phpmyadmin-554023/)

tonguim 05-15-2007 07:00 AM

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.

nx5000 05-15-2007 08:43 AM

I think the 4.0 and higher version of debian do not use mysql-server-4.1 anymore.

BillyGalbreath 05-15-2007 01:40 PM

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.

nx5000 05-16-2007 01:19 PM

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

BillyGalbreath 05-16-2007 01:52 PM

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!

adrigo 10-23-2007 09:53 AM

help
 
Quote:

Originally Posted by BillyGalbreath (Post 2750033)
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.

Dutch Master 10-23-2007 10:28 AM

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...

AlucardZero 10-23-2007 12:22 PM

Quote:

Originally Posted by Dutch Master (Post 2933779)
Btw, it's considered 'not done' to kick a 6 month old thread...

Well, at least his reply was directly on topic..

adrigo 11-06-2007 05:30 AM

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

nx5000 11-06-2007 07:25 AM

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.

LeLutin 11-09-2007 10:39 AM

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


All times are GMT -5. The time now is 04:40 PM.