[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] PHP 4.0.6 on Raq3...thanks and MySQL internal support question



Folks;

   PHP 4.0.6 appears to be running correctly on my Raq3, thanks to bunches of
people who posted to the archives, particularly Jens Peter Möller for his
post last Friday detailing required changes to /usr/sbin/apxs (see
http://list.cobalt.com/pipermail/cobalt-users/2001-July/047680.html ) - one
anomoly I found and corrected after a 'make install' was a path error in
httpd.conf:

#LoadModule php4_module        lib/apache/libphp4.so
LoadModule php4_module        /usr/lib/apache/libphp4.so

   I probably should have taken the advice I read and NOT done a 'make
install' instead hand-copying the lib file over, but it's working, so I won't
beat myself up too hard over it.

   The connection between PHP and MySQL seems to be fine, too (I've populated
the databases and tables with some dummy data and am able to do the usual
mysql_Connect() and then SELECTs, et al), but I'm a little worried about the
configure warning, suggesting that if one is to use mod_perl or other methods
of accessing the MySQL tables, one should NOT use built-in support for MySQL,
but should rather point configure directly to the MySQL subdirectory.

   Since I used the RaQ3 .pkg file at pkg.nl.cobalt.com, there isn't any
source to point configure _to_ (at?). Should I be concerned about this?
Should I pull the MySQL source tree and re-install it? Should I be careful
and never use perl to access the MySQL data? Should I just be happy that
PHP/MySQL work at all, and forget I ever saw that warning? Should I just jump
out a window and end it all? Will John really stay married to Marsha?

         Charlie