Koozali.org: home of the SME Server

What is newest versio on PHP tested with SME

Buddha_Joe

wellsi
« Reply #15 on: July 21, 2004, 04:34:12 PM »
I fixed the include_path statement. I had changed it just to see if it would make a diffrence and it didn't. I just forgot to expand-template after I put the .: back in.

What I can't figure out is why the MySQL section is missing from phpinfo().

The extension is called in php.ini (mysql.so) and is in /usr/lib/php4.

I'm going to wipe the server again and start from scratch. I'll make notes of each step I take and post the results.


Buddha Joe

Buddha_Joe

From fresh install
« Reply #16 on: July 21, 2004, 05:34:10 PM »
Ok.. So I wiped the box and installed 6.0.1 (contribs.org) again.

I enabled ftp access. created an index.php calling phpinfo()

MySQL appears again.

Code: [Select]


PHP Version 4.1.2

System Linux sme60build 2.4.20-18.7 #1 Thu May 29 08:32:50 EDT 2003 i686 unknown
Build Date Jul  8 2003
Configure Command './configure' 'i386-redhat-linux' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/usr/com' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--prefix=/usr' '--with-config-file-path=/etc' '--enable-force-cgi-redirect' '--disable-debug' '--enable-pic' '--disable-rpath' '--enable-inline-optimization' '--with-bz2' '--with-db3' '--with-curl' '--with-dom=/usr' '--with-exec-dir=/usr/bin' '--with-freetype-dir=/usr' '--with-png-dir=/usr' '--with-gd' '--enable-gd-native-ttf' '--with-ttf' '--with-gdbm' '--with-gettext' '--with-ncurses' '--with-gmp' '--with-iconv' '--with-jpeg-dir=/usr' '--with-mm' '--with-openssl' '--with-png' '--with-pspell' '--with-regex=system' '--with-xml' '--with-expat-dir=/usr' '--with-zlib' '--with-layout=GNU' '--enable-bcmath' '--enable-debugger' '--enable-exif' '--enable-ftp' '--enable-magic-quotes' '--enable-safe-mode' '--enable-sockets' '--enable-sysvsem' '--enable-sysvshm' '--enable-discard-path' '--enable-track-vars' '--enable-trans-sid' '--enable-yp' '--enable-wddx' '--without-oci8' '--with-imap=shared' '--with-imap-ssl' '--with-kerberos=/usr/kerberos' '--with-ldap=shared' '--with-mysql=shared,/usr' '--with-pgsql=shared' '--with-snmp=shared,/usr' '--with-snmp=shared' '--enable-ucd-snmp-hack' '--with-unixODBC=shared' '--enable-memory-limit' '--enable-bcmath' '--enable-shmop' '--enable-versioning' '--enable-calendar' '--enable-dbx' '--enable-dio' '--enable-mbstring' '--enable-mbstr-enc-trans' '--with-apxs=/usr/sbin/apxs'
Server API Apache
Virtual Directory Support disabled
Configuration File (php.ini) Path /etc/php.ini
ZEND_DEBUG disabled
Thread Safety disabled

Zend logo This program makes use of the Zend Scripting Language Engine:
Zend Engine v1.1.1, Copyright (c) 1998-2001 Zend Technologies

