View previous topic :: View next topic |
Author |
Message |
carpman Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
Joined: 20 Jun 2002 Posts: 2202 Location: London - UK
|
Posted: Tue Aug 03, 2004 8:30 pm Post subject: phpmyadmin |
|
|
Hello, trying to get phpmyadmin working on local server, have emerge it ok but when i try and access it:
Code: |
http://localhost/phpmyadmin/
|
all i can see is the page code, what am i missing?
cheers _________________ Work Station - 64bit
Gigabyte GA X48-DQ6 Core2duo E8400
8GB GSkill DDR2-1066
SATA Areca 1210 Raid
BFG OC2 8800 GTS 640mb
--------------------------------
Notebook
Samsung Q45 7100 4gb |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
adaptr Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/17218567054377b9b6104ea.jpg)
Joined: 06 Oct 2002 Posts: 6730 Location: Rotterdam, Netherlands
|
Posted: Tue Aug 03, 2004 8:35 pm Post subject: |
|
|
mod_php, most likely ![Wink ;-)](images/smiles/icon_wink.gif) _________________ >>> emerge (3 of 7) mcse/70-293 to /
Essential tools: gentoolkit eix profuse screen |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
carpman Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
Joined: 20 Jun 2002 Posts: 2202 Location: London - UK
|
Posted: Wed Aug 04, 2004 11:01 am Post subject: |
|
|
adaptr wrote: | mod_php, most likely ![Wink ;-)](images/smiles/icon_wink.gif) |
mod_php is installed, is there any setting i should be looking at?
cheers _________________ Work Station - 64bit
Gigabyte GA X48-DQ6 Core2duo E8400
8GB GSkill DDR2-1066
SATA Areca 1210 Raid
BFG OC2 8800 GTS 640mb
--------------------------------
Notebook
Samsung Q45 7100 4gb |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
adaptr Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/17218567054377b9b6104ea.jpg)
Joined: 06 Oct 2002 Posts: 6730 Location: Rotterdam, Netherlands
|
Posted: Wed Aug 04, 2004 12:22 pm Post subject: |
|
|
Yes, you need both
DirectoryIndex index.php
and
AddType application/x-php or some such
to process php scripts properly.
Check the apache and php docs. _________________ >>> emerge (3 of 7) mcse/70-293 to /
Essential tools: gentoolkit eix profuse screen |
|
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 Aug 04, 2004 12:36 pm Post subject: |
|
|
and
Code: | APACHE_OPTS="-D PHP4" |
in your /etc/conf.d/apache2 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Runny n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/11404483923e7b7ed763bdb.jpg)
Joined: 11 Mar 2003 Posts: 19 Location: Fairfield, NJ
|
Posted: Tue Aug 17, 2004 12:56 am Post subject: |
|
|
What you probably did was emerge mod_php without the apache2 USE flag (which doesn't make much sense if you think about it). Add apache2 to your USE flags and re-emerge mod_php. This should set everything up properly for you.
- Runny |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|