473,399 Members | 2,774 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 software developers and data experts.

PHP files not phrased..,

I install apache2 in /usr/local/apache2
and install php5 by ./configure --with-apxs2=/usr/local/apache2/bin/
apxs

PHP is successfully installed in my system.
But now my .php files inside /usr/local/apache2/htdocs doesn't get
phrased.

When I run
suse-10-2:/home/kesavan # php info.php

the info.php gets phrased. The content of info.php is <?php
phpinfo(); ?>

The output in console is
************************************************** ************************************************** ***********************
phpinfo()
PHP Version =5.2.3

System =Linux suse-k7 2.6.18.2-34-default #1 SMP Mon Nov 27 11:46:27
UTC 2006 i686
Build Date =Jun 14 2007 15:08:32
Configure Command = './configure' '--with-apxs2=/usr/local/apache2/
bin/apxs'
Server API =Command Line Interface
Virtual Directory Support =disabled
Configuration File (php.ini) Path =/usr/local/lib
Loaded Configuration File =(none)
PHP API =20041225
PHP Extension =20060613
Zend Extension =220060519
Debug Build =no
Thread Safety =disabled
Zend Memory Manager =enabled
IPv6 Support =enabled
Registered PHP Streams =php, file, data, http, ftp
Registered Stream Socket Transports =tcp, udp, unix, udg
Registered Stream Filters =string.rot13, string.toupper,
string.tolower, string.strip_tags, convert.*, consumed,
convert.iconv.*
This program makes use of the Zend Scripting Language Engine:
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies

__________________________________________________ _____________________
Configuration

PHP Core

Directive =Local Value =Master Value
allow_call_time_pass_reference =On =On
allow_url_fopen =On =On
allow_url_include =Off =Off
always_populate_raw_post_data =Off =Off
arg_separator.input =& =&
arg_separator.output =& =&
asp_tags =Off =Off
auto_append_file =no value =no value
auto_globals_jit =On =On
auto_prepend_file =no value =no value
browscap =no value =no value
default_charset =no value =no value
default_mimetype =text/html =text/html
define_syslog_variables =Off =Off
disable_classes =no value =no value
disable_functions =no value =no value
display_errors =On =On
display_startup_errors =Off =Off
doc_root =no value =no value
docref_ext =no value =no value
docref_root =no value =no value
enable_dl =On =On
error_append_string =no value =no value
error_log =no value =no value
error_prepend_string =no value =no value
error_reporting =no value =no value
expose_php =On =On
extension_dir =/usr/local/lib/php/extensions/no-debug-non-
zts-20060613 =/usr/local/lib/php/extensions/no-debug-non-
zts-20060613
file_uploads =On =On
highlight.bg =<font style="color: #FFFFFF">#FFFFFF</font=<font
style="color: #FFFFFF">#FFFFFF</font>
highlight.comment =<font style="color: #FF8000">#FF8000</font=>
<font style="color: #FF8000">#FF8000</font>
highlight.default =<font style="color: #0000BB">#0000BB</font=>
<font style="color: #0000BB">#0000BB</font>
highlight.html =<font style="color: #000000">#000000</font=<font
style="color: #000000">#000000</font>
highlight.keyword =<font style="color: #007700">#007700</font=>
<font style="color: #007700">#007700</font>
highlight.string =<font style="color: #DD0000">#DD0000</font=>
<font style="color: #DD0000">#DD0000</font>
html_errors =Off =Off
ignore_repeated_errors =Off =Off
ignore_repeated_source =Off =Off
ignore_user_abort =Off =Off
implicit_flush =On =On
include_path =.:/usr/local/lib/php =.:/usr/local/lib/php
log_errors =Off =Off
log_errors_max_len =1024 =1024
magic_quotes_gpc =On =On
magic_quotes_runtime =Off =Off
magic_quotes_sybase =Off =Off
mail.force_extra_parameters =no value =no value
max_execution_time =0 =0
max_input_nesting_level =64 =64
max_input_time =-1 =-1
memory_limit =128M =128M
open_basedir =no value =no value
output_buffering =0 =0
output_handler =no value =no value
post_max_size =8M =8M
precision =14 =14
realpath_cache_size =16K =16K
realpath_cache_ttl =120 =120
register_argc_argv =On =On
register_globals =Off =Off
register_long_arrays =On =On
report_memleaks =On =On
report_zend_debug =Off =Off
safe_mode =Off =Off
safe_mode_exec_dir =/usr/local/php/bin =/usr/local/php/bin
safe_mode_gid =Off =Off
safe_mode_include_dir =no value =no value
sendmail_from =no value =no value
sendmail_path =/usr/sbin/sendmail -t -i =/usr/sbin/sendmail -t -
i
serialize_precision =100 =100
short_open_tag =On =On
SMTP =localhost =localhost
smtp_port =25 =25
sql.safe_mode =Off =Off
track_errors =Off =Off
unserialize_callback_func =no value =no value
upload_max_filesize =2M =2M
upload_tmp_dir =no value =no value
user_dir =no value =no value
variables_order =EGPCS =EGPCS
xmlrpc_error_number =0 =0
xmlrpc_errors =Off =Off
y2k_compliance =On =On
zend.ze1_compatibility_mode =Off =Off

