Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Install Apache with php mysql
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
cmuench
Tux's lil' helper
Tux's lil' helper


Joined: 04 Jan 2005
Posts: 110

PostPosted: Wed Sep 28, 2005 4:07 pm    Post subject: Install Apache with php mysql Reply with quote

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
View user's profile Send private message
exklusve
Apprentice
Apprentice


Joined: 23 Aug 2002
Posts: 270
Location: currently ~/

PostPosted: Wed Sep 28, 2005 5:06 pm    Post subject: Reply with quote

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
View user's profile Send private message
cmuench
Tux's lil' helper
Tux's lil' helper


Joined: 04 Jan 2005
Posts: 110

PostPosted: Wed Sep 28, 2005 7:28 pm    Post subject: Reply with quote

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
View user's profile Send private message
nobspangle
Veteran
Veteran


Joined: 23 Mar 2004
Posts: 1318
Location: Manchester, UK

PostPosted: Wed Sep 28, 2005 8:29 pm    Post subject: Reply with quote

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
View user's profile Send private message
cmuench
Tux's lil' helper
Tux's lil' helper


Joined: 04 Jan 2005
Posts: 110

PostPosted: Wed Sep 28, 2005 11:24 pm    Post subject: Reply with quote

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
View user's profile Send private message
kyleisme
n00b
n00b


Joined: 03 Aug 2005
Posts: 2

PostPosted: Wed Sep 28, 2005 11:46 pm    Post subject: Reply with quote

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
View user's profile Send private message
llongi
Retired Dev
Retired Dev


Joined: 15 Apr 2004
Posts: 459
Location: Switzerland

PostPosted: Thu Sep 29, 2005 4:02 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum