HOW TO : Upgrade Apache 1.x or 2.x to 2.0.58

felosi said:
I never had no problems with the apache 2 upgrade but to compile without zend Id think you would take that line out of the configure.php_ap2

where can I take out that line? Pls help. Thanks
 
@how@ said:
no need to remove ant line.
Zend work fine with apache x.x.x from 1.3 to 2.2 & 2.0


Wael

Hi,

It works fine for other application but not for one of my site at http://www.sweetgift.com.sg

Warning: error_log(/var/log/www/tep/page_parse_time.log) [function.error-log]: failed to open stream: No such file or directory

Able to advice?
 
Apache 2.x.x work fine with DA
**
do you use mod security ?
if yes, use other rules.
in no, take look to (disable_functions) in php.ini


Wael
 
after all the steps, I restart apache, got
[root@server customapache]# service httpd restart
Stopping httpd: [FAILED]
Starting httpd: Warning: DocumentRoot [/home/cnfree22/domains/35521.com/public_html/cms] does not exist
Warning: DocumentRoot [/home/cnfree22/domains/35521.com/public_html/dns] does not exist
Warning: DocumentRoot [/home/meyu/domains/suspended/collect] does not exist
Warning: DocumentRoot [/home/cnfree25/domains/3388.net.ru/public_html/sms] does not exist
Warning: DocumentRoot [/home/cnfree26/domains/25.meyu.net/public_html/a] does not exist
Warning: DocumentRoot [/home/cnfree28/domains/zuowen86.com/public_html/blog] does not exist
Warning: DocumentRoot [/home/cnfree28/domains/zuowen86.com/public_html/cms] does not exist
Warning: DocumentRoot [/home/meyu/domains/suspended/001] does not exist
Warning: DocumentRoot [/home/cnfree34/domains/datednet.com/public_html/jazvy] does not exist
Warning: DocumentRoot [/home/cnfree44/domains/xnsky.com/public_html/bbs] does not exist
Warning: DocumentRoot [/home/cnfree46/domains/niuyou.com/public_html/bbs] does not exist
Warning: DocumentRoot [/home/meyu/domains/suspended/11] does not exist
Warning: DocumentRoot [/home/dzfree07/domains/bearlet.com/public_html/us] does not exist
Warning: DocumentRoot [/home/dzfree07/domains/bearlet.com/public_html/www1] does not exist
Warning: DocumentRoot [/home/dzfree07/domains/bearlet.com/public_html/www2] does not exist
Warning: DocumentRoot [/home/dzfree09/domains/pubase.net/public_html/book] does not exist
Warning: DocumentRoot [/home/dzfree09/domains/pubase.net/public_html/ryolee] does not exist
Warning: DocumentRoot [/home/dzfree11/domains/sunbeam.6600.org/public_html/www] does not exist
Warning: DocumentRoot [/home/meyu/domains/suspended/bbs] does not exist
Warning: DocumentRoot [/home/meyu/domains/suspended/test] does not exist
Warning: DocumentRoot [/home/dzfree48/domains/mingdowcn.com/public_html/uu] does not exist
Warning: DocumentRoot [/home/meyu/domains/suspended/zb] does not exist
Warning: DocumentRoot [/home/dzfree57/domains/pan.webr.cn/public_html/hk] does not exist
Warning: DocumentRoot [/home/dzfree58/domains/am126.com/public_html/126] does not exist
Warning: DocumentRoot [/home/dzfree62/domains/blog.ihengshui.com/public_html/nzhou] does not exist
Warning: DocumentRoot [/home/dzfree89/domains/freez.com.cn/public_html/bbs] does not exist
Warning: DocumentRoot [/home/meyu/domains/suspended/www] does not exist
Warning: DocumentRoot [/home/meyu/domains/suspended/blog] does not exist
Warning: DocumentRoot [/home/meyu/domains/suspended/v] does not exist
Warning: DocumentRoot [/home/meyu/domains/suspended/bbs] does not exist
Warning: DocumentRoot [/home/meyu/domains/suspended/blog] does not exist
Warning: DocumentRoot [/home/meyu/domains/suspended/www] does not exist
Warning: DocumentRoot [/home/meyu/domains/suspended/myhome] does not exist
Warning: DocumentRoot [/home/meyu/domains/suspended/bbs] does not exist
Warning: DocumentRoot [/home/mecee/domains/suspended/f1] does not exist
Warning: DocumentRoot [/home/mecee/domains/suspended/shop] does not exist
Warning: DocumentRoot [/home/mecee20/domains/qlol.net/public_html/www] does not exist
Warning: DocumentRoot [/home/mecee26/domains/it228.com/public_html/www1] does not exist
Warning: DocumentRoot [/home/meyu/domains/suspended/clf2275] does not exist
Warning: DocumentRoot [/home/me04/domains/paopao.net.ru/public_html/us] does not exist
Warning: DocumentRoot [/home/meyu/domains/suspended/www] does not exist
Warning: DocumentRoot [/home/meyu/domains/suspended/bbs] does not exist
Warning: DocumentRoot [/home/meyu/domains/suspended/bbs] does not exist
Warning: DocumentRoot [/home/me13/domains/xymzzfj.meyu.net/public_html/bbs] does not exist
Warning: DocumentRoot [/home/meyu/domains/suspended/v.cnart.org] does not exist
Warning: DocumentRoot [/home/meyu/domains/suspended/lei] does not exist
Warning: DocumentRoot [/home/meyu/domains/suspended/qq] does not exist
Warning: DocumentRoot [/home/meyu/domains/suspended/kid] does not exist
Warning: DocumentRoot [/home/meyu/domains/suspended/blog] does not exist
Warning: DocumentRoot [/home/meyu/domains/suspended/bbs] does not exist
Warning: DocumentRoot [/home/mefree13/domains/aiblog.net.ru/public_html/www] does not exist
Warning: DocumentRoot [/home/wyyzcjw/domains/zujee.org.ru/public_html] does not exist
Warning: DocumentRoot [/home/kristy/domains/43n.cn/public_html/bbs] does not exist
Warning: DocumentRoot [/home/post02/domains/uisun.com/public_html/www] does not exist
Warning: DocumentRoot [/home/pw009/domains/selyye.meyu.net/public_html/cat] does not exist
Warning: DocumentRoot [/home/pw010/domains/juncan.pro/public_html] does not exist
Warning: DocumentRoot [/home/pw010/domains/juncan.pro/public_html/www] does not exist
[FAILED]
on /var/log/messages shows:
Oct 2 03:49:13 server kernel: httpd[19553]: segfault at 0000000000000055 rip 0000000000000055 rsp 0000007fbffff9d0 error 14