ctype

ctype functions =enabled

date

date/time support =enabled
"Olson" Timezone Database Version =2007.5
Timezone Database =internal
Default timezone =Asia/Calcutta

Directive =Local Value =Master Value
date.default_latitude =31.7667 =31.7667
date.default_longitude =35.2333 =35.2333
date.sunrise_zenith =90.583333 =90.583333
date.sunset_zenith =90.583333 =90.583333
date.timezone =no value =no value

dom

DOM/XML =enabled
DOM/XML API Version =20031129
libxml Version =2.6.28
HTML Support =enabled
XPath Support =enabled
XPointer Support =enabled
Schema Support =enabled
RelaxNG Support =enabled

filter

Input Validation and Filtering =enabled
Revision =$Revision: 1.52.2.39 $

Directive =Local Value =Master Value
filter.default =unsafe_raw =unsafe_raw
filter.default_flags =no value =no value

hash

hash support =enabled
Hashing Engines =md2 md4 md5 sha1 sha256 sha384 sha512 ripemd128
ripemd160 ripemd256 ripemd320 whirlpool tiger128,3 tiger160,3
tiger192,3 tiger128,4 tiger160,4 tiger192,4 snefru gost adler32 crc32
crc32b haval128,3 haval160,3 haval192,3 haval224,3 haval256,3
haval128,4 haval160,4 haval192,4 haval224,4 haval256,4 haval128,5
haval160,5 haval192,5 haval224,5 haval256,5

iconv

iconv support =enabled
iconv implementation =glibc
iconv library version =2.5

Directive =Local Value =Master Value
iconv.input_encoding =ISO-8859-1 =ISO-8859-1
iconv.internal_encoding =ISO-8859-1 =ISO-8859-1
iconv.output_encoding =ISO-8859-1 =ISO-8859-1

json

json support =enabled
json version =1.2.1

libxml

libXML support =active
libXML Version =2.6.28
libXML streams =enabled

pcre

PCRE (Perl Compatible Regular Expressions) Support =enabled
PCRE Library Version =7.0 18-Dec-2006

PDO

PDO support =enabled
PDO drivers =sqlite2, sqlite

pdo_sqlite

PDO Driver for SQLite 3.x =enabled
PECL Module version =(bundled) 1.0.1 $Id: pdo_sqlite.c,v
1.10.2.6.2.2 2007/03/23 14:30:00 wez Exp $
SQLite Library =3.3.17

posix

Revision =$Revision: 1.70.2.3.2.15 $

Reflection

Reflection =enabled
Version =$Id: php_reflection.c,v 1.164.2.33.2.39 2007/05/29 08:44:05
helly Exp $

session

Session Support =enabled
Registered save handlers =files user sqlite
Registered serializer handlers =php php_binary

Directive =Local Value =Master Value
session.auto_start =Off =Off
session.bug_compat_42 =On =On
session.bug_compat_warn =On =On
session.cache_expire =180 =180
session.cache_limiter =nocache =nocache
session.cookie_domain =no value =no value
session.cookie_httponly =Off =Off
session.cookie_lifetime =0 =0
session.cookie_path =/ =/
session.cookie_secure =Off =Off
session.entropy_file =no value =no value
session.entropy_length =0 =0
session.gc_divisor =100 =100
session.gc_maxlifetime =1440 =1440
session.gc_probability =1 =1
session.hash_bits_per_character =4 =4
session.hash_function =0 =0
session.name =PHPSESSID =PHPSESSID
session.referer_check =no value =no value
session.save_handler =files =files
session.save_path =no value =no value
session.serialize_handler =php =php
session.use_cookies =On =On
session.use_only_cookies =Off =Off
session.use_trans_sid =0 =0

SimpleXML

Simplexml support =enabled
Revision =$Revision: 1.151.2.22.2.26 $
Schema support =enabled

SPL

