Valhalla Legends Archive

Programming => Web Development => Topic started by: Meh on July 03, 2004, 10:45 AM

Title: PHP/MySQL/Apache
Post by: Meh on July 03, 2004, 10:45 AM
Does anybody know an installer for these all in one, other than PHPTriad or EasyPHP as they are not working? Thanks.
Title: Re:PHP/MySQL/Apache
Post by: j0k3r on July 03, 2004, 05:59 PM
PHPDev, It doesn't include MySQL, you need a seperate program for that.

Added: Apache is used as a PHP interpreter I believe, so those two go hand-in-hand, while you need a seperate program to run MySQL (I believe).
Title: Re:PHP/MySQL/Apache
Post by: Tuberload on July 03, 2004, 11:02 PM
It is not too hard to individually install them if you follow the directions that come with.
Title: Re:PHP/MySQL/Apache
Post by: Banana fanna fo fanna on July 04, 2004, 03:39 PM
It's really not too hard at all:

su
fetch http://someapachemirror.org/apache-version.tar.gz
tar xvfz apache-version.tar.gz
cd apache-version.tar.gz
./configure
make
make install
cd ..
fetch http://phpmirror.net/php-version.tar.gz
tar xvfz php-version.tar.gz
cd php-version
./configure
make
make install
cd ..
fetch http://mysqlmirror.org/mysql-version.tar.gz
tar xvfz mysql-version.tar.gz
cd mysql-version
make
make install


Or, if you were on FreeBSD (which you should be ;))

su
pkg_add -rv apache
pkg_add -rv php
pkg_add -rv mysql

w00t!
Title: Re:PHP/MySQL/Apache
Post by: Thing on July 05, 2004, 01:40 PM
Don't forget to initialize Apache and MySQL in your startup scripts.
Title: Re:PHP/MySQL/Apache
Post by: Meh on July 05, 2004, 01:41 PM
I got it working, but what do you mean by initialize it in the startup, I can connect and retrieve data.
Title: Re:PHP/MySQL/Apache
Post by: Banana fanna fo fanna on July 05, 2004, 02:36 PM
ah, right

put them in your startup file/dir, either /etc/rc.local, /usr/local/etc/rc.d/, or /etc/rc.d/
Title: Re:PHP/MySQL/Apache
Post by: Meh on July 05, 2004, 03:55 PM
Should have mentioned I am running Windows XP for the next 2 weeks. Everythings fine though now thanks. I get a server in 2 weeks that runs Unix.
Title: Re:PHP/MySQL/Apache
Post by: Thing on July 05, 2004, 04:00 PM
QuoteShould have mentioned I am running Windows XP for the next 2 weeks.
There's no need to bore us with mundane details such as what OS you are running.  We can easily read your mind and formulate the correct answer.  Knowing that you will soon realize Linux or BSD is the best way to go, we gave you the appropriate answers.

Oh and in reply to your next post, "You're Welcome".
Title: Re:PHP/MySQL/Apache
Post by: Banana fanna fo fanna on July 05, 2004, 05:59 PM
FreeBSD is so ridiculously easy.
Title: Re:PHP/MySQL/Apache
Post by: Meh on July 06, 2004, 02:15 AM
My mums boyfriend works closley with sun so hes getting me a Solaries(spelt wrong) server and a copy of unix. Where can i get BSD though please? Thanks.
Title: Re:PHP/MySQL/Apache
Post by: Maddox on July 06, 2004, 02:47 AM
Quote from: $t0rm on July 05, 2004, 05:59 PM
FreeBSD is so ridiculously easy.

Gentoo is even easier!
emerge -k apache mod_php mysql
w00t!
Title: Re:PHP/MySQL/Apache
Post by: muert0 on July 06, 2004, 03:00 AM
Quote from: Meh on July 06, 2004, 02:15 AM
My mums boyfriend works closley with sun so hes getting me a Solaries(spelt wrong) server and a copy of unix. Where can i get BSD though please? Thanks.
Come on now:
http://www.google.com/search?hl=en&ie=UTF-8&q=bsd&btnG=Google+Search (http://www.google.com/search?hl=en&ie=UTF-8&q=bsd&btnG=Google+Search)
http://linuxiso.org/