Jump to content

Recommended Posts

Posted

I have searched but cant find what i am looking for. I am planning to upgrade my forums today but need to make sure that all is good on all fronts. Does TCH or my $4 a month plan meet these requirements?

 

phpBB3 has a few requirements which must be met before you are able to install and use it.

 

A webserver or web hosting account running on any major Operating System with support for PHP

A SQL database system, one of:

MySQL 3.23 or above (MySQLi supported)

PostgreSQL 7.3+

SQLite 2.8.2+

Firebird 2.0+

MS SQL Server 2000 or above (directly or via ODBC)

Oracle

PHP 4.3.3+ (>=4.3.3, >4.4.x, >5.x.x, >6.0-dev (compatible)) with support for the database you intend to use.

getimagesize() function need to be enabled.

These optional presence of the following modules within PHP will provide access to additional features, but they are not required.

zlib Compression support

Remote FTP support

XML support

Imagemagick support

GD Support

If your server or hosting account does not meet the requirements above we are afraid phpBB3 is not for you.

Posted

I'll try to help.

 

PHP setting register_globals is disabled:

phpBB will still run if this setting is enabled, but if possible, it is recommended that register_globals is disabled on your PHP install for security reasons.

 

In the folder you installed the forum software if there is not a .htaccess file create it using the file manager in cpanel. Now edit that file and add the following.

 

>php_flag register_globals off

 

The cache, files and store folder need to have their permissions changed to be writeable so change permissions on those folders to 777. You will also need to do the same with the /images/avatars/upload folder. You can use an FTP program to change those or the file manager in cpanel.

 

There should be a sample config.php file with the install. You will need to rename it to config.php and enter your database information into it.

 

>host='localhost'
dbname='cpanelname_databasename'
dbuser='cpanelname_user-added-to-database'
password='database-user-password'

 

I am not certain of the variable names phpBB uses but the parts to the right of the equals will always be the same.

Posted (edited)

ok...who wants to laugh at the noob. i couldnt just xfer the whole root...so this nood xfered all the folders individually but not the files in the main root. including the folder you named off at the top.

 

yeah i know :)

 

edit...

 

yet its the same..

im doing as you mentioned

Edited by Extreme
Posted
I'll try to help.

 

 

 

In the folder you installed the forum software if there is not a .htaccess file create it using the file manager in cpanel. Now edit that file and add the following.

 

>php_flag register_globals off

 

Is there a certain place to put this in the script?

><Files "config.php">
Order Allow,Deny
Deny from All
</Files>

<Files "common.php">
Order Allow,Deny
Deny from All
</Files>

 

The cache, files and store folder need to have their permissions changed to be writeable so change permissions on those folders to 777. You will also need to do the same with the /images/avatars/upload folder. You can use an FTP program to change those or the file manager in cpanel.

easily done now that i know what that meant

 

There should be a sample config.php file with the install. You will need to rename it to config.php and enter your database information into it.

 

>host='localhost'
dbname='cpanelname_databasename'
dbuser='cpanelname_user-added-to-database'
password='database-user-password'

this i can see how from the current php2.0.22 file. but i think i do this in the installation

 

I am not certain of the variable names phpBB uses but the parts to the right of the equals will always be the same.

you lost me

Posted

ok i made the changes and now i do have the option to begin the install.

 

but i want to put the

>php_flag register_globals off

inthe right place.

 

there is 2 files mentioned in that script so i just need to know if that would be put in twice, once of each file, or if it should be in just a certain one alone

Posted
ok i made the changes and now i do have the option to begin the install.

 

but i want to put the

>php_flag register_globals off

inthe right place.

 

there is 2 files mentioned in that script so i just need to know if that would be put in twice, once of each file, or if it should be in just a certain one alone

 

I would put it in the .htaccess file of the folder the forum is in only.

Posted

You cannot edit the php.ini file on the server but you can change the value by making changes to your .htaccess file.

 

Add lines similar to these in your .htaccess file.

 

>php_value post_max_size 16M
php_value upload_max_size 16M

 

That will allow 16mb uploads. You can go higher by changing the 16 to another value.

Posted

Now i am going to assume it is the .htaccess in the main root. the same one i added the global line too. but in that file it refers to 2 seperate files.

 

Do i added the line to each o fhte 2 files like i added the gloabal?

 

><Files "config.php">
Order Allow,Deny
Deny from All
php_flag register_globals off
</Files>

<Files "common.php">
Order Allow,Deny
Deny from All
php_flag register_globals off
</Files>

Posted

Well...unfortunately...that did not work. did i put them in there right?

 

 

><Files "config.php">
Order Allow,Deny
Deny from All
</Files>

<Files "common.php">
Order Allow,Deny
Deny from All
</Files>
php_flag register_globals off
php_value post_max_size 16M
php_value upload_max_size 16M

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...