PDA

View Full Version : question about php


Evilive98
December 7th, 2003, 11:25 PM
hello i'm new to playing with php so i got this forum that a buddy of mine wants to host on my computer i am using the xitami web server now i have downloaded the php program from php.net and configured xitami to recoginize the .php files but nothing seems to work still could you tell me what i'm doing wrong the forum is located @ http://gefnet.sytes.net/neonitro/forum any help would be appriciated thanks greg

renegade600
December 8th, 2003, 07:09 AM
did you setup the security to the folders and the files?

Evilive98
December 8th, 2003, 02:33 PM
did you setup the security to the folders and the files?

umm the what and what :)
like i said this is my first time trying to host php off my computer so i don't know nothing and just trying to figure out why it's not working

void
December 8th, 2003, 05:37 PM
Your trying to install a phpbb forum by the looks of it, this is quite difficult at first but once you know what your doing its easy :).

First of all can your pc/host recognise php and does it have a MySQL database?

If so then when you upload all the files open the forum in your browser, you should be taken to the install page. Fill in the form an hey presto you have a forum.

Evilive98
December 8th, 2003, 09:53 PM
Your trying to install a phpbb forum by the looks of it, this is quite difficult at first but once you know what your doing its easy :).

First of all can your pc/host recognise php and does it have a MySQL database?

If so then when you upload all the files open the forum in your browser, you should be taken to the install page. Fill in the form an hey presto you have a forum.

well i installed a php program from php.net and configured xitami to reconize the php but it still does nothing and if it doesn't have a mysql built in then i didn't put one in where would i go to do this and set it up thanks explain it to me like i'm a 5 year old lol

Steven.Bentley
December 9th, 2003, 07:41 PM
You can save yourself a whole load of hassle if you use something like phpdev from http://www.firepages.com.au/yak2.htm/down1 - get the version 4 one, not Beta 5

This will install Apache web server, PHP and MySQL fairly painlessly.

Evilive98
February 29th, 2004, 04:09 PM
thank you i will check it out steve

MishY
February 29th, 2004, 05:58 PM
To test if php is running ok on your system.

Open notepad and type the following in:


<?php
phpinfo();
?>


Save the file as phpinfo.php in your webroot directory and then open this page with your browser. For example http://localhost/phpinfo.php

It should display a lot of information about your PHP install which you may need later on.

Evilive98
February 29th, 2004, 06:24 PM
To test if php is running ok on your system.

Open notepad and type the following in:


<?php
phpinfo();
?>


Save the file as phpinfo.php in your webroot directory and then open this page with your browser. For example http://localhost/phpinfo.php

It should display a lot of information about your PHP install which you may need later on.
thank you mishy you guys are always helpful :)

Steven.Bentley
March 3rd, 2004, 07:30 PM
wow this is an old thread! That phpdev system does have a forum built in, so that might be worth looking at