Hi, How would i apply this php patch to my server: http://www.lancs.ac.uk/~steveb/patches/php-mail-header-patch/ I tryed applying the patch but got the following error: Code: server1:/tmp # patch -p1 < php5-mail-header.patch can't find file to patch at input line 3 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- php-5.0.5/ext/standard/mail.c.orig 2005-07-28 09:48:31.000000000 +0100 |+++ php-5.0.5/ext/standard/mail.c 2005-09-16 16:37:24.902314224 +0100 -------------------------- File to patch: [3]+ Stopped patch -p1 <php5-mail-header.patch I tryed finding the file but i couldnt find it either : Code: server1:/tmp # locate mail.c /home/admispconfig/ispconfig/web/webmail/themes/aleborgXP/webmail.css /home/admispconfig/ispconfig/web/webmail/themes/default/webmail.css /home/admispconfig/ispconfig/web/webmail/themes/neotech.net/webmail.css /opt/kde3/share/apps/kmail/about/kmail.css /usr/lib/w3m/cgi-bin/w3mmail.cgi Please could you help me, Thanks, Alex
You must download the PHP5 sources and unpack them. Then go to the PHP5 source directory and run Code: patch -p1 < /path/to/php5-mail-header.patch Afterwards, you can compile PHP5.
Thanks, sorry one last question, would this also replace my ispconfig php 5 setup or not, as i dont want this to happen, i want it to only affect my normal php 5 setup
No, unless you use special configuration options which would install your new PHP5 in the /root/ispconfig/php directory.