Advise needed: Migrating from Debian to FreeBSD

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
myleow
Forum Contributor
Posts: 194
Joined: Mon Jun 21, 2004 7:05 pm
Location: California

Advise needed: Migrating from Debian to FreeBSD

Post by myleow »

I am currently considering switching from Debian-Stable to FreeBSD for my development server.

Could anyone comment on this on issues of
1) Package Management System
2) PHP compatibility issues (would PHP codes from Debian work on FreeBSD without bug)
3) PostgreSQL compatibility issues (would SQL from Debian work on FreeBSD without bug)
4) And any other points/advise/comments that you would like to share

Regards
Mian
User avatar
phice
Moderator
Posts: 1416
Joined: Sat Apr 20, 2002 3:14 pm
Location: Dallas, TX
Contact:

Post by phice »

2) PHP compatibility issues (would PHP codes from Debian work on FreeBSD without bug)
Apart from directory locations, configuration settings (like config.php files), and the like - you shouldn't have a problem at all with using the same PHP code.
Image Image
timvw
DevNet Master
Posts: 4897
Joined: Mon Jan 19, 2004 11:11 pm
Location: Leuven, Belgium

Post by timvw »

pkg_add and then portage system are nice (but because of habitude i like apt-get more)

freebsd is by default more restricted than debian, fe you will have to add users to the wheelgroup if you want to allow them to "su"
User avatar
m3mn0n
PHP Evangelist
Posts: 3548
Joined: Tue Aug 13, 2002 3:35 pm
Location: Calgary, Canada

Post by m3mn0n »

phice wrote:2) PHP compatibility issues (would PHP codes from Debian work on FreeBSD without bug)
Apart from directory locations, configuration settings (like config.php files), and the like - you shouldn't have a problem at all with using the same PHP code.
My thoughts also.

Operating system doesn't have much to do with how your code will operate--barring any use of OS-specific things like [php_man]win32api[/php_man] and shell commands via [php_man]exec[/php_man]().

As long as you coded your code to be portable, besides updating a few config settings, you should be good to go.
myleow
Forum Contributor
Posts: 194
Joined: Mon Jun 21, 2004 7:05 pm
Location: California

Post by myleow »

Thank you for all the information
myleow
Forum Contributor
Posts: 194
Joined: Mon Jun 21, 2004 7:05 pm
Location: California

Configuring FreeBSD is not fun

Post by myleow »

Configuration wise, i think Debian is easier. I have been messing around with FreeBSD minimum installation for the entire night and stil hasn't gotten far.

When i install Apache using the sysinstall since i forgot to install Ports. I couldn't find the httpd.conf file anywhere. I checked the FreeBSD handbook and the mentioned directory doesn't even exist let alone the file.

Just frustrating, hate confguring stuff like this.

Regards
Mian

P.S. Any one has good newbie resources for newbie on FreeBSD please post it so i can read. Don't give me FreeBSD Handbook though, its too comprehensive for my current tired-state liking.
kettle_drum
DevNet Resident
Posts: 1150
Joined: Sun Jul 20, 2003 9:25 pm
Location: West Yorkshire, England

Post by kettle_drum »

You dont have to mess about with the ports though - just compile apache and things yourself. FreeBSD is certainly secure and powerful.
Post Reply