Please Tell The HOW-TO-DO procedure to upgrade my Apache with PHP 4.3.10 + ZEND

The following steps will update PHP to 4.10 and Zend optimizer to 2.5.7 (as of today):

Log in as root, then build php and Zend:
Code:
# cd /usr/local/directadmin/customapache
# ./build update
# ./build php
# ./build zend

Then restart apache via the DA control panel or:

Code:
# apachectl restart

or 

# /etc/init.d/httpd restart
 
Problem when ./build php

I got problem during ./build php, it tells

Code:
/usr/libexec/elf/ld: cannot find -lltdl
*** Error code 1

Stop in /usr/local/directadmin/customapache/php-4.3.10.
-e \n*** The make has failed, do you want to try to make again? (y,n):
any idea?

it need any extra flag in "configure.php" ?

I also have problem in ./build zend
Code:
box1# ./build zend
Downloading             .tar.gz...
fetch: [url]http://files.directadmin.com/services/customapache/.tar.gz:[/url] Not Found
Fileserver is down, using the backup file server..
fetch: [url]http://www.directadmin.com/services/customapache/.tar.gz:[/url] Not Found
tar (child): .tar.gz: Cannot open: No such file or directory
 
Freebsd 5.3 ( Well Supported )

John is an AMAZING tech support for 5.3. I learnt a lot (i think not enough though) to get my server going. I love this guys

These are the outstanding issues and how they were resolved one at a time.

I build my system using a clean freebsd 5.3 system.

1. Apache keeps failing
Resolution :
1. Login in as admin
2. type su ( super used)
3. type in su's password ( normally the same as root )
4: type /usr/local/etc/rc.d/httpd restart

2. Everything seems fine but the world cannot seem to see your server
Resolution :
Fix the /etc/namedb/named.conf:
1. Login in as admin
2. type su ( super used)
3. type in su's password ( normally the same as root )
4. type vi /etc/namedb/named.conf:
5. type / 127
6. do the following

You'll want to make your /etc/namedb/named.conf look like:


// $FreeBSD: src/etc/namedb/named.conf,v 1.15.2.1 2004/09/30 23:36:07 dougb Exp $
//
// Refer to the named.conf(5) and named(8) man pages, and the documentation
// in /usr/share/doc/bind9 for more details.
options {
directory "/etc/namedb";
pid-file "/var/run/named/pid";
dump-file "/var/dump/named_dump.db";
statistics-file "/var/stats/named.stats";

};

zone "." {
type hint;
file "named.root";
};

zone "server1.needtohost.com" { type master; file "/etc/namedb/server1.needtohost.com.db";};
zone "needtohost.com" { type master; file "/etc/namedb/needtohost.com.db";};


Once it looks like that, then type:

rndc-confgen -a -s 69.60.121.167
/usr/local/etc/rc.d/named restart

7. press dd to delete this line ONLY
8. type :wq


3. SquirrelMail stopped working
make sure xinetd is running. (inetd on freebsd)
http://help.directadmin.com/item.php?id=18

4. Cannot change password for email!
that is because the file DOES NOT Exist

1. Login in as admin
2. type su ( super used)
3. type in su's password ( normally the same as root )
4. type vi /usr/local/directadmin/data/templates/email_pass_change/index.html
5. type a
6. paste the following data below into the file

<html>
<head>
<title>
Change Email Password
</title>

<style>
*{ FONT-SIZE: 8pt; FONT-FAMILY: verdana; }
b { FONT-WEIGHT: bold; }
.listtitle { BACKGROUND: #425984; COLOR: #EEEEEE; white-space: nowrap; }
td.list { BACKGROUND: #EEEEEE; white-space: nowrap; }
</style>
</head>
<body>
<center>
<br><br><br>
<b>Change E-Mail Password</b>
<br><br>
<table cellpadding=5 cellspacing=1>
<form action="/CMD_CHANGE_EMAIL_PASSWORD" method="POST">
<input type=hidden name=redirect value="/">
<tr><td class=listtitle colspan=2>Enter the required information below</td></tr>
<tr><td class=list align=right>Email Address:</td><td class=list><input type=text name=email size=32></td></tr>
<tr><td class=list align=right>Old Password:</td><td class=list><input type=password name=oldpassword size=32></td></tr>
<tr><td class=list align=right>New Password:</td><td class=list><input type=password name=password1 size=32></td></tr>
<tr><td class=list align=right>Re-Type Password:</td><td class=list><input type=password name=password2 size=32></td></tr>
<tr><td class=listtitle colspan=2 align=right><input type=submit value="Change Password"></td></tr>
</form>
<table>
<br><br>

</center>
</body>

</html>
7. type :wq


My Server specs are as follows:
AMD 2000+
256 MB SDRAM
40 GB Hard Drive
200 GB Traffic
100Mbps Connection

Interested do contact me :)


Thanks again John, please do fic the email thingy in the next update.

I will be trying to update webmail so it also has the ability to have a change email button somewhere..
I know its silly but necessary, so stay tuned...
 
Back
Top