PHP 4.0 Credits
Configuration
PHP Core
Directive Local Value Master Value
allow_call_time_pass_reference
On On
allow_url_fopen
no value no value
always_populate_raw_post_data
0 0
arg_separator.input
& &
arg_separator.output
& &
asp_tags
Off Off
auto_append_file
no value no value
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_functions
no value no value
display_errors
Off Off
display_startup_errors
Off Off
doc_root
no value no value
enable_dl
On On
error_append_string
no value no value
error_log
syslog syslog
error_prepend_string
no value no value
error_reporting
2039 2039
expose_php
On On
extension_dir
/usr/lib/php4 /usr/lib/php4
file_uploads
1 1
gpc_order
GPC GPC
highlight.bg
#FFFFFF #FFFFFF
highlight.comment
#FF8000 #FF8000
highlight.default
#0000BB #0000BB
highlight.html
#000000 #000000
highlight.keyword
#007700 #007700
highlight.string
#DD0000 #DD0000
html_errors
On On
ignore_user_abort
Off Off
implicit_flush
Off Off
include_path
.:/usr/share/php .:/usr/share/php
log_errors
On On
magic_quotes_gpc
On On
magic_quotes_runtime
Off Off
magic_quotes_sybase
Off Off
max_execution_time
30 30
memory_limit
32M 32M
open_basedir
/home/e-smith/files/ibays/Primary no value
output_buffering
no value no value
output_handler
no value no value
post_max_size
20M 20M
precision
14 14
register_argc_argv
On On
register_globals
On On
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
me@localhost.com me@localhost.com
sendmail_path
/usr/sbin/sendmail -t -i /usr/sbin/sendmail -t -i
short_open_tag
On On
SMTP
localhost localhost
sql.safe_mode
Off Off
track_errors
Off Off
upload_max_filesize
10M 10M
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
Off Off

yp
YP Support enabled

xml
XML Support active
XML Namespace Support active
EXPAT Version expat_1.95.2

wddx
WDDX Support enabled
WDDX Session Serializer enabled

standard
Regex Library System 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
safe_mode_allowed_env_vars
PHP_ PHP_
safe_mode_protected_env_vars
LD_LIBRARY_PATH LD_LIBRARY_PATH
session.use_trans_sid
1 1
url_rewriter.tags
a=href,area=href,frame=src,input=src,form=fakeentry a=href,area=href,frame=src,input=src,form=fakeentry

sockets
Sockets Support enabled

shmop
shmop support enabled

session
Session Support enabled

Directive Local Value Master Value
session.auto_start
Off Off
session.cache_expire
180 180
session.cache_limiter
nocache nocache
session.cookie_domain
no value no value
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_maxlifetime
1440 1440
session.gc_probability
1 1
session.name
PHPSESSID PHPSESSID
session.referer_check
no value no value
session.save_handler
files files
session.save_path
/tmp /tmp
session.serialize_handler
php php
session.use_cookies
On On

pspell
PSpell Support enabled

posix
Revision $Revision: 1.33.2.1 $

pcre
PCRE (Perl Compatible Regular Expressions) Support enabled
PCRE Library Version 3.4 22-Aug-2000

openssl
OpenSSL support enabled
OpenSSL Version OpenSSL 0.9.6b [engine] 9 Jul 2001

ncurses
ncurses support enabled

mbstring
Multibyte (Japanese) Support enabled
http input encoding translation enabled

Directive Local Value Master Value
mbstring.detect_order
no value no value
mbstring.http_input
no value no value
mbstring.http_output
no value no value
mbstring.internal_encoding
no value no value
mbstring.substitute_character
no value no value

iconv
iconv support enabled

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

gmp
gmp support enabled

gettext
GetText Support enabled

gd
GD Support enabled
GD Version 1.6.2 or higher
FreeType Support enabled
FreeType Linkage with freetype
JPG Support enabled
PNG Support enabled
WBMP Support enabled

ftp
FTP support enabled

exif
EXIF Support enabled

domxml
DOM/XML enabled
libxml Version 2.4.19
XPath Support enabled
XPointer Support enabled

dbx
dbx support enabled
dbx version 1.0.0
supported databases MySQL<br />ODBC<br />PostgreSQL<br />Microsoft SQL Server<br />FrontBase

dba
DBA support enabled
Supported handlers gdbm db3

curl
CURL support enabled
CURL Information libcurl 7.9.5 (OpenSSL 0.9.6b) (ipv6 enabled)

calendar
Calendar support enabled

bz2
BZip2 Support Enabled
BZip2 Version 1.0.2, 30-Dec-2001

bcmath
BCMath support enabled

zlib
ZLib Support enabled
'zlib:' fopen wrapper enabled
Compiled Version 1.1.4
Linked Version 1.1.4