SPL support =enabled
Interfaces =Countable, OuterIterator, RecursiveIterator,
SeekableIterator, SplObserver, SplSubject
Classes =AppendIterator, ArrayIterator, ArrayObject,
BadFunctionCallException, BadMethodCallException, CachingIterator,
DirectoryIterator, DomainException, EmptyIterator, FilterIterator,
InfiniteIterator, InvalidArgumentException, IteratorIterator,
LengthException, LimitIterator, LogicException, NoRewindIterator,
OutOfBoundsException, OutOfRangeException, OverflowException,
ParentIterator, RangeException, RecursiveArrayIterator,
RecursiveCachingIterator, RecursiveDirectoryIterator,
RecursiveFilterIterator, RecursiveIteratorIterator,
RecursiveRegexIterator, RegexIterator, RuntimeException,
SimpleXMLIterator, SplFileInfo, SplFileObject, SplObjectStorage,
SplTempFileObject, UnderflowException, UnexpectedValueException

SQLite

SQLite support =enabled
PECL Module version =2.0-dev $Id: sqlite.c,v 1.166.2.13.2.9
2007/05/19 17:58:22 iliaa Exp $
SQLite Library =2.8.17
SQLite Encoding =iso8859

Directive =Local Value =Master Value
sqlite.assoc_case =0 =0

standard

Regex Library =Bundled library enabled
Dynamic Library Support =enabled
Path to sendmail =/usr/sbin/sendmail -t -i

Directive =Local Value =Master Value
assert.active =1 =1
assert.bail =0 =0
assert.callback =no value =no value
assert.quiet_eval =0 =0
assert.warning =1 =1
auto_detect_line_endings =0 =0
default_socket_timeout =60 =60
safe_mode_allowed_env_vars =PHP_ =PHP_
safe_mode_protected_env_vars =LD_LIBRARY_PATH =LD_LIBRARY_PATH
url_rewriter.tags =a=href,area=href,frame=src,form=,fieldset= =>
a=href,area=href,frame=src,form=,fieldset=
user_agent =no value =no value

tokenizer

Tokenizer Support =enabled

xml

XML Support =active
XML Namespace Support =active
libxml2 Version =2.6.28

xmlreader

XMLReader =enabled

xmlwriter

XMLWriter =enabled

Additional Modules

Module Name

Environment

