Php 4.4.2 is finally out

backusnetcom said:

Edit: This install takes a lot from your server.. some of my servers broke SSH connections.. directadmin crash.. etc..

I advise you to run this under 'screen' (yum install screen + screen ./build php y). If you ssh crashes then you have a chance to continue installing..

Good luck.

ok installed screen

now suppose I lose my ssh connection during build, how do I regain access to this 'screen'?
 
Start screen as follows:

screen -rd
rd stands for "Reattach a session and if necessary detach it first."

Other options are
  • -dR; Reattach a session and if necessary detach or even create it first.
  • -Dr; Reattach a session. If necessary detach and logout remotely first.
  • -DR; Attach here and now. In detail this means: If a session is running, then reattach. If necessary detach and logout remotely first. If it was not running create it and notify the user.

You can check the status of your sessions using "screen -list". For more details: "man screen".
 
UebiMiau error

Well , I am a beginner and a little help qould be more than welcome.

After installing php 4.4.2 I get an error on the UebiMiau.
After logon I get this error message on the top :

Warning: Header may not contain more than a single header, new line detected. in /var/www/html/webmail/inc/inc.php on line 145


At logout I get :
Warning: Header may not contain more than a single header, new line detected. in /var/www/html/webmail/inc/inc.php on line 145

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/webmail/inc/inc.php:145) in /var/www/html/webmail/logout.php on line 73

Any ideea where to change and what to fix it ?
I guess it has something to do with my php.ini ?

Btw , I am runing DA 1.26.2 on Fedora 3.
 
Last edited:
The best way to help you would probably be to point out that this has been addressed and answered numerous times on these forums.

Please use the search button.

Thanks.

Jeff
 
Thank you.
Found it in this thread.
Sorry , was kinda stressed and late yesterday.
 
should we upgrade zziplib? after running ./build update, I see the zziplib version is still chosen as
ZZIP_VER=0.10.82
#ZZIP_VER=0.13.38
#ZZIP_VER=0.13.45

why it's not 0.13.45 by default?
 
Hello,

It caused compile problems on many systems.

You can change the version and try installing it on your system. If you run into problems, just go back to the previous version.

John
 
jeffery said:
Just want to post this, but a little bit slower then you, lol.



>> change PHPVERSION to 4.4.2



:p

This is might be a naive question :) but how do you change the PHPVERSION to 4.4.2?

Thanks
 
UeabiMiau Problem

Hello.
I did the Uabimiau´s headers problem work with the information in this trhead. Now I am having problems whith downloads attachs files.

When aI try download attached files show:

Warning: Header may not contain more than a single header, new line detected. in /var/www/html/webmail/inc/class.uebimiau.php on line 467

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/webmail/inc/class.uebimiau.php:467) in /var/www/html/webmail/inc/class.uebimiau.php on line 469

Any idea?

bye
 
Last edited:
Attach Solution

Sorry for my bad english, but the solution is the same, just change the line 467 and 468 make two headers.

bye
 
Re: UeabiMiau Problem

IPaddress said:
Hello.
I did the Uabimiau´s headers problem work with the information in this trhead. Now I am having problems whith downloads attachs files.

When aI try download attached files show:

Warning: Header may not contain more than a single header, new line detected. in /var/www/html/webmail/inc/class.uebimiau.php on line 467

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/webmail/inc/class.uebimiau.php:467) in /var/www/html/webmail/inc/class.uebimiau.php on line 469

Any idea?

bye

read the thread again.
 
usinp php compiled with java

hi i want to know how to compile php with java using build.

i am using RHL9 with DA

rgds

ram
 
I did a search and could not find any solution that worked for me...

When doing a apache configtest after installing this php upgrade, I'm getting the following:
[root@xxxx ~]# service httpd configtest
Syntax error on line 195 of /etc/httpd/conf/httpd.conf:
Cannot add module via name 'mod_php4.c': not in list of loaded modules
Though it doesn't appear to affect the performance of httpd or php, it's annoying that it doesn't say 'OK'.

When commenting line 195 as other post recommended, I receive the following error:
[root@xxxx conf]# service httpd configtest
Warning: DocumentRoot [/usr/local/frontpage/version5.0/admin-exes] does not exist
Syntax error on line 30 of /usr/local/directadmin/data/users/aonline/httpd.conf:
Invalid command 'php_admin_flag', perhaps mis-spelled or defined by a module not included in the server configuration
This appears to happen across all my servers, so I pretty sure this is not an isolated case.

Help, please? Thanks in advance!
 
Hello,

Configtest doesn't work with our setup.
If apache starts, then it's probably fine ;)

If apache does not start, the
/sbin/service httpd restart
should generally spit out an error as to why it isn't, else the error is in /var/log/httpd/error_log or /var/log/messages.

John
 
DirectAdmin Support said:
Hello,

Configtest doesn't work with our setup.
If apache starts, then it's probably fine ;)

If apache does not start, the
/sbin/service httpd restart
should generally spit out an error as to why it isn't, else the error is in /var/log/httpd/error_log or /var/log/messages.

John
Thanks John for the clarification on configtest. It's great to hear from DA support. :)
 
Re: Attach Solution

IPaddress said:
Sorry for my bad english, but the solution is the same, just change the line 467 and 468 make two headers.

bye

Ho to make two headers?

This are orginale lines:

PHP:
line 463: case "down":
line 464: $content_type = ($down)?"application/octet-stream":strtolower($ctype2);
line 465: $filesize = strlen($body);
line 466: header("Content-Type: $content_type; name=\"$filename\"\r\n"
line 467: ."Content-Length: $filesize\r\n");
line 468: $cdisp = ($down)?"attachment":"inline";
line 469: header("Content-Disposition: $cdisp; filename=\"$filename\"\r\n");
line 470: echo($body);
line 471: break;
 
Back
Top