--h31gzZEtNLTqOjlF
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Aug 27, 2003 at 10:29:31AM -0400, [EMAIL PROTECTED] wrote:
> I've been trying to get PHP CLI working with Mysql with no luck.  After
> much research I found out that php -m will list the loaded modules...
> but mysql is not one of them (however mysql works fine with apache
> modphp).
>=20
> How do I go about getting this from Debian?  I've tried "apt-get install
> php4" with no luck.  Do I need to compile Mysql support in this version
> of PHP?  If so, then where do I get the debian sources?

I think apt-get install php4-mysql should work.

> Also, I seem to be confused about how php-cgi, mod-php, and php-cli
> exist on the same machine if there is only 1 php binary.  If I compile
> php, does this affect mod-php and php-cgi?

I think there are only two kinds of php in debian. One is mod-php which
is a module for the apache webserver and the other is php-cgi which is a
normal executable which can be used for scripts (whether cgi or
otherwise).

Bijan
--=20
Bijan Soleymani <[EMAIL PROTECTED]>
http://www.crasseux.com

--h31gzZEtNLTqOjlF
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE/UYFJUof+95vTyAwRAt3FAKCkWpyQbPSs5Z9BOBLzb9u3M6U+MgCeJlyW
w6GotJISdXAITFxwBt1cNFs=
=UXnh
-----END PGP SIGNATURE-----

--h31gzZEtNLTqOjlF--


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to