l i n u x - u s e r s - g r o u p - o f - d a v i s
L U G O D
 
Next Meeting:
September 2: Social gathering
Next Installfest:
TBD
Latest News:
Aug. 18: Discounts to "Velocity" in NY; come to tonight's "Photography" talk
Page last updated:
2003 Dec 17 10:14

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
[vox-tech] php4-cgi/mysql on debian woody: interesting note
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vox-tech] php4-cgi/mysql on debian woody: interesting note



Hi--

noticed something a little odd about debian (woddy), and php4-cgi/mysql

Background: 

I am running identical versions of debian (stable) , mysql, and php4 on 2
different x86 boxes.

dpkg -l | grep php4 produces the same on both machines:
ii  php4           4.1.2-6woody3  A server-side, HTML-embedded s
ii  php4-apc       1.1.0pl1-6     Caches PHP scripts to get them
ii  php4-cgi       4.1.2-6woody3  A server-side, HTML-embedded
ii  php4-mysql     4.1.2-6woody3  MySQL module for php4
ii  php4-pear      4.1.2-6woody3  PEAR - PHP Extension and Applicat

dpkg -l | grep mysql produces the same on both machines:
ii  libdbd-mysql-p 1.2216-2       mySQL database interface for Perl
ii  libmysqlclient 3.23.49-8.5    mysql database client library
ii  mysql-client   3.23.49-8.5    mysql database client binaries
ii  mysql-common   3.23.49-8.5    mysql database common files
ii  mysql-server   3.23.49-8.5    mysql database server binaries
ii  php4-mysql     4.1.2-6woody3  MySQL module for php4


however: 
on one machine `php4 -m` (the cgi version of php4) shows that it has support
for mysql....

whereas, on the other machin `php4 -m` shows that there is no support for
mysql.....

the apache module for php works perfectly with mysql on BOTH machines

i tried moving a copy of 'php4' from the working machine, but `php4 -m`
still reports no support for mysql....


Solution:

after checking '/etc/php4/cgi/php.ini' on both machines i noticed that one
had 'extension=mysql.so' at the very end...while the other (the one that
didn't work) did not. apparently the order in which i installed these
packages made some sort of difference, and i ended up with one working, and
one non-working machine. needless to say both are working just fine now.

just thought that i would share that.


Dylan

-- 
"The world is a dangerous place to live; not because of the people who are
evil, but because of the people who don't do anything about it."
-Albert Einstein

_______________________________________________
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech



LinkedIn
LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
facebook
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
O'Reilly and Associates
For numerous book donations.