Variable =Value
LESSKEY =/etc/lesskey.bin
MANPATH =/usr/local/man:/usr/share/man:/usr/X11R6/man:/opt/gnome/
share/man
INFODIR =/usr/local/info:/usr/share/info:/usr/info
NNTPSERVER =news
SSH_AGENT_PID =4168
KDE_MULTIHEAD =false
DM_CONTROL =/var/run/xdmctl
HOSTNAME =suse-k7
XKEYSYMDB =/usr/share/X11/XKeysymDB
GNOME2_PATH =/usr/local:/opt/gnome:/usr
TERM =xterm
SHELL =/bin/bash
HOST =suse-k7
XDM_MANAGED =/var/run/xdmctl/xdmctl-:
0,maysd,mayfn,sched,rsvd,method=classic
HISTSIZE =1000
PROFILEREAD =true
GTK2_RC_FILES =/etc/opt/gnome/gtk-2.0/gtkrc:/opt/gnome/share/themes//
QtCurve/gtk-2.0/gtkrc:/home/avni/.gtkrc-2.0-qtengine:/home/
avni/.gtkrc-2.0:/home/avni/.kde/share/config/gtkrc-2.0
GS_LIB =/home/avni/.fonts
GTK_RC_FILES =/etc/opt/gnome/gtk/gtkrc:/home/avni/.gtkrc:/home/
avni/.kde/share/config/gtkrc
MORE =-sl
WINDOWID =41943047
OLDPWD =/home/avni
XSESSION_IS_UP =yes
KDE_FULL_SESSION =true
USER =avni
JRE_HOME =/usr/lib/jvm/jre
GROFF_NO_SGR =yes
DESKTOP_LAUNCH =kde-open
LS_COLORS =>
no=00:fi=00:di=01;34:ln=00;36:pi=40;33:so=01;35:do =01;35:bd=40;33;01:cd=40;33;01:or=41;33;01:ex=00;3 2:*.cmd=00;32:*.exe=01;32:*.com=01;32:*.bat=01;32: *.btm=01;32:*.dll=01;32:*.tar=00;31:*.tbz=00;31:*. tgz=00;31:*.rpm=00;31:*.deb=00;31:*.arj=00;31:*.ta z=00;31:*.lzh=00;31:*.zip=00;31:*.zoo=00;31:*.z=00 ;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.tb2=00;31:* .tz2=00;31:*.tbz2=00;31:*.avi=01;35:*.bmp=01;35:*. fli=01;35:*.gif=01;35:*.jpg=01;35:*.jpeg=01;35:*.m ng=01;35:*.mov=01;35:*.mpg=01;35:*.pcx=01;35:*.pbm =01;35:*.pgm=01;35:*.png=01;35:*.ppm=01;35:*.tga=0 1;35:*.tif=01;35:*.xbm=01;35:*.xpm=01;35:*.dl=01;3 5:*.gl=01;35:*.wmv=01;35:*.aiff=00;32:*.au=00;32:* .mid=00;32:*.mp3=00;32:*.ogg=00;32:*.voc=00;32:*.w av=00;32:
XNLSPATH =/usr/share/X11/nls
ENV =/etc/bash.bashrc
HOSTTYPE =i386
SSH_AUTH_SOCK =/tmp/ssh-sfWfr4130/agent.4130
FROM_HEADER =>
SESSION_MANAGER =local/suse-k7:/tmp/.ICE-unix/4222
PAGER =less
CSHEDIT =emacs
XDG_CONFIG_DIRS =/usr/local/etc/xdg/:/etc/xdg/:/etc/opt/gnome/xdg/
MINICOM =-c on
KONSOLE_DCOP =DCOPRef(konsole-4529,konsole)
DESKTOP_SESSION =kde
PATH =/home/avni/bin:/usr/local/bin:/usr/bin:/sbin:/usr/X11R6/bin:/
usr/sbin:/bin:/usr/games:/opt/gnome/bin:/opt/kde3/bin:/usr/lib/jvm/jre/
bin:/usr/lib/mit/bin:/usr/lib/mit/sbin
MAIL =/var/spool/mail/avni
CPU =i686
JAVA_BINDIR =/usr/lib/jvm/jre/bin
PWD =/home/avni/Desktop/software/lamp/php-5.2.3/php-5.2.3
INPUTRC =/home/avni/.inputrc
KONSOLE_DCOP_SESSION =DCOPRef(konsole-4529,session-1)
XMODIFIERS =@im=local
JAVA_HOME =/usr/lib/jvm/jre
LANG =en_US.UTF-8
PYTHONSTARTUP =/etc/pythonstart
TEXINPUTS =:/home/avni/.TeX:/usr/share/doc/.TeX:/usr/doc/.TeX
SHLVL =3
HOME =/root
QT_SYSTEM_DIR =/usr/share/desktop-data
OSTYPE =linux
LESS_ADVANCED_PREPROCESSOR =no
XCURSOR_THEME =crystalwhite
LS_OPTIONS =-A -N --color=tty -T 0
WINDOWMANAGER =/usr/bin/dbus-launch --sh-syntax --exit-with-session /
opt/kde3/bin/startkde
GTK_PATH =/usr/local/lib/gtk-2.0:/opt/gnome/lib/gtk-2.0:/usr/lib/
gtk-2.0
LOGNAME =avni
MACHTYPE =i686-suse-linux
LESS =-M -I
G_FILENAME_ENCODING =@locale,UTF-8,ISO-8859-15,CP1252
DBUS_SESSION_BUS_ADDRESS =unix:abstract=/tmp/
dbus-0J4IuYGZgp,guid=60017146d4db354bc5f11a09770e8400
ACLOCAL_FLAGS =-I /opt/gnome/share/aclocal
XDG_DATA_DIRS =/usr/local/share/:/usr/share/:/etc/opt/kde3/share/:/
opt/kde3/share/:/opt/gnome/share/
LESSOPEN =lessopen.sh %s
PKG_CONFIG_PATH =/usr/local/lib/pkgconfig:/usr/local/share/
pkgconfig:/usr/lib/pkgconfig:/usr/share/pkgconfig:/opt/kde3/lib/
pkgconfig:/opt/gnome/lib/pkgconfig:/opt/gnome/lib/pkgconfig:/opt/gnome/
share/pkgconfig
USE_FAM =>
INFOPATH =/usr/local/info:/usr/share/info:/usr/info:/opt/gnome/share/
info
DISPLAY =:0.0
XAUTHLOCALHOSTNAME =suse-k7
LESSCLOSE =lessclose.sh %s %s
G_BROKEN_FILENAMES =1
XAUTHORITY =/root/.xauthmYhNCl
COLORTERM =>
JAVA_ROOT =/usr/lib/jvm/jre
_ =/usr/local/bin/php

PHP Variables