imap
IMAP Support enabled
IMAP c-Client Version 2001
SSL Support enabled
Kerberos Support enabled

ldap
LDAP Support enabled
RCS Version $Id: ldap.c,v 1.94.2.3 2001/12/01 14:17:43 venaas Exp $
Total Links 0/unlimited
API Version 2004

mysql
MySQL Support enabled
Active Persistent Links 0
Active Links 0
Client API version 3.23.56
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /var/lib/mysql/mysql.sock
MYSQL_INCLUDE -I/usr/include/mysql
MYSQL_LIBS -L/usr/lib/mysql -lmysqlclient -L/usr/lib -z

Directive Local Value Master Value
mysql.allow_persistent
On On
mysql.default_host
no value no value
mysql.default_password
no value no value
mysql.default_port
no value no value
mysql.default_socket
no value no value
mysql.default_user
no value no value
mysql.max_links
Unlimited Unlimited
mysql.max_persistent
Unlimited Unlimited

apache
APACHE_INCLUDE
APACHE_TARGET
Apache Version Apache/1.3.27
Apache Release 10327100
Apache API Version 19990320
Hostname:Port www.home.lan:80
User/Group www(100)/102
Max Requests Per Child: 100 - Keep Alive: on - Max Per Connection: 100
Timeouts Connection: 300 - Keep-Alive: 15
Server Root /etc/httpd
Loaded Modules mod_ssl, mod_php4, mod_setenvif, mod_so, mod_usertrack, mod_headers, mod_expires, mod_digest, mod_auth_external, mod_auth_db, mod_auth_anon, mod_auth, mod_access, mod_rewrite, mod_alias, mod_proxy, mod_userdir, mod_actions, mod_imap, mod_asis, mod_cgi, mod_dir, mod_autoindex, mod_include, mod_info, mod_status, mod_negotiation, mod_mime, mod_log_referer, mod_log_agent, mod_log_config, mod_env, http_core

Directive Local Value Master Value
child_terminate
0 0
engine
1 1
last_modified
0 0
xbithack
0 0

Apache Environment
Variable Value
DOCUMENT_ROOT /home/e-smith/files/ibays/Primary/html
HTTP_ACCEPT text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
HTTP_ACCEPT_CHARSET ISO-8859-1,utf-8;q=0.7,*;q=0.7
HTTP_ACCEPT_ENCODING gzip,deflate
HTTP_ACCEPT_LANGUAGE en-us,en;q=0.5
HTTP_CONNECTION keep-alive
HTTP_HOST www.home.lan
HTTP_KEEP_ALIVE 300
HTTP_USER_AGENT Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040615 Firefox/0.9
PATH /sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin
REDIRECT_STATUS 200
REDIRECT_URL /
REMOTE_ADDR 192.168.1.66
REMOTE_PORT 33911
SCRIPT_FILENAME /home/e-smith/files/ibays/Primary/html/index.php
SERVER_ADDR 192.168.1.10
SERVER_ADMIN admin@home.lan
SERVER_NAME www.home.lan
SERVER_PORT 80
SERVER_SIGNATURE
SERVER_SOFTWARE Apache
GATEWAY_INTERFACE CGI/1.1
SERVER_PROTOCOL HTTP/1.1
REQUEST_METHOD GET
QUERY_STRING
REQUEST_URI /
SCRIPT_NAME /index.php

HTTP Headers Information
HTTP Request Headers
HTTP Request GET / HTTP/1.1
Accept text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Charset ISO-8859-1,utf-8;q=0.7,*;q=0.7
Accept-Encoding gzip,deflate
Accept-Language en-us,en;q=0.5
Connection keep-alive
Host www.home.lan
Keep-Alive 300
User-Agent Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040615 Firefox/0.9
HTTP Response Headers
X-Powered-By PHP/4.1.2
Keep-Alive timeout=15, max=100
Connection Keep-Alive
Transfer-Encoding chunked
Content-Type text/html

