Here is some of my phpinfo file,its served in plain text on white background and as seen,with no formatting,strange.
Environment
Variable => Value
TERM => rxvt-unicode
PATH => /usr/local/bin:/usr/local/sbin:/usr/sbin:/usr/bin:/sbin:/bin
LANG => C
TZ => UTC
HOME => /home/tc
DISPLAY => :0.0
XAUTHORITY => /home/tc/.Xauthority
COLORTERM => rxvt
SHELL => /bin/sh
LOGNAME => root
USER => root
USERNAME => root
SUDO_COMMAND => /usr/local/httpd/sbin/httpd -p 80 -h /home/tc/webroot -u tc:staff
SUDO_USER => root
SUDO_UID => 0
SUDO_GID => 0
PATH_INFO =>
REQUEST_METHOD => GET
REQUEST_URI => /info.php
SCRIPT_FILENAME => /home/tc/webroot/info.php
SCRIPT_NAME => /info.php
QUERY_STRING =>
SERVER_SOFTWARE => busybox httpd/1.17.2
SERVER_PROTOCOL => HTTP/1.0
GATEWAY_INTERFACE => CGI/1.1
REMOTE_ADDR => 127.0.0.1
REMOTE_PORT => 40919
HTTP_USER_AGENT => Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/534.3 (KHTML, like Gecko) Chrome/6.0.472.59 Safari/534.3
HTTP_ACCEPT => application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
HTTP_ACCEPT_LANGUAGE => en-GB,en-US;q=0.8,en;q=0.6
HTTP_HOST => localhost
and as stated earlier server wont serve php by default or browsed to,html pages come up fine though.
So there is some setting in either php.ini or httpd that needs adjusting.MySQL is recognised as extension as are others like gd,xml,curl etc.
Here is another section of phpinfo
Directive => Local Value => Master Value
allow_call_time_pass_reference => Off => Off
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 => iso-8859-1 => iso-8859-1
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 => STDOUT => STDOUT
display_startup_errors => On => On
doc_root => /home/tc/webroot => /home/tc/webroot
docref_ext => .html .php => .html .php
docref_root => /phpmanual/ => /phpmanual/
enable_dl => Off => Off
error_append_string => no value => no value
error_log => no value => no value
error_prepend_string => no value => no value
error_reporting => 32767 => 32767
exit_on_timeout => Off => Off
expose_php => On => On
extension_dir => /usr/local/lib/php/extensions/no-debug-non-zts-20090626 => /usr/local/lib/php/extensions/no-debug-non-zts-20090626
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 => On => On
log_errors_max_len => 1024 => 1024
magic_quotes_gpc => Off => Off
magic_quotes_runtime => Off => Off
magic_quotes_sybase => Off => Off
mail.add_x_header => On => On
mail.force_extra_parameters => no value => no value
mail.log => no value => no value
max_execution_time => 0 => 0
max_file_uploads => 20 => 20
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 => Off => Off
report_memleaks => On => On
report_zend_debug => Off => Off
request_order => GP => GP
safe_mode => Off => Off
safe_mode_exec_dir => no value => no value
safe_mode_gid => Off => Off
safe_mode_include_dir => no value => no value
sendmail_from => no value => no value
sendmail_path => -t -i => -t -i
serialize_precision => 100 => 100
short_open_tag => Off => Off
SMTP => localhost => localhost
smtp_port => 25 => 25
sql.safe_mode => Off => Off
track_errors => On => On
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
user_ini.cache_ttl => 300 => 300
user_ini.filename => .user.ini => .user.ini
variables_order => GPCS => GPCS
xmlrpc_error_number => 0 => 0
xmlrpc_errors => Off => Off
y2k_compliance => On => On
zend.enable_gc => On => On
So php is only half working any one who might know how to fix this remember:)-
CARING IS SHARING!!