Variable =Value
_SERVER["LESSKEY"] =/etc/lesskey.bin
_SERVER["MANPATH"] =/usr/local/man:/usr/share/man:/usr/X11R6/man:/
opt/gnome/share/man
_SERVER["INFODIR"] =/usr/local/info:/usr/share/info:/usr/info
_SERVER["NNTPSERVER"] =news
_SERVER["SSH_AGENT_PID"] =4168
_SERVER["KDE_MULTIHEAD"] =false
_SERVER["DM_CONTROL"] =/var/run/xdmctl
_SERVER["HOSTNAME"] =suse-k7
_SERVER["XKEYSYMDB"] =/usr/share/X11/XKeysymDB
_SERVER["GNOME2_PATH"] =/usr/local:/opt/gnome:/usr
_SERVER["TERM"] =xterm
_SERVER["SHELL"] =/bin/bash
_SERVER["HOST"] =suse-k7
_SERVER["XDM_MANAGED"] =/var/run/xdmctl/xdmctl-:
0,maysd,mayfn,sched,rsvd,method=classic
_SERVER["HISTSIZE"] =1000
_SERVER["PROFILEREAD"] =true
_SERVER["GTK2_RC_FILES"] =/etc/opt/gnome/gtk-2.0/gtkrc:/opt/gnome/
share/themes//QtCurve/gtk-2.0/gtkrc:/home/avni/.gtkrc-2.0-qtengine:/
home/avni/.gtkrc-2.0:/home/avni/.kde/share/config/gtkrc-2.0
_SERVER["GS_LIB"] =/home/avni/.fonts
_SERVER["GTK_RC_FILES"] =/etc/opt/gnome/gtk/gtkrc:/home/avni/.gtkrc:/
home/avni/.kde/share/config/gtkrc
_SERVER["MORE"] =-sl
_SERVER["WINDOWID"] =41943047
_SERVER["OLDPWD"] =/home/avni
_SERVER["XSESSION_IS_UP"] =yes
_SERVER["KDE_FULL_SESSION"] =true
_SERVER["USER"] =avni
_SERVER["JRE_HOME"] =/usr/lib/jvm/jre
_SERVER["GROFF_NO_SGR"] =yes
_SERVER["DESKTOP_LAUNCH"] =kde-open
_SERVER["LS_COLORS"] =>
no=00:fi=00:di=01;34:ln=00;36:pi=40;33:so=01;35:do =01;35:bd=40;33;01:cd=40;33;01:or=41;33;01:ex=00;3 2:*.cmd=00;32:*.exe=01;32:*.com=01;32:*.bat=01;32: *.btm=01;32:*.dll=01;32:*.tar=00;31:*.tbz=00;31:*. tgz=00;31:*.rpm=00;31:*.deb=00;31:*.arj=00;31:*.ta z=00;31:*.lzh=00;31:*.zip=00;31:*.zoo=00;31:*.z=00 ;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.tb2=00;31:* .tz2=00;31:*.tbz2=00;31:*.avi=01;35:*.bmp=01;35:*. fli=01;35:*.gif=01;35:*.jpg=01;35:*.jpeg=01;35:*.m ng=01;35:*.mov=01;35:*.mpg=01;35:*.pcx=01;35:*.pbm =01;35:*.pgm=01;35:*.png=01;35:*.ppm=01;35:*.tga=0 1;35:*.tif=01;35:*.xbm=01;35:*.xpm=01;35:*.dl=01;3 5:*.gl=01;35:*.wmv=01;35:*.aiff=00;32:*.au=00;32:* .mid=00;32:*.mp3=00;32:*.ogg=00;32:*.voc=00;32:*.w av=00;32:
_SERVER["XNLSPATH"] =/usr/share/X11/nls
_SERVER["ENV"] =/etc/bash.bashrc
_SERVER["HOSTTYPE"] =i386
_SERVER["SSH_AUTH_SOCK"] =/tmp/ssh-sfWfr4130/agent.4130
_SERVER["FROM_HEADER"] =>
_SERVER["SESSION_MANAGER"] =local/suse-k7:/tmp/.ICE-unix/4222
_SERVER["PAGER"] =less
_SERVER["CSHEDIT"] =emacs
_SERVER["XDG_CONFIG_DIRS"] =/usr/local/etc/xdg/:/etc/xdg/:/etc/opt/
gnome/xdg/
_SERVER["MINICOM"] =-c on
_SERVER["KONSOLE_DCOP"] =DCOPRef(konsole-4529,konsole)
_SERVER["DESKTOP_SESSION"] =kde
_SERVER["PATH"] =/home/avni/bin:/usr/local/bin:/usr/bin:/sbin:/usr/
X11R6/bin:/usr/sbin:/bin:/usr/games:/opt/gnome/bin:/opt/kde3/bin:/usr/
lib/jvm/jre/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin
_SERVER["MAIL"] =/var/spool/mail/avni
_SERVER["CPU"] =i686
_SERVER["JAVA_BINDIR"] =/usr/lib/jvm/jre/bin
_SERVER["PWD"] =/home/avni/Desktop/software/lamp/php-5.2.3/php-5.2.3
_SERVER["INPUTRC"] =/home/avni/.inputrc
_SERVER["KONSOLE_DCOP_SESSION"] =DCOPRef(konsole-4529,session-1)
_SERVER["XMODIFIERS"] =@im=local
_SERVER["JAVA_HOME"] =/usr/lib/jvm/jre
_SERVER["LANG"] =en_US.UTF-8
_SERVER["PYTHONSTARTUP"] =/etc/pythonstart
_SERVER["TEXINPUTS"] =:/home/avni/.TeX:/usr/share/doc/.TeX:/usr/
doc/.TeX
_SERVER["SHLVL"] =3
_SERVER["HOME"] =/root
_SERVER["QT_SYSTEM_DIR"] =/usr/share/desktop-data
_SERVER["OSTYPE"] =linux
_SERVER["LESS_ADVANCED_PREPROCESSOR"] =no
_SERVER["XCURSOR_THEME"] =crystalwhite
_SERVER["LS_OPTIONS"] =-A -N --color=tty -T 0
_SERVER["WINDOWMANAGER"] =/usr/bin/dbus-launch --sh-syntax --exit-
with-session /opt/kde3/bin/startkde
_SERVER["GTK_PATH"] =/usr/local/lib/gtk-2.0:/opt/gnome/lib/gtk-2.0:/
usr/lib/gtk-2.0
_SERVER["LOGNAME"] =avni
_SERVER["MACHTYPE"] =i686-suse-linux
_SERVER["LESS"] =-M -I
_SERVER["G_FILENAME_ENCODING"] =@locale,UTF-8,ISO-8859-15,CP1252
_SERVER["DBUS_SESSION_BUS_ADDRESS"] =unix:abstract=/tmp/
dbus-0J4IuYGZgp,guid=60017146d4db354bc5f11a09770e8400
_SERVER["ACLOCAL_FLAGS"] =-I /opt/gnome/share/aclocal
_SERVER["XDG_DATA_DIRS"] =/usr/local/share/:/usr/share/:/etc/opt/
kde3/share/:/opt/kde3/share/:/opt/gnome/share/
_SERVER["LESSOPEN"] =lessopen.sh %s
_SERVER["PKG_CONFIG_PATH"] =/usr/local/lib/pkgconfig:/usr/local/
share/pkgconfig:/usr/lib/pkgconfig:/usr/share/pkgconfig:/opt/kde3/lib/
pkgconfig:/opt/gnome/lib/pkgconfig:/opt/gnome/lib/pkgconfig:/opt/gnome/
share/pkgconfig
_SERVER["USE_FAM"] =>
_SERVER["INFOPATH"] =/usr/local/info:/usr/share/info:/usr/info:/opt/
gnome/share/info
_SERVER["DISPLAY"] =:0.0
_SERVER["XAUTHLOCALHOSTNAME"] =suse-k7
_SERVER["LESSCLOSE"] =lessclose.sh %s %s
_SERVER["G_BROKEN_FILENAMES"] =1
_SERVER["XAUTHORITY"] =/root/.xauthmYhNCl
_SERVER["COLORTERM"] =>
_SERVER["JAVA_ROOT"] =/usr/lib/jvm/jre
_SERVER["_"] =/usr/local/bin/php
_SERVER["PHP_SELF"] =/usr/local/apache2/htdocs/info.php
_SERVER["SCRIPT_NAME"] =/usr/local/apache2/htdocs/info.php
_SERVER["SCRIPT_FILENAME"] =/usr/local/apache2/htdocs/info.php
_SERVER["PATH_TRANSLATED"] =/usr/local/apache2/htdocs/info.php
_SERVER["DOCUMENT_ROOT"] =>
_SERVER["REQUEST_TIME"] =1181815359
_SERVER["argv"] =Array
(
[0] =/usr/local/apache2/htdocs/info.php
)

