[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] [RaQ 4] Some (easy?) questions from a newbie
- Subject: Re: [cobalt-users] [RaQ 4] Some (easy?) questions from a newbie
- From: "Steve Werby" <steve-lists@xxxxxxxxxxxx>
- Date: Fri Jun 1 17:04:45 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
"Rüdiger Seemann" <r.seemann@xxxxxxxxx> wrote:
> My problem is, that i need php with ftp functionality (not enabled
> by default) and thanks to Steve Werby and others here i know
> that i have to recompile php with --enable-ftp. That sounds easy
> first, but for a newbie like me some questions need to be answered
> before i could begin to recompile (i downloaded the new
> php-4.0.5.tar.gz-file):
Thanks for the praise. I wanted to mention that if you decide to compile
PHP with mnogosearch support (a very nice open source search engine) there
is a conflict between it and FTP. Seems mnogosearch has FTP functions built
in so if you compile --with-mnogosearch (new config option available in PHP
4.0.5+), do not specify the --enable-ftp config option. I doubt many people
are configuring with mnogosearch support, but for the sake of those that
might or who are searching the archives months from now it would be nice if
someone documented it.
> 3a. Do i have to unistall the old php 4.0.1pl2 version before recom-
> piling and how do i do that?
No, you don't need to uninstall anything.
> 3b. How and in which directory do i have to gunzip/recompile the new
> php code?
It doesn't matter where you gunzip / untar it. I usually do in a directory
like /home/work/ so I know where all my source files are. Install
instructions are in the source tarball and are online at www.php.net.
> 3c. What do i have to do to recompile php with the same options Cobalt
> used plus ftp support (and maybe other additional options)?
I think I already posted this in a reply to you...if I didn't on-list I did
off-list. I told you how to find using phpinfo(), read the install
instructions to understand how to do it. Also after you unpack the source,
./configure --help will give you configuration options.
> 3d. Do i have to manipulate some other .conf-files after recompiling
or
> does php work properly together with apache and mysql directly
> after the installation?
It will work with Apache if you install --with-apxs or
alternately --with-apache and reinstall Apache, but believe me the latter
option is going to be magnitudes more difficult and if you're asking the
questions you are I don't advize going down that road. If you want it to
work with MySQL make sure you configure --with-mysql. Restart Apache after
you finish the install and it should work fine.
--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/