Installing PHP

Discuss software development issues here.

Installing PHP

Postby Taellik » 20 Apr 2009, 11:56

I installed the APACHE web server and am able to get the default web page to display for successful install after starting the httpd service.

However, after installing PHP, I'm getting a "Page Not Found" error message after creating the <? phpinfo(); <?> test page.

<html>
<head>
<title>PHP Test</title>
</head>
<body>
<?php phpinfo(); ?>
</body>
</html>


Even thought it's in the proper directory /www/html/phptest.php

Anyone been able to get PHP running on their PS3 ?

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: Installing PHP

Postby Taellik » 22 Apr 2009, 13:48

Hey Board Moderators,

Need to get this virus spam $*(())_((&*%&&% from vwxy266 off the message board !

:evil:

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: Installing PHP

Postby ppietro » 22 Apr 2009, 20:38

Taellik wrote:Hey Board Moderators,

Need to get this virus spam $*(())_((&*%&&% from vwxy266 off the message board !

:evil:

Taellik


It should be gone - I think that's the one I removed yesterday. Are you still seeing it?

Cheers,
Paul
User avatar
ppietro
Site Admin
Site Admin
 
Posts: 4965
Joined: 13 Sep 2007, 22:18

Re: Installing PHP

Postby Taellik » 22 Apr 2009, 21:32

Good job !

It's gone . . . .

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: Installing PHP

Postby Taellik » 25 Apr 2009, 10:33

Well, PHP is now operational ! :D

It seems Apache requires some configuration & tweeking to itself after installation.

Not sure if I just got lucky and stumbled on the solution but what I did was

1) log in as administrator root user

2 used text editor (gedit) to create a bare skeleton html web page - /var/www/html/index.html
<html>
<head>
<title>
Test index page
</title>
<body>
<h1>
Test index web page
</h1>
</body>
</head>
</html>


3) started Firefox and pointed it to http://localhost/index.html

4) after test page successfully displayed, change to the PHP test page in Firefox browser; http://localhost/phptest.php and my test PHP info page worked fine !!!

So, now my PS3 can host webpages either as a development machine or as a host for my own web content to the net.


Next challenge will be to get MySQL operational to hook into PHP to have dynamically created webpages with content from database tables !

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


Return to Software Development

Who is online

Users browsing this forum: No registered users and 2 guests

cron