Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
phpmyadmin
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
carpman
Advocate
Advocate


Joined: 20 Jun 2002
Posts: 2202
Location: London - UK

PostPosted: Tue Aug 03, 2004 8:30 pm    Post subject: phpmyadmin Reply with quote

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


Joined: 06 Oct 2002
Posts: 6730
Location: Rotterdam, Netherlands

PostPosted: Tue Aug 03, 2004 8:35 pm    Post subject: Reply with quote

mod_php, most likely ;-)
_________________
>>> emerge (3 of 7) mcse/70-293 to /
Essential tools: gentoolkit eix profuse screen
Back to top
View user's profile Send private message
carpman
Advocate
Advocate


Joined: 20 Jun 2002
Posts: 2202
Location: London - UK

PostPosted: Wed Aug 04, 2004 11:01 am    Post subject: Reply with quote

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


Joined: 06 Oct 2002
Posts: 6730
Location: Rotterdam, Netherlands

PostPosted: Wed Aug 04, 2004 12:22 pm    Post subject: Reply with quote

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


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

PostPosted: Wed Aug 04, 2004 12:36 pm    Post subject: Reply with quote

and
Code:
APACHE_OPTS="-D PHP4"

in your /etc/conf.d/apache2
Back to top
View user's profile Send private message
Runny
n00b
n00b


Joined: 11 Mar 2003
Posts: 19
Location: Fairfield, NJ

PostPosted: Tue Aug 17, 2004 12:56 am    Post subject: Reply with quote

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
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