LAMP on a PS3

Discuss software development issues here.

LAMP on a PS3

Postby Taellik » 25 Apr 2009, 23:02

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
PS3 80GB, FW 3.21
EyeToy II
NO YDL 6.2 due to 3.21 firmware upgrade
PSP
PSP Go! Cam
User avatar
Taellik
ydl addict
ydl addict
 
Posts: 195
Joined: 29 Dec 2008, 12:41
Location: Raleigh NC and God's Favorite Nation --> THE United States of America

Re: LAMP on a PS3

Postby anubis1127 » 28 Aug 2009, 03:25

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
40 gb PS3 YDL 6.2 with xfce 4.4
anubis1127
ydl newbie
ydl newbie
 
Posts: 2
Joined: 06 Apr 2009, 19:25
Location: Philly

Re: LAMP on a PS3

Postby Taellik » 10 Sep 2009, 15:58

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
PS3 80GB, FW 3.21
EyeToy II
NO YDL 6.2 due to 3.21 firmware upgrade
PSP
PSP Go! Cam
User avatar
Taellik
ydl addict
ydl addict
 
Posts: 195
Joined: 29 Dec 2008, 12:41
Location: Raleigh NC and God's Favorite Nation --> THE United States of America

Re: LAMP on a PS3

Postby DerXylakant » 25 Oct 2009, 19:20

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.
DerXylakant
ydl newbie
ydl newbie
 
Posts: 8
Joined: 13 Sep 2009, 11:30

Re: LAMP on a PS3

Postby Taellik » 12 Nov 2009, 14:59

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
PS3 80GB, FW 3.21
EyeToy II
NO YDL 6.2 due to 3.21 firmware upgrade
PSP
PSP Go! Cam
User avatar
Taellik
ydl addict
ydl addict
 
Posts: 195
Joined: 29 Dec 2008, 12:41
Location: Raleigh NC and God's Favorite Nation --> THE United States of America

Re: LAMP on a PS3

Postby mmajidi » 10 Jun 2010, 00:22

I am trying to update PHP 5.1 to PHP 5.2 on YDL6.1. Has anyone done this before? Please let me know.
mmajidi
ydl newbie
ydl newbie
 
Posts: 15
Joined: 04 Jun 2010, 14:42

Re: LAMP on a PS3

Postby ppietro » 10 Jun 2010, 01:26

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
User avatar
ppietro
Site Admin
Site Admin
 
Posts: 4965
Joined: 13 Sep 2007, 22:18


Return to Software Development

Who is online

Users browsing this forum: No registered users and 1 guest