Additional Modules
sysvshm
sysvsem
session mm

Environment
Variable Value
PWD /
BOOT_FILE /boot/vmlinuz-2.4.20-18.7
CONSOLE /dev/console
PREVLEVEL N
AUTOBOOT YES
CONFIRM
runlevel 7
LANG en_US
SHLVL 2
previous N
BOOT_IMAGE SMEServer-up
HOME /root
TERM linux
PATH /sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin
RUNLEVEL 7
INIT_VERSION sysvinit-2.84
_ /sbin/initlog

PHP Variables
Variable Value
PHP_SELF /index.php
_SERVER["DOCUMENT_ROOT"] /home/e-smith/files/ibays/Primary/html
_SERVER["HTTP_ACCEPT"] text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
_SERVER["HTTP_ACCEPT_CHARSET"] ISO-8859-1,utf-8;q=0.7,*;q=0.7
_SERVER["HTTP_ACCEPT_ENCODING"] gzip,deflate
_SERVER["HTTP_ACCEPT_LANGUAGE"] en-us,en;q=0.5
_SERVER["HTTP_CONNECTION"] keep-alive
_SERVER["HTTP_HOST"] www.home.lan
_SERVER["HTTP_KEEP_ALIVE"] 300
_SERVER["HTTP_USER_AGENT"] Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040615 Firefox/0.9
_SERVER["PATH"] /sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin
_SERVER["REDIRECT_STATUS"] 200
_SERVER["REDIRECT_URL"] /
_SERVER["REMOTE_ADDR"] 192.168.1.66
_SERVER["REMOTE_PORT"] 33911
_SERVER["SCRIPT_FILENAME"] /home/e-smith/files/ibays/Primary/html/index.php
_SERVER["SERVER_ADDR"] 192.168.1.10
_SERVER["SERVER_ADMIN"] admin@home.lan
_SERVER["SERVER_NAME"] www.home.lan
_SERVER["SERVER_PORT"] 80
_SERVER["SERVER_SIGNATURE"]
_SERVER["SERVER_SOFTWARE"] Apache
_SERVER["GATEWAY_INTERFACE"] CGI/1.1
_SERVER["SERVER_PROTOCOL"] HTTP/1.1
_SERVER["REQUEST_METHOD"] GET
_SERVER["QUERY_STRING"]
_SERVER["REQUEST_URI"] /
_SERVER["SCRIPT_NAME"] /index.php
_SERVER["PATH_TRANSLATED"] /home/e-smith/files/ibays/Primary/html/index.php
_SERVER["PHP_SELF"] /index.php
_SERVER["argv"]

Array
(
)

 
_SERVER["argc"] 0
_ENV["PWD"] /
_ENV["BOOT_FILE"] /boot/vmlinuz-2.4.20-18.7
_ENV["CONSOLE"] /dev/console
_ENV["PREVLEVEL"] N
_ENV["AUTOBOOT"] YES
_ENV["CONFIRM"]
_ENV["runlevel"] 7
_ENV["LANG"] en_US
_ENV["SHLVL"] 2
_ENV["previous"] N
_ENV["BOOT_IMAGE"] SMEServer-up
_ENV["HOME"] /root
_ENV["TERM"] linux
_ENV["PATH"] /sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin
_ENV["RUNLEVEL"] 7
_ENV["INIT_VERSION"] sysvinit-2.84
_ENV["_"] /sbin/initlog

.


Now I am going to copy php4.3.8-upgrade.sh to the server and run it.

Buddha_Joe

php4.3.8-upgrade.sh
« Reply #17 on: July 21, 2004, 05:53:22 PM »
Ran script and checked phpinfo()

Mysql is still there... I guess I must of screwed something up earlier...

What it was I have no idea... I would like to thank everyone who responded:

webster
deunan
wellsi

I appreciate your patience with me and for donating your time.

Now lets see how much more damage I can cause by trying to  upgrade MySQL... Wish me luck

Buddha Joe