Forums

Skip to content

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

Apache and php - php is dead

Having problems getting connected to the internet or running a server? Wondering about securing your box? Ask here.
Post Reply
Advanced search
6 posts • Page 1 of 1
Author
Message
wojcieh
n00b
n00b
User avatar
Posts: 53
Joined: Sat Mar 04, 2006 1:08 am
Location: Poland/Rzeszow

Apache and php - php is dead

  • Quote

Post by wojcieh » Fri Jun 01, 2007 7:34 pm

Hi

I have got Lamp server - apache 2.0.58-r2 & php 5.2.2-r1.
My make.conf

Code: Select all

CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
LANGUAGE=48
LINGUAS="pl"
AUTOCLEAN = "yes"
PORTAGE_NICENESS="19"
CLEAN_DELAY = 10
USE="slang apache2 authdaemond ctype curl fam gd -gnome imlib kde mysql png sasl truetype X -smtp pcre dynamicplugin jpeg innodb perl php "
GENTOO_MIRRORS="ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://files.gentoo.org ftp://ftp.nyx.hu/gentoo ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://cesium.di.uminho.pt/pub/gentoo/ ftp://gentoo.po.opole.pl "

SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
emerge --info

Code: Select all

Portage 2.1.2.7 (default-linux/x86/2006.1, gcc-4.1.2, glibc-2.5-r3, 2.6.19-gentoo-r5 i686)
=================================================================
System uname: 2.6.19-gentoo-r5 i686 Pentium III (Katmai)
Gentoo Base System release 1.12.9
Timestamp of tree: Wed, 30 May 2007 20:20:01 +0000
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://files.gentoo.org ftp://ftp.nyx.hu/gentoo ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://cesium.di.uminho.pt/pub/gentoo/ ftp://gentoo.po.opole.pl "
LANG="pl_PL"
LC_ALL="pl_PL"
LINGUAS="pl"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X apache2 authdaemond berkdb bitmap-fonts cli cracklib crypt ctype cups curl dri dynamicplugin fam fortran gd gdbm gpm iconv imlib innodb ipv6 isdnlog jpeg kde libg++ midi mudflap mysql ncurses nls nptl nptlonly openmp pam pcre perl php png ppds pppd python readline reflection sasl session slang spl ssl tcpd truetype truetype-fonts type1-fonts unicode x86 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt mach64 mga neomagic nsc nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
/etc/conf.d/apache2 enabled

Code: Select all

APACHE2_OPTS="-D DEFAULT_VHOST -D PHP5"
I was trying unmerge apache & php then merge again, also I was trying emerge apache using USE="php" emerge apache and still apache is dead.

Why php is dead? When I am trying to view phpinfo.php with content like this

Code: Select all

<?php phpinfo(); ?>
i get only this <?php phpinfo(); ?> . Phpmyadmin is also dead :roll:

Any sugestions ?
http://wojcieh.net
Top
kaktuspalme
n00b
n00b
Posts: 29
Joined: Sun Apr 23, 2006 8:12 pm

  • Quote

Post by kaktuspalme » Fri Jun 01, 2007 10:03 pm

look at /etc/conf.d/apache2

dou you have APACHE2_OPTS= with "-D PHP5" enabled?
Top
wojcieh
n00b
n00b
User avatar
Posts: 53
Joined: Sat Mar 04, 2006 1:08 am
Location: Poland/Rzeszow

  • Quote

Post by wojcieh » Fri Jun 01, 2007 10:05 pm

sure I wrote that fact ;)
http://wojcieh.net
Top
Mben
Guru
Guru
Posts: 465
Joined: Mon Mar 29, 2004 10:28 pm
Location: New York, USA
Contact:
Contact Mben
Website

  • Quote

Post by Mben » Fri Jun 01, 2007 10:25 pm

I find that every time apache updates I have to rebuild PHP (I'm not sure if you have already tried this or not but the sequence I find works is to emerge apache then emerge php)
Top
wojcieh
n00b
n00b
User avatar
Posts: 53
Joined: Sat Mar 04, 2006 1:08 am
Location: Poland/Rzeszow

  • Quote

Post by wojcieh » Sat Jun 02, 2007 6:53 am

I already reemerged php but I will try to do this again. Maybe this time it will help ;)
http://wojcieh.net
Top
wojcieh
n00b
n00b
User avatar
Posts: 53
Joined: Sat Mar 04, 2006 1:08 am
Location: Poland/Rzeszow

  • Quote

Post by wojcieh » Sat Jun 02, 2007 8:00 am

Reemerging php didn't help. Php is still dead
http://wojcieh.net
Top
Post Reply

6 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 Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic