DA use on FreeBSD 7.0

brundle

Verified User
Joined
Apr 16, 2004
Messages
32
Location
Portland, OR
What is the process and timeline for getting DA tested, updated and "certified" to use on FreeBSD 7.0?
 
DA and I (perhaps others as well) are working on this to see how far we can go. It seems that the -BETA version works fine, though ZendOptimizer might cause some problems, or at least it crashes for me on 7.x, you can disable it and then everything keeps working fine, except that the webfrontend starts showing ???'s in the display then :)

If one has additional feedback, please let me know ;)
 
Last edited:
Had the same problem, fixed by a user a while ago..
just comment extension=mbstring.so in /usr/local/etc/php/extensions.ini
that's because you have by default mbstring support already compiled with php
you can check it by a cd /usr/ports/lang/php5, make config
if mbstring is checked comment it out in extensions.ini

(the default order of extensions in this file is crashing php, if you try a php -v in your shell you may see a seg fault, so you have to reorder the extensions)
 
Hello,

Thanks for that information, I first suspected session.so to be responsible for this, I moved it up the list and commented (;) out the mbstring.so definition. So far that indeed appears to have the right effect..

Thanks!
Remko
 
Sometimes php -v outputs a seg fault, but the php module works ok (all pages seems ok). Just in case i give you the order that i use to be ok.
i also named extensions.ini extensions.ini.work, so after a portupgrade i copy it over the new extensions.ini that portupgrade installs (mbstring is commented out).

extension=yaz.so
extension=recode.so
extension=fileinfo.so
extension=filter.so
extension=fribidi.so
extension=json.so
extension=posix.so
extension=zip.so
extension=dba.so
extension=bcmath.so
extension=ming.so
extension=sybase_ct.so
extension=ftp.so
extension=sysvsem.so
extension=iconv.so
extension=sysvshm.so
extension=sysvmsg.so
extension=tidy.so
extension=dbase.so
extension=snmp.so
extension=shmop.so
extension=xmlwriter.so
extension=simplexml.so
extension=spl.so
extension=sqlite.so
extension=ncurses.so
extension=mhash.so
extension=odbc.so
extension=pcntl.so
extension=curl.so
extension=xml.so
extension=calendar.so
extension=pgsql.so
extension=gmp.so
extension=pdo.so
extension=ldap.so
extension=exif.so
extension=pdo_sqlite.so
extension=mysqli.so
extension=xmlrpc.so
extension=dom.so
extension=xsl.so
extension=readline.so
extension=gettext.so
extension=xmlreader.so
extension=mssql.so
extension=tokenizer.so
extension=sockets.so

extension=hash.so
extension=imap.so
extension=gd.so
extension=ctype.so
extension=session.so
extension=openssl.so
extension=mysql.so
extension=zlib.so
extension=mcrypt.so
extension=bz2.so
;extension=mbstring.so
extension=pcre.so
extension=soap.so
extension=wddx.so
extension=pspell.so
extension=pdf.so
 
I installed DA on freebsd 7.0

It worked pretty much flawlessly from what i can see so far except php wouldn't compile automatically.

php depends on libpng to compile and install.

It would not work with the version of libpng automatically downloaded with the build script
It downloads libpng-1.2.8.tar.gz

However for me to get it to work i had to download libpng-1.2.25.tar.gz manually , compile and install it.
This then allowed php to compile.
 
Also
FYI when i run php -v
I do not get a seg fault

php -v
PHP 5.2.5 (cli) (built: Mar 26 2008 19:04:11)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
with Zend Extension Manager v1.2.0, Copyright (c) 2003-2007, by Zend Technologies
with Zend Optimizer v3.2.8, Copyright (c) 1998-2007, by Zend Technologies
 
In consultation with the DirectAdmin team some issues with the install script have been patched. Installing DirectAdmin on a fresh FreeBSD7 box works fine now. The only issue I encountered is that the exim package for FreeBSD7 doesn't allow the 'demime' keyword in exim.conf
 
Can I normal USE FreeBSD 7.0 64bit with DA?
My server conf:
5000V
2x5410
8GB FB-DDR2
RAID1-2x1000GB ES.2
I'll need recover my sites from DA backup from FreeBSD 6.2 32bit
does anyone problems I have?
 
Also
FYI when i run php -v
I do not get a seg fault

php -v
PHP 5.2.5 (cli) (built: Mar 26 2008 19:04:11)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
with Zend Extension Manager v1.2.0, Copyright (c) 2003-2007, by Zend Technologies
with Zend Optimizer v3.2.8, Copyright (c) 1998-2007, by Zend Technologies

php seg faults sometimes when you install php from freebsd ports collection... if you compile it from source or by da's script you 'll not see any problem..
 
php seg faults sometimes when you install php from freebsd ports collection... if you compile it from source or by da's script you 'll not see any problem..

Why would you compile it from the ports when directadmin keeps php up to date?
 
I am using FreeBSD7 on a DA server.

Its been a while since I installed it but it was only issues on the install script itself I had and once installed I believe DA is running fine certianly no php issues however I am using things like png from ports and not the installer.

On the install script there was issues I just cant remember what.
 
Anyone tried to upgrade from 6.2 to 7 or 6.3?
I 'm not using DA's packages, all are replaced with freebsd's ports.
 
I certainly wouldn't do that in a production enviroment :)

Anyone tried to upgrade from 6.2 to 7 or 6.3?
I 'm not using DA's packages, all are replaced with freebsd's ports.
 
Back
Top