Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Networking & Security
  • Search

[solved] Apache - PHP problems...!

Having problems getting connected to the internet or running a server? Wondering about securing your box? Ask here.
Post Reply
Advanced search
8 posts • Page 1 of 1
Author
Message
encase
n00b
n00b
User avatar
Posts: 55
Joined: Mon Oct 25, 2004 4:26 pm
Location: Switzerland
Contact:
Contact encase
Website

[solved] Apache - PHP problems...!

  • Quote

Post by encase » Thu Oct 28, 2004 11:01 am

I'm trying to setup a vhost mailserver with phpmyadmin support. Howto is here http://www.gentoo.org/doc/en/virt-mail-howto.xml?style=printable

Also followed this Instructions: http://forums.gentoo.org/viewtopic.php? ... apache+php

Everytime when i try to access the phpmyadmin page, the browser wants to save the page instead of showing it.
I'm new to apache and php, so I don't know how to solve this problem. Would be great, if someone could help me out...

encase
Last edited by encase on Wed Jul 27, 2005 5:40 am, edited 1 time in total.
Top
Vulpes_Vulpes
Apprentice
Apprentice
User avatar
Posts: 264
Joined: Wed Dec 10, 2003 9:33 am
Location: Amsterdam

  • Quote

Post by Vulpes_Vulpes » Thu Oct 28, 2004 11:13 am

Are you sure you loaded apache with PHP support?

Code: Select all

# nano -w /etc/conf.d/apache2 
APACHE_OPTS="-D SSL -D PHP4"
What output do you see when you:
http://localhost/phpinfo.php

Duplicate: http://forums.gentoo.org/viewtopic.php? ... highlight=
Top
encase
n00b
n00b
User avatar
Posts: 55
Joined: Mon Oct 25, 2004 4:26 pm
Location: Switzerland
Contact:
Contact encase
Website

  • Quote

Post by encase » Thu Oct 28, 2004 11:18 am

Yes, I've uncommented this line:

APACHE_OPTS="-D SSL -D PHP4"

---------------
http://fqdn/phpinfo.php shows nothing : page not found!
Top
encase
n00b
n00b
User avatar
Posts: 55
Joined: Mon Oct 25, 2004 4:26 pm
Location: Switzerland
Contact:
Contact encase
Website

  • Quote

Post by encase » Thu Oct 28, 2004 11:51 am

So i created a testfile for php (found in apache book) called phpinfo.php

When I'm trying to access this page, the browser wants to save it.
Top
encase
n00b
n00b
User avatar
Posts: 55
Joined: Mon Oct 25, 2004 4:26 pm
Location: Switzerland
Contact:
Contact encase
Website

Solved!!

  • Quote

Post by encase » Thu Oct 28, 2004 12:04 pm

So the problem is solved!! There was something missing in my apache.conf file. Now I've added theme. I should have read the complete Discussion of the apache-Howto.

Thanks anyway....

encase
Top
Albert_Alligator
Apprentice
Apprentice
User avatar
Posts: 193
Joined: Wed May 12, 2004 3:09 pm
Location: Okefenokee Swamp
Contact:
Contact Albert_Alligator
Website

Re: Solved!!

  • Quote

Post by Albert_Alligator » Sun Aug 07, 2005 3:09 pm

encase wrote:So the problem is solved!! There was something missing in my apache.conf file. Now I've added theme. I should have read the complete Discussion of the apache-Howto.

Thanks anyway....

encase
Well, what was it...because now its plaguing me. What was your solution?

This type of post isn't helpful in the forums and shouldn't even be made. If you solve your problem, please add your solution to the thread. Just putting <SOLVED> in the title and not including a solution is just bad form.

Al
As Socrates once said "I drank what?"
Top
encase
n00b
n00b
User avatar
Posts: 55
Joined: Mon Oct 25, 2004 4:26 pm
Location: Switzerland
Contact:
Contact encase
Website

  • Quote

Post by encase » Tue Aug 09, 2005 10:27 pm

ok, first of all check everything two times!! especially the installed mod_php version. and add the correct entries in the httpd.conf file.

- set the correct php extension :: e.g. -PHP4 or -PHP5
- set the correct link to the php libraries.

btw. check the apache logs, there should be some useful info. you can post it, if you something weird..
look to the master :: follow the master :: walk with the master :: see through the master :: become the master
Top
andreask
Apprentice
Apprentice
Posts: 282
Joined: Tue Sep 09, 2003 1:17 pm
Location: Aachen, Germany

  • Quote

Post by andreask » Wed Aug 10, 2005 1:42 am

There is also a project-page for the new php-ebuilds: http://svn.gnqs.org/projects/gentoo-php-overlay/

There you can find an updated version of the installation instructions based on the forum thread you mentioned: http://svn.gnqs.org/projects/gentoo-php ... allOverlay
Top
Post Reply

8 posts • Page 1 of 1

Return to “Networking & Security”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Authors
Gentoo is a trademark of the Gentoo Foundation, Inc. and of Förderverein Gentoo e.V.
The contents of this document, unless otherwise expressly stated, are licensed under the CC-BY-SA-4.0 license.
The Gentoo Name and Logo Usage Guidelines apply.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy