Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Apache, MySql, PHP installation
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
Adamkrier
n00b
n00b


Joined: 25 Apr 2004
Posts: 5
Location: Cincinnati

PostPosted: Thu Jul 29, 2004 9:46 pm    Post subject: Apache, MySql, PHP installation Reply with quote

I'm currently emerging samba, which i noticed also takes care of downloading and installing mysql.

When I emerge apache, how can i go about including php and mysql support?

do i need to emerge php separately?

is there somewhere i can get good documenation on configuring samba, php, mysql, apache?
these forums are about the best i've found.

thanks in advance
_________________
Smile and nod
Back to top
View user's profile Send private message
intgr
Apprentice
Apprentice


Joined: 23 Jun 2004
Posts: 225
Location: Earth, Sol, Milky Way

PostPosted: Thu Jul 29, 2004 10:00 pm    Post subject: Re: Apache, MySql, PHP installation Reply with quote

Adamkrier wrote:
I'm currently emerging samba, which i noticed also takes care of downloading and installing mysql.
When I emerge apache, how can i go about including php and mysql support?

Yes, samba has the 'mysql' USE flag activated. USE flags are one of the biggest advantages of Gentoo. They are described in depth at Gentoo Handbook -> USE flags

Adamkrier wrote:
do i need to emerge php separately?

Yes. If you want to use it with apache, you probably only need to emerge 'mod_php'.
Adamkrier wrote:

is there somewhere i can get good documenation on configuring samba, php, mysql, apache?

After doing a quick search on the forum, I couldn't come up with anything better than Apache-php-mySQL how-to / install guide?, which actually contains no HOWTO. :( However, the Apache/PHP/MySQL configuration files usually have extensive documentation.
If that's not enough, you should search the Gentoo forums or Google.
For specific information, you can also check out the Apache docs, PHP installation docs. The MySQL installation shouldn't be more than commenting the 'skip-networking' line, and ofcourse configuring your users and databases, which you can do with the graphical MySQL frontends out there.

If you've tried anything above and still can't figure it out, feel free to create a new thread on the Gentoo forums.
Back to top
View user's profile Send private message
Mousee
Apprentice
Apprentice


Joined: 29 Mar 2004
Posts: 291
Location: Illinois, USA

PostPosted: Fri Jul 30, 2004 1:23 am    Post subject: Reply with quote

I use the following guide as a reference to installing apache with php
support (which also installs php): Installing Apache and PHP
(I skipped the first ebuild portion of that guide tho, as it's rather
pointless imo).

As to mysql support, apache doesn't access mysql directly, and therefore
no support is needed that I know of. Just emerge and configure it
to your liking, and it should work just fine ;)

Also, the USE flags that integor mentioned should work just fine
as well, I just like the above method better.
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