View previous topic :: View next topic |
Author |
Message |
carpman Advocate
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 |
|
|
adaptr Watchman
Joined: 06 Oct 2002 Posts: 6730 Location: Rotterdam, Netherlands
|
Posted: Tue Aug 03, 2004 8:35 pm Post subject: |
|
|
mod_php, most likely _________________ >>> emerge (3 of 7) mcse/70-293 to /
Essential tools: gentoolkit eix profuse screen |
|
Back to top |
|
|
carpman Advocate
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 |
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 |
|
|
adaptr Watchman
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 |
|
|
nobspangle Veteran
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 |
|
|
Runny n00b
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 |
|
|
|