_SERVER["argc"] =1
_ENV["LESSKEY"] =/etc/lesskey.bin
_ENV["MANPATH"] =/usr/local/man:/usr/share/man:/usr/X11R6/man:/opt/
gnome/share/man
_ENV["INFODIR"] =/usr/local/info:/usr/share/info:/usr/info
_ENV["NNTPSERVER"] =news
_ENV["SSH_AGENT_PID"] =4168
_ENV["KDE_MULTIHEAD"] =false
_ENV["DM_CONTROL"] =/var/run/xdmctl
_ENV["HOSTNAME"] =suse-k7
_ENV["XKEYSYMDB"] =/usr/share/X11/XKeysymDB
_ENV["GNOME2_PATH"] =/usr/local:/opt/gnome:/usr
_ENV["TERM"] =xterm
_ENV["SHELL"] =/bin/bash
_ENV["HOST"] =suse-k7
_ENV["XDM_MANAGED"] =/var/run/xdmctl/xdmctl-:
0,maysd,mayfn,sched,rsvd,method=classic
_ENV["HISTSIZE"] =1000
_ENV["PROFILEREAD"] =true
_ENV["GTK2_RC_FILES"] =/etc/opt/gnome/gtk-2.0/gtkrc:/opt/gnome/share/
themes//QtCurve/gtk-2.0/gtkrc:/home/avni/.gtkrc-2.0-qtengine:/home/
avni/.gtkrc-2.0:/home/avni/.kde/share/config/gtkrc-2.0
_ENV["GS_LIB"] =/home/avni/.fonts
_ENV["GTK_RC_FILES"] =/etc/opt/gnome/gtk/gtkrc:/home/avni/.gtkrc:/
home/avni/.kde/share/config/gtkrc
_ENV["MORE"] =-sl
_ENV["WINDOWID"] =41943047
_ENV["OLDPWD"] =/home/avni
_ENV["XSESSION_IS_UP"] =yes
_ENV["KDE_FULL_SESSION"] =true
_ENV["USER"] =avni
_ENV["JRE_HOME"] =/usr/lib/jvm/jre
_ENV["GROFF_NO_SGR"] =yes
_ENV["DESKTOP_LAUNCH"] =kde-open
_ENV["LS_COLORS"] =>
no=00:fi=00:di=01;34:ln=00;36:pi=40;33:so=01;35:do =01;35:bd=40;33;01:cd=40;33;01:or=41;33;01:ex=00;3 2:*.cmd=00;32:*.exe=01;32:*.com=01;32:*.bat=01;32: *.btm=01;32:*.dll=01;32:*.tar=00;31:*.tbz=00;31:*. tgz=00;31:*.rpm=00;31:*.deb=00;31:*.arj=00;31:*.ta z=00;31:*.lzh=00;31:*.zip=00;31:*.zoo=00;31:*.z=00 ;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.tb2=00;31:* .tz2=00;31:*.tbz2=00;31:*.avi=01;35:*.bmp=01;35:*. fli=01;35:*.gif=01;35:*.jpg=01;35:*.jpeg=01;35:*.m ng=01;35:*.mov=01;35:*.mpg=01;35:*.pcx=01;35:*.pbm =01;35:*.pgm=01;35:*.png=01;35:*.ppm=01;35:*.tga=0 1;35:*.tif=01;35:*.xbm=01;35:*.xpm=01;35:*.dl=01;3 5:*.gl=01;35:*.wmv=01;35:*.aiff=00;32:*.au=00;32:* .mid=00;32:*.mp3=00;32:*.ogg=00;32:*.voc=00;32:*.w av=00;32:
_ENV["XNLSPATH"] =/usr/share/X11/nls
_ENV["ENV"] =/etc/bash.bashrc
_ENV["HOSTTYPE"] =i386
_ENV["SSH_AUTH_SOCK"] =/tmp/ssh-sfWfr4130/agent.4130
_ENV["FROM_HEADER"] =>
_ENV["SESSION_MANAGER"] =local/suse-k7:/tmp/.ICE-unix/4222
_ENV["PAGER"] =less
_ENV["CSHEDIT"] =emacs
_ENV["XDG_CONFIG_DIRS"] =/usr/local/etc/xdg/:/etc/xdg/:/etc/opt/
gnome/xdg/
_ENV["MINICOM"] =-c on
_ENV["KONSOLE_DCOP"] =DCOPRef(konsole-4529,konsole)
_ENV["DESKTOP_SESSION"] =kde
_ENV["PATH"] =/home/avni/bin:/usr/local/bin:/usr/bin:/sbin:/usr/
X11R6/bin:/usr/sbin:/bin:/usr/games:/opt/gnome/bin:/opt/kde3/bin:/usr/
lib/jvm/jre/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin
_ENV["MAIL"] =/var/spool/mail/avni
_ENV["CPU"] =i686
_ENV["JAVA_BINDIR"] =/usr/lib/jvm/jre/bin
_ENV["PWD"] =/home/avni/Desktop/software/lamp/php-5.2.3/php-5.2.3
_ENV["INPUTRC"] =/home/avni/.inputrc
_ENV["KONSOLE_DCOP_SESSION"] =DCOPRef(konsole-4529,session-1)
_ENV["XMODIFIERS"] =@im=local
_ENV["JAVA_HOME"] =/usr/lib/jvm/jre
_ENV["LANG"] =en_US.UTF-8
_ENV["PYTHONSTARTUP"] =/etc/pythonstart
_ENV["TEXINPUTS"] =:/home/avni/.TeX:/usr/share/doc/.TeX:/usr/
doc/.TeX
_ENV["SHLVL"] =3
_ENV["HOME"] =/root
_ENV["QT_SYSTEM_DIR"] =/usr/share/desktop-data
_ENV["OSTYPE"] =linux
_ENV["LESS_ADVANCED_PREPROCESSOR"] =no
_ENV["XCURSOR_THEME"] =crystalwhite
_ENV["LS_OPTIONS"] =-A -N --color=tty -T 0
_ENV["WINDOWMANAGER"] =/usr/bin/dbus-launch --sh-syntax --exit-with-
session /opt/kde3/bin/startkde
_ENV["GTK_PATH"] =/usr/local/lib/gtk-2.0:/opt/gnome/lib/gtk-2.0:/usr/
lib/gtk-2.0
_ENV["LOGNAME"] =avni
_ENV["MACHTYPE"] =i686-suse-linux
_ENV["LESS"] =-M -I
_ENV["G_FILENAME_ENCODING"] =@locale,UTF-8,ISO-8859-15,CP1252
_ENV["DBUS_SESSION_BUS_ADDRESS"] =unix:abstract=/tmp/
dbus-0J4IuYGZgp,guid=60017146d4db354bc5f11a09770e8400
_ENV["ACLOCAL_FLAGS"] =-I /opt/gnome/share/aclocal
_ENV["XDG_DATA_DIRS"] =/usr/local/share/:/usr/share/:/etc/opt/kde3/
share/:/opt/kde3/share/:/opt/gnome/share/
_ENV["LESSOPEN"] =lessopen.sh %s
_ENV["PKG_CONFIG_PATH"] =/usr/local/lib/pkgconfig:/usr/local/share/
pkgconfig:/usr/lib/pkgconfig:/usr/share/pkgconfig:/opt/kde3/lib/
pkgconfig:/opt/gnome/lib/pkgconfig:/opt/gnome/lib/pkgconfig:/opt/gnome/
share/pkgconfig
_ENV["USE_FAM"] =>
_ENV["INFOPATH"] =/usr/local/info:/usr/share/info:/usr/info:/opt/
gnome/share/info
_ENV["DISPLAY"] =:0.0
_ENV["XAUTHLOCALHOSTNAME"] =suse-k7
_ENV["LESSCLOSE"] =lessclose.sh %s %s
_ENV["G_BROKEN_FILENAMES"] =1
_ENV["XAUTHORITY"] =/root/.xauthmYhNCl
_ENV["COLORTERM"] =>
_ENV["JAVA_ROOT"] =/usr/lib/jvm/jre
_ENV["_"] =/usr/local/bin/php

