[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Raq 3 and PHP4



You can install php from source if you want.  Here are the directions that
work for me:

Just download the source untar then
cp /usr/sbin/apxs /tmp
vi /tmp/apxs
find the line that reads:
my $CFG_SBINDIR       = '/usr/bin';       # substituted via APACI install
change to:
my $CFG_SBINDIR       = '/usr/sbin';       # substituted via APACI install

then:
./configure --with-apxs=/tmp/apxs
make
su
make install

add any other --with directives such as --with-mysql, etc. If you want to
use the
MySQL libraries included with MySQL is think you need a --with-mysql
pointing to
the mysql source tree.

now, you'll need to cp the php.ini-dist or php.ini-optimized to
/usr/local/lib/php.ini and modify it to taste. To get apache to load the
module,
edit your /etc/httpd/conf and add only:

LoadModule php4_module        /usr/lib/apache/libphp4.so

and...

/etc/rc.d/init.d/httpd reload




----- Original Message -----
From: Zenden XS4all <mike@xxxxxxxxxxxxx>
To: <cobalt-users@xxxxxxxxxxxxxxx>
Sent: Monday, November 20, 2000 3:39 PM
Subject: [cobalt-users] Raq 3 and PHP4


> Hello,
>
> Does anybody know if there is a PHP4 package for the RaQ3?
>
> I can't find it on the Cobalt FTP servers.
>
> Thanks,
>
> Mike
>
> _______________________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> To Subscribe or Unsubscribe, please go to:
> http://list.cobalt.com/mailman/listinfo/cobalt-users
>