[mythtv-users] alt lightweight web servers for MythTV?
James Miller
gajs-f0el at dea.spamcon.org
Thu Apr 16 17:44:38 UTC 2015
On Thu, 16 Apr 2015, George Nassas wrote:
> Argh! Back to square one, hopefully for a different reason. It’s not
> clear why the db connection still isn’t being made so lets try that
> test.php with:
>
> <?php
> mysql_connect('localhost', 'mythtv', 'mythtv') or die('Could not connect: ' . mysql_error());
> mysql_select_db('mythconverg') or die('Could not select database');
> ?>
No output when, having pasted that content into test.php in place of the
former content, I curl that file. Just returns me to the command prompt.
> and curl http://localhost/test.php <http://localhost/test.php>. It could
> be the various versions aren’t matching up so you could create a
> info.php:
>
> <?php
> echo phpinfo();
> ?>
>
> and curl that. You may be able to browse to it from a desktop machine
> too. The output is huge and html so I’d put it in pastebin.com
> <http://pastebin.com/> instead of attaching to an email.
Yeah, that's a lot of output. I can look at it using a graphical browser
on localhost, but I don't get much out of it. See
http://pastebin.com/45TRG0Pi
> I agree you’re close, it’s just this strange php/mysql part that’s
> failing, I think everything else has been tested and works.
I did, in a bit of preliminary searching last night, run across this
thread http://www.gossamer-threads.com/lists/mythtv/users/560108 where
Mike Perkins claimed, a couple of years ago, that he'd resolved a problem
like mine (see post #7). Does his resolution provide any helpful
information?
Thanks for sticking with me on this, George. I'd be totally lost without
some guidance on things to try in hopes of resolving this.
More information about the mythtv-users
mailing list