From: "Jonathan Slivko" <js43064n@xxxxxxxx>
Reply-To: cobalt-users@xxxxxxxxxxxxxxx
To: <cobalt-users@xxxxxxxxxxxxxxx>
Subject: RE: [cobalt-users] Install php 4 on raq 3
Date: Thu, 8 Nov 2001 13:00:40 -0500
Why not use the PHP 4.0.6 package available at
http://pkg.nl.cobalt.com? -- Jonathan
-----------------------------------------------------
Jonathan Slivko - Voyager Internet - www.voyageri.net
Web Hosting - Web Design - Dedicated Services
js43064n@xxxxxxxx - Phone: (877) 211-7842
---------- Original Message ----------------------------------
From: "Andy Brown" <andy.brown@xxxxxxxxxxxxx>
Reply-To: cobalt-users@xxxxxxxxxxxxxxx
Date: Thu, 8 Nov 2001 16:34:17 -0000
>> Hello, I just want to confirm settup of php 4 on raq 3
>>
>> so I don't crush my system or pull my hair ;)
>
>
>Okay, here is the definitive RAQ 3 guide to installing PHP. Its
pretty
>painless when you do it this way, and I've had it put onto our
raq's for
>a while now and never had a problem:
>
>1> download from php.net
>2> untar, run configure --with-mysql --with-apxs --enable-ftp
> (change the configure params, as per your needs)
>
>3> make
>4> edit with vi or pico the file /usr/sbin/apxs
> Line 80:
> my $CFG_SBINDIR = '/usr/sbin';
> ^ make sure it points
to /usr/sbin
>not /usr/bin
>
>Also:
>
> Line 203:
> ($rc, @ARGV) = &Getopts("qn:gco:I+D+L+l+S+W+iaA",
>@ARGV);
> This line should read as I have above. Normally
its:
> ($rc, @ARGV) = &Getopts("qn:gco:I+D+L+l+W+iaA",
@ARGV);
> [in other words, remove the +S ]
>
>5> make install
>
>6> edit with pico or vi /etc/httpd/conf/httpd.conf
> Add or uncomment:
> LoadModule php4_module /usr/lib/apache/libphp4.so
>
>7> Edit with pico or vi /etc/httpd/conf/srm.conf
>
> add in or uncomment:
>
> AddType application/x-httpd-php .php3
> AddType application/x-httpd-php .php4
> AddType application/x-httpd-php .php
> AddType application/x-httpd-php .htm
>
>
>
>8> Save files and restart apache with /etc/rc.d/init.d/httpd
>restart
>
>That should get your php going!
>
>Andy
>andy@xxxxxxxxxxxxxxxxxxxxx
>http://ineedlinux.info/
>
>_______________________________________________
>cobalt-users mailing list
>cobalt-users@xxxxxxxxxxxxxxx
>To Subscribe or Unsubscribe, please go to:
>http://list.cobalt.com/mailman/listinfo/cobalt-users
>
___________________________________________________________________
___
Sent via the Pace University Mail system at stmail.pace.edu
_______________________________________________
cobalt-users mailing list
cobalt-users@xxxxxxxxxxxxxxx
To Subscribe or Unsubscribe, please go to:
http://list.cobalt.com/mailman/listinfo/cobalt-users