Running 64bit CentOS 4.4

Any idea what the problem is?
 
it being 64 bit may be your problem. Everyone I know who has tried centos 64 bit and others has had nothing but problems. There is no need for 64 bit on server anyway.
 
I think it's because CentOS 4.4, it works fine on CentOS 4.2
I tried google saw others has similar problem with CentOS 4.4
 
:sigh:

i tried to upgrade from 1.3, it went all the way through then refused to restart the apache service. So i used the info here: http://help.directadmin.com/item.php?id=54

and during the ./build all in step 3 after about 4 minutes of running the server closed my SSH session. Now its refusing all my ssh attempts.....

right now im screwed, i need help yesterday :confused:

running CentOS 4.3, any ideas?
 
got the build finished, followed the rest of the instructions....still failed.

[root@178 httpd]# /etc/init.d/httpd restart
Stopping httpd: [FAILED]
Starting httpd: Syntax error on line 97 of /etc/httpd/conf/httpd.conf:
Cannot load /usr/lib/apache/mod_security.so into server: /usr/lib/apache/mod_security.so: cannot open shared object file: No such file or directory
[FAILED]
 
Scubasteve said:
got the build finished, followed the rest of the instructions....still failed.

make sure mod_security lines are commented out of your httpd.conf

or remove it completely and recompile.

you are probably compiling apache 2 with mod security for apache 1
 
Last edited:
--------------------------------------------------------------+
| |
| For details on getting started with mod_perl 2, see: |
| |
| http://perl.apache.org/docs/2.0/use...start_fast.html |
| |
| |
| Found a bug? File a bug report: |
| |
| http://perl.apache.org/bugs/ |
| |
+--------------------------------------------------------------+
Done modperl-2.0.
[root@idcjc customapache]# ./build zend
File already exists: ZendOptimizer-3.0.1-linux-glibc21-i386.tar.gz

Location of php.ini:
/usr/local/lib
Press return to continue...

[1]+ Stopped ./build zend
[root@idcjc customapache]# /sbin/service httpd restart
Stopping httpd: [FAILED]
Starting httpd: Syntax error on line 7 of /usr/local/directadmin/data/users/admin/httpd.conf:
Port was replaced with Listen in Apache 2.0
[FAILED]
[root@idcjc customapache]#



Please help me !

my MSN [email protected]
thanks you!
 
Character Problem

Hi,

I upgrade my apache server from 13.33 to 20.59 and now we have a character problem on web sites.

Can you help me about solution please?

Thanks so much
[root@debianhosting root]# service httpd restart
Stopping httpd: [ OK ]
Starting httpd: Warning: DocumentRoot [/home/tazz/domains/09hs.com/public_html/emrbs] does not exist
[Sat Oct 07 21:30:50 2006] [error] VirtualHost 212.175.208.118:0 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results
[Sat Oct 07 21:30:50 2006] [error] VirtualHost 212.175.208.118:0 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results
[ OK ]
????
 
Last edited:
Update done, no problems thanks.

AKIN,

For karakter problem do this :

Edit /etc/httpd/conf/httpd.conf

Find the line that says:

AddDefaultCharset UTF-8

Change this to:

AddDefaultCharset iso-8859-9

Save and Exit the file.

Restart apache to save the changes
 
Scubasteve said:
got the build finished, followed the rest of the instructions....still failed.

The problem is that for some reason apxs puts the wrong directory prefix in the LoadModule line.

For instance:

Code:
LoadModule  security_module   lib/apache/mod_security.so

when it should be

Code:
LoadModule security_module    modules/mod_security.so

changing the LoadModule line to point to the right location will fix it.
 
Why when running './build php_ap2 y' does it compile php4.4.4 when im currently running 5.1.6? Should i have put './build php_ap2 n'?

EDIT: Edited the php version number in the build file (to 5.1.6) and ran using php_ap2 n as 'y' crashed the shell and all worked fine :)
 
Last edited:
Hello i try to update apache to 2.* and no i get the next error when i try to start httpd.

Cannot load /usr/lib/apache/libphp4.so into server: /usr/lib/apache/libphp4.so: cannot open shared object file: No such file or directory

I read here a other member with the same probs, but not te solution of it.

someone can help me ?

Edit: OS = Debian Sarge.

Hans
 
nope 4.4.4

I have start again after i have removed the old php directory

everything look ok till this :

Trying to make php...
make: *** target specify'd en no makefile found. Stop.

what i have to do now ??

Hans

Sorry voor my bad english :(
 
Last edited:
Back
Top