php 4.4.3 is out

eymbo

Verified User
Joined
Mar 28, 2006
Messages
69
http://www.php.net/ChangeLog-4.php#4.4.3

PHP 4.4.3 Released

[03-Aug-2006] The PHP development team is proud to announce the release of PHP 4.4.3. This release combines small number of bug fixes and resolves a number of security issues. Some of the key changes of PHP 4.4.3 include:

* Disallow certain characters in session names.
* Fixed a buffer overflow inside the wordwrap() function.
* Prevent jumps to parent directory via the 2nd parameter of the tempnam() function.
* Improved safe_mode check for the error_log() function.
* Fixed cross-site scripting inside the phpinfo() function.
* Fixed offset/length parameter validation inside the substr_compare() function.
* Upgraded bundled PCRE library to version 6.6
* Over 20 various bug fixes.

:)
 
I get his message...
Can anyone help me ??


[root@server3 php-4.4.3]# make
/bin/sh /usr/local/directadmin/customapache/php-4.4.3/libtool --silent --preserve-dup-deps --mode=compile gcc -Iext/openssl/ -I/usr/local/directadmin/customapache/php-4.4.3/ext/
openssl/ -DPHP_ATOM_INC -I/usr/local/directadmin/customapache/php-4.4.3/include -I/usr/local/directadmin/customapache/php-4.4.3/main -I/usr/local/directadmin/customapache/php-4.4
.3 -I/usr/kerberos/include -I/usr/local//include -I/usr/local/include -I/usr/include/mysql -I/usr/local/directadmin/customapache/php-4.4.3/ext/xml/expat -I/usr/local/directadmin/
customapache/php-4.4.3/TSRM -I/usr/local/directadmin/customapache/php-4.4.3/Zend -g -O2 -c /usr/local/directadmin/customapache/php-4.4.3/ext/openssl/openssl.c -o ext/openssl
/openssl.lo
/usr/local/directadmin/customapache/php-4.4.3/libtool: line 60: --enable-mbstring: command not found
/usr/local/directadmin/customapache/php-4.4.3/libtool: line 61: invalid: command not found
/usr/local/directadmin/customapache/php-4.4.3/libtool: line 325: syntax error near unexpected token `('
/usr/local/directadmin/customapache/php-4.4.3/libtool: line 325: `elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then'
make: *** [ext/openssl/openssl.lo] Error 2
 
You don't have to do all that with directadmin. Run the following:


cd /usr/local/directadmin/customapache
wget http://us2.php.net/get/php-4.4.3.tar.gz/from/this/mirror
./build clean
change php version in build
./build php

or ./build php_ap2 (if running apache 2)
 
./build clean

./build php 4.4.3 <== so?

how can i change the php version.. thats is my question.
 
assuming you are in the customapache directory,
type:
vi build

change the PHP_VER=4.4.2 to PHP_VER=4.4.3
 
when i was compeling the ssh discoennect and DA dont work..
the server is working..


r/local/directadmin/customapache/php-4.4.3/main/ -DPHP
_ATOM_INC -I/usr/local/directadmin/customapache/php-4.4.3/include -I/usr/local/directadmin/customapache/php-4.4.3/main -I/usr/local/directadmin/customapache/php-4.4.3 -I/usr/kerb
eros/include -I/usr/local/include -I/usr/local/directadmin/customapache/php-4.4.3/ext/mbstring/mbregex -I/usr/local/directadmin/customapache/php-4.4.3/ext/mbstring/libmbfl -I/usr
/local/directadmin/customapache/php-4.4.3/ext/mbstring/libmbfl/mbfl -I/usr/include/mysql -I/usr/local/directadmin/customapache/php-4.4.3/ext/xml/expat -I/usr/local/directadmin/cu
stomapache/php-4.4.3/TSRM -I/usr/local/directadmin/customapache/php-4.4.3/Zend -g -O2 -prefer-non-pic -c main/internal_functions.c -o main/internal_functions.lo

there stops it..

can any one help
 
for info:

The server was online but not reachable for ssh - da - httpd
I must reset the server :((
 
Sounds like customapache overwhelmed your server. If you already have everything up to date except for php, use
./build php n

If not, then still use
./build php

and wait couple minutes between each yes.

powerdomein said:
for info:

The server was online but not reachable for ssh - da - httpd
I must reset the server :((
 
powerdomein said:
for info:

The server was online but not reachable for ssh - da - httpd
I must reset the server :((

Try to recompile PHP with the following commands :

# cd /usr/local/directadmin/customapache
# ./build clean
# ./build update
# wget http://XX.php.net/get/php-4.1.3.tar.gz/from/this/mirror

Download PHP from the mirror in your customapache directory. (http://XX.php.net/get/php-4.1.3.tar.gz/from/this/mirror change XX by your country ISO code. E.g. Netherland nl, Switzerland ch, etc..)

Change your PHP version to the version you want in build (use vi or pico ismyfriend).

# ./build php n
# /sbin/service httpd restart

and use this tip to avoid new problems :

http://www.directadmin.com/forum/showthread.php?s=&postid=79974
 
Last edited:
./build all d

..........................
..........................
..........................


-lmhash -lmcrypt -lltdl -lintl -lpng -lz -ljpeg -lcurl -lz -lssl -lcrypto -lm -lgssapi -lkrb5 -lasn1 -lcrypto -lroken -lcrypt -lcom_err -lcurl -lssl -lcrypto -lz -lcrypt -lcrypt -o libphp4.la
/usr/bin/ld: cannot find -lltdl
*** Error code 1

Stop in /usr/local/directadmin/customapache/php-4.4.3.
 
Last edited:
bigboy said:
./build all d

..........................
..........................
..........................


-lmhash -lmcrypt -lltdl -lintl -lpng -lz -ljpeg -lcurl -lz -lssl -lcrypto -lm -lgssapi -lkrb5 -lasn1 -lcrypto -lroken -lcrypt -lcom_err -lcurl -lssl -lcrypto -lz -lcrypt -lcrypt -o libphp4.la
/usr/bin/ld: cannot find -lltdl
*** Error code 1

Stop in /usr/local/directadmin/customapache/php-4.4.3.

# ./build php y
to build all with php 4.4.3
 
resrtart apache eaccelerator error

venus# PHP Warning: Unknown(): Unable to load dynamic library '/usr/local/src/ea095rc1/modules
/eaccelerator.so' - Cannot open "/usr/local/src/ea095rc1/modules/eaccelerator.so" in
Unknown on line 0
 
Back
Top