Don't know where to post this but thought I would start here.
I had been runnig php apache and mysql on a windows box and have decided to make the move to linux. It seems however that when I try running some of the scripts I get this error message.
Warning: Supplied argument is not a valid MySQL result resource in /usr/local/lib/php/login.inc on line 26
I always log in as root. I don't have any other users. If I type mysql at the command prompt, I receive the mysql prompt.
Downloaded the latest build for PHP4. I have a test.php file with this syntax to see if php is working: <? phpinfo() ?>. No problems there.
I am running Redhat 6.2, with the MySql-3.22.32-1.i386 and php-4.0.3pl1.
MySql was loaded from an RPM and php was untarred and installed.
Any help would be greatly appreciated. I've been all over the web, webmonkey, php.net, mysql.com and can't find why this isn't working.
It's probably something stupid on my part.
Thanks!
LinuxNewbie