php-cli no mysql module for non-root
From: DBenson (davebenson[_at_)
Date: 02/28/04
- Next message: Pedro Graca: "Re: echo or not to echo?"
- Previous message: Marco: "Re: echo or not to echo?"
- Next in thread: Pedro Graca: "Re: php-cli no mysql module for non-root"
- Reply: Pedro Graca: "Re: php-cli no mysql module for non-root"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 27 Feb 2004 17:29:06 -0800
So far I've been unable to find anything that addresses this one...
Basically, if I am logged in as root and issue a "php -m", mysql is in the
list of installed modules. If I log in or su to a normal user and do the
same then mysql is *not* in the list and I cannot use mysql_connect (or any
other mysql function)...
Any ideas on why this is or how to fix it?
Notes:
# php -v
PHP 4.3.3 (cgi-fcgi) (built: Nov 4 2003 14:05:47)
Copyright (c) 1997-2003 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2003 Zend Technologies
Module list as root:
bcmath,bz2,calendar,ctype,dba,dbase,ftp,gd,gmp,imap,mysql,openssl,overload,pcre,
posix,session,shmop,sockets,standard,sysvsem,sysvshm,tokenizer,xml,yp,zlib
Module list as non-root:
bcmath,bz2,calendar,ctype,dba,dbase,ftp,gd,gmp,imap,openssl,overload,pcre,posix,
session,shmop,sockets,standard,sysvsem,sysvshm,tokenizer,xml,yp,zlib
Thanks,
DBenson
- Next message: Pedro Graca: "Re: echo or not to echo?"
- Previous message: Marco: "Re: echo or not to echo?"
- Next in thread: Pedro Graca: "Re: php-cli no mysql module for non-root"
- Reply: Pedro Graca: "Re: php-cli no mysql module for non-root"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|