View previous topic :: View next topic |
Author |
Message |
cmuench Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 04 Jan 2005 Posts: 110
|
Posted: Wed Sep 28, 2005 4:07 pm Post subject: Install Apache with php mysql |
|
|
I need an apache server with php and mysql
I need some help on doing this.
Any help or guides would be appreciated. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
exklusve Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/Southpark/avatar40.gif)
Joined: 23 Aug 2002 Posts: 270 Location: currently ~/
|
Posted: Wed Sep 28, 2005 5:06 pm Post subject: |
|
|
http://gentoo-wiki.com/HOWTO_Apache2_with_PHP_MySQL
there is one.
this forum is full of how-to's on setting this up..
you should use the search function. _________________ eXklusve
You do know that no one gives a shit about your system spec's right? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
cmuench Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 04 Jan 2005 Posts: 110
|
Posted: Wed Sep 28, 2005 7:28 pm Post subject: |
|
|
I did follow that tutorial and nothing helped. I really need to get this up and running. I also did a search and nothing turned up ther to |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
nobspangle Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/210249061640b0c1d626f5b.gif)
Joined: 23 Mar 2004 Posts: 1318 Location: Manchester, UK
|
Posted: Wed Sep 28, 2005 8:29 pm Post subject: |
|
|
make sure you have mysql in your use flags and install with
Code: | emerge apache mysql php mod_php |
Then start up mysql
Code: | mysql_install_db
/etc/init.d/mysql start
rc-update add mysql default |
add
-D PHP4
to your apache2 options in /etc/conf.d/apache2
then fire up apache with
Code: | /etc/init.d/apache2 start
rc-update add apache2 default |
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
cmuench Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 04 Jan 2005 Posts: 110
|
Posted: Wed Sep 28, 2005 11:24 pm Post subject: |
|
|
When I went to do the emerge apache mysql php mod_php
It asked which php do I wnat
dev-lang/php
dev-php/php
Which one do I want to install? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
kyleisme n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 03 Aug 2005 Posts: 2
|
Posted: Wed Sep 28, 2005 11:46 pm Post subject: |
|
|
Using the esearch tool,
dev-php/php appears to be the 4.4 version of php
and dev-lang/php appears to be the 5.0 of php
Currently, I think PHP 4.4 is more widely used, so dev-php/php (PHP 4.4) might be the best choice for now |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
llongi Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
![](images/avatars/184080807144bbbda6eff29.gif)
Joined: 15 Apr 2004 Posts: 459 Location: Switzerland
|
Posted: Thu Sep 29, 2005 4:02 pm Post subject: |
|
|
Nope.
dev-php/php is the old version of the PHP ebuilds, only 4.X versions available.
dev-lang/php is the new version of the PHP ebuilds, both 4.X and 5.X versions of PHP are available in this case, and it will sobstitute dev-php/php by January (dev-php/php, dev-php/php-cgi and dev-php/mod_php will be gone from the tree and only dev-lang/php will remain, wich holds the functionality of all three previous ebuilds controlled by USE flags).
Best regards, CHTEKK. _________________ Best regards, Luca. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|