Page 1 of 1

Installing PHP

PostPosted: 20 Apr 2009, 11:56
by Taellik
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

Re: Installing PHP

PostPosted: 22 Apr 2009, 13:48
by Taellik
Hey Board Moderators,

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

:evil:

Taellik

Re: Installing PHP

PostPosted: 22 Apr 2009, 20:38
by ppietro
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

Re: Installing PHP

PostPosted: 22 Apr 2009, 21:32
by Taellik
Good job !

It's gone . . . .

Taellik

Re: Installing PHP

PostPosted: 25 Apr 2009, 10:33
by Taellik
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