On Thu, 2004-08-12 at 22:06, Martin, Stanley G [CGEY Contractor for Sprint] wrote: > Yes, MySQL 4.0.20 is installed and running. I'm running a flavor of RedHat called > WhiteBox Linux. My output from uname is: > > Linux <server name> 2.4.21-15.EL #1 Sun May 16 02:07:24 EDT 2004 i686 i686 i386 > GNU/Linux > > I currently have PHP: > PHP 4.3.7 (cli) (built: Jul 8 2004 16:13:10) > Copyright (c) 1997-2004 The PHP Group > Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies > > Stanley G. Martin > System Administrator > Sprint – EAS Business Intelligence > 913.762.8667 > 913.221.8241 PCS > [EMAIL PROTECTED]
Martin, I've not used Whitebox but it has a good reputation. As PHP 5 lives in a different directory, what I did was to copy the configure line from my existing PHP 4 (using a phpinfo() call) and use that _exactly_ for PHP 5. I commented out the LoadModule line for PHP 4 in httpd.conf but copied it and edited it for PHP 5, then restarted the webserver. A call to phpinfo() then reported PHP5. That was all with the MySQL in FC2 (3.23 I think) rather than 4.x. My phpinfo() reports the configure part for mysql as "--with-mysql=shared,/usr" and it looks like your configure just cannot find mysql. I think if you do a phpinfo() on your current PHP4 then the mysql part may be different from what you presently have, and that may prove to be the problem. HTH Chris PS May we also keep this on the list please, it may help others.