Forum Activity for @bagpiper

alt=
@bagpiper
01/06/14 09:00:12AM
15 posts

Install Jamroom 5 - PHP System Error


Installation and Configuration

I can edit the PHP.INI file directly but there are several sections that may apply, what I needed was the a pointer to the exact changes that are needed.

I have restarted my server.

Thanks.

This is from my server admin in regards to PHP system function and the PHP.INI file:

system() is a PHP function that is disabled by default for security purpose. If you need to enable it for a specific script, you can copy the default php.ini to the folder that contains said script, then edit it to fit your needs :

cp /usr/local/lib/php.ini /home/username/path/to/script/
nano /home/username/path/to/script/php.ini
alt=
@bagpiper
01/06/14 08:33:52AM
15 posts

Install Jamroom 5 - PHP System Error


Installation and Configuration

Hello,

My server is fine for JR5, a new database has been created, I have the correct DB Name, Username, and Password.

The problem I am having is at the install page.

The reference to editing the PHP.INI file comes from suggestions to what the problem is and how to fix it. I have copied the URL to some of these discussions and part of the fix from one such discussion below.


https://www.jamroom.net/the-jamroom-network/forum/installation-and-configuration/1402/disabled-functions
http://archive.jamroom.net/phpBB2/viewtopic.php?p=239204&sid=6961fbdeb71cd1a3ce2d10bed1441f7b
http://www.jamroom.net/phpBB2/viewtopic.php?t=41827
http://archive.jamroom.net/phpBB2/viewtopic.php?t=41848&highlight=

You'll want to edit your server's php.ini file (i.e. /etc/php.ini) and remove "system" from the "disabled_functions" setting. If you don't have access to or can't edit that file, you'll need to contact your hosting provider for assistance. You'll need to restart your web server for the changes to take effect.

Hope this helps!

- Brian
alt=
@bagpiper
01/05/14 05:35:44PM
15 posts

Install Jamroom 5 - PHP System Error


Installation and Configuration

Thanks for the reply.

I can't get complete the Installing Jamroom part because I get the PHP error prior to submitting the database name, user and password.

I copied the server php.ini to the JR5 directory so I can edit the PHP options just for JR5 and nothing else on the server.

This advice was found in the forums but without the necessary info to which section needs to be customized.
alt=
@bagpiper
01/05/14 01:10:08PM
15 posts

Install Jamroom 5 - PHP System Error


Installation and Configuration

Hello,

After 2 Days of Searching for and answer and poking around my server, I can't figure out the error.

I am getting an php error: The following function(s) are not enabled in your PHP install: system

- I copied my server's php.ini to the Jamroom5 install directory.
- Running PHP Version 5.3.27
- Installing in a subdirectory in my domain.
- Jamroom 4 is currently running in root of domain
- Created a fresh database for installation of JR5 - can't connect yet
- Have Root Access to Server - everything can be adjusted, just not sure what yet.

1) What I am looking for which settings in my PHP.INI needs adjusting.
2) Is there anything else that needs to be done ?

Thanks !
updated by @bagpiper: 02/06/14 01:53:01AM
  2