Page 1 of 1

LAMP on a PS3

PostPosted: 25 Apr 2009, 23:02
by Taellik
Who says you can't do much with YDL on a PS3 ? :evil:

I now have a fully operating LAMP ( Linux / Apache / MySQL / PHP ) environment running on my PS3 ! :D

It is now a fantastic development / test box with :

    A web server ( Apache )

    Web scripting language ( PHP )

    Database engine ( MySQL )

    7 programming languages ( C / C++ / Fortran / Java / Lua / Perl / Python )

Let's see any other game console match what you can do with YDL on a PS3 !

C'mon, I double-dog dare you ! :P

Taellk

Re: LAMP on a PS3

PostPosted: 28 Aug 2009, 03:25
by anubis1127
Taelik,

I'm pretty newbish when it comes to linux, but have also managed to install Apache, MySQL, and PHP on YDL 6.2. I believe they are functioning correctly, MySQL seems to be running:

[root@MyPS3 dan]# mysqladmin version
mysqladmin Ver 8.41 Distrib 5.0.45, for yellowdog-linux-gnu on powerpc
Copyright (C) 2000-2006 MySQL AB
This software comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to modify and redistribute it under the GPL license

Server version 5.0.45
Protocol version 10
Connection Localhost via UNIX socket
UNIX socket /var/lib/mysql/mysql.sock
Uptime: 36 min 56 sec

Threads: 1 Questions: 2 Slow queries: 0 Opens: 12 Flush tables: 1 Open tables: 6 Queries per second avg: 0.001

although I haven't been able to setup any users yet.

Apache, and PHP are both working as I was able to view a test.php page I created with the < ?php phpinfo() ?>

I will have to do some more testing/configuring to get MySQL playing nicely, but so far I am pretty excited. That myPHPAdmin program you mentioned sounds interesting, I think that's next!


Dan

Re: LAMP on a PS3

PostPosted: 10 Sep 2009, 15:58
by Taellik
I will have to do some more testing/configuring to get MySQL playing nicely, but so far I am pretty excited. That myPHPAdmin program you mentioned sounds interesting, I think that's next!


Hiya Dan,

It took me a cpl tries and a little hair pulling but it will work. ( My Firefox had the "work offline" box checked so it took me a while to figure out why pages not loading ! :oops: )

Once you get the PHPmyAdmin on its feet, it will make creating your databases / tables a breeze ! < whoosh ! >

Taellik

Re: LAMP on a PS3

PostPosted: 25 Oct 2009, 19:20
by DerXylakant
can you please post a quick installation guide? I'ts not working for me (PS3, Yellow Dog 6.2, Gnome window manager). I get the message:

Code: Select all
[root@localhost ~]# mysql
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)


I'm not sure if I have installed all packages needed at all. YUM tells me there is no package called apache2 which I thought it should be called. Is the apache server installed by default by the way?

Please help me out.

Re: LAMP on a PS3

PostPosted: 12 Nov 2009, 14:59
by Taellik
DerXylakant,

There isn't much of a walk-thru I can give you.

I used the package installer that comes with YDL to install each application. I didn't go to the terminal/console for anything to install.

Taellik

Re: LAMP on a PS3

PostPosted: 10 Jun 2010, 00:22
by mmajidi
I am trying to update PHP 5.1 to PHP 5.2 on YDL6.1. Has anyone done this before? Please let me know.

Re: LAMP on a PS3

PostPosted: 10 Jun 2010, 01:26
by ppietro
mmajidi wrote:I am trying to update PHP 5.1 to PHP 5.2 on YDL6.1. Has anyone done this before? Please let me know.


Sorry - we don't allow double posts and/or piggybacking on threads on our forums. You've already asked this question, more or less, here:

viewtopic.php?f=4&t=7434&start=0

Therefore, I'm locking this thread to further postings.

Cheers,
Paul