PHP License
This program is free software; you can redistribute it and/or modify
it under the terms of the PHP License as published by the PHP Group
and included in the distribution in the file: LICENSE

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

If you did not receive a copy of the PHP license, or have any
questions about PHP licensing, please contact li*****@php.net.
************************************************** ************************************************** ***********************

Please help me to enjoy PHP.
Where is SERVER_ROOT ?
How I tell apache to phrase my .php files ?
Thanking You

Kesavan.M
m.*******@hotmail.com

Jun 14 '07 #1
1 5032
Kesavan wrote:
I install apache2 in /usr/local/apache2
and install php5 by ./configure --with-apxs2=/usr/local/apache2/bin/
apxs
Wrong. On Suse systems, use Yast2 for your installing needs.
PHP is successfully installed in my system.
But now my .php files inside /usr/local/apache2/htdocs doesn't get
phrased.
And never will. PHP files are parsed, not phrased.

--
----------------------------------
Iván Sánchez Ortega -ivansanchez-algarroba-escomposlinux-punto-org-

Los espíritus vulgares no tienen destino.
Jun 14 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Mike | last post by:
I am sure that I am making a simple boneheaded mistake and I would appreciate your help in spotting in. I have just installed apache_2.0.53-win32-x86-no_ssl.exe php-5.0.3-Win32.zip...
44
by: Xah Lee | last post by:
here's a large exercise that uses what we built before. suppose you have tens of thousands of files in various directories. Some of these files are identical, but you don't know which ones are...
0
by: Tom Lee | last post by:
Hi, I'm new to .NET 2003 compiler. When I tried to compile my program using DEBUG mode, I got the following errors in the C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7 \include\xdebug...
7
by: BB | last post by:
Hi, How do you retrieve the names of all files in a folder. I am trying to execute a piece of code on all files in a folder supplied to the program in the argument list. What are the c++ commands...
18
by: JKop | last post by:
Here's what I know so far: You have a C++ project. You have source files in it. When you go to compile it, first thing the preprocessor sticks the header files into each source file. So now...
3
by: pooja | last post by:
Suppose i have created a class c1 with f1()in c1.cpp and included this c1.cpp in file1.cpp file , which is also having main() by giving the statement #include "c1.cpp". the same i can do by...
11
by: ambika | last post by:
Iam just trying to know "c". And I have a small doubt about these header files. The header files just contain the declaration part...Where is the definition for these declarations written??And how...
18
by: UJ | last post by:
Folks, We provide custom content for our customers. Currently we put the files on our server and people have a program we provide that will download the files. These files are usually SWF, HTML or...
3
by: aRTx | last post by:
I have try a couple of time but does not work for me My files everytime are sortet by NAME. I want to Sort my files by Date-desc. Can anyone help me to do it? The Script <? /* ORIGJINALI
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.