hi. i installed apache, mysql, and php4 using the .deb packages by this: apt-get install apache mysql-serve php4-mysql and although the "phpinfo()" test works to confirm that apache *is* working with php, i'm unable to confirm whether php and mysql works together. this i found out later when i created some sample php scripts. i was using "mysql_connect()" and i would get the error message that "mysql_connect()" is an undefined function. i searched "www.faqts.org" for answers and was told that either i have to put: dl("mysql.so"); on top of every php script i create or recompile php using the "--with-mysql" switch. i tried the first option and got: Unable to load dynamic library '$(prefix)/lib/php4/mysql.so' - $(prefix)/lib/php4/mysql.so: cannot open shared object file: so my other option is to recompile but i'm not using the source so i must be missing some .deb packages. the question is which package? -- -------------------------------------------------------------------- Key fingerprint = 9DE1 5825 77B4 FF45 7485 D3EB DCCF DE48 09B6 4426 -------------------------------------------------------------------- "Who's watching the watchmen?"
Attachment:
pgpAc6x7Gbfxk.pgp
Description: PGP signature