Forums | Mahara Community

Support /
Problem with the installation


anonymous profile picture
Account deleted
Posts: 2

14 January 2013, 6:16

When i try to install Mahara 1.6 i can see this error in the site:

 

Mahara: Site unavailable

Your server appears to be running safe mode. Mahara does not support running in safe mode. You must turn this off in either the php.ini file or in your apache config for the site.

If you are on shared hosting, it is likely that there is little you can do to get safe mode turned off other than ask your hosting provider. Perhaps you could consider moving to a different host.
 
How can i fix it?
 
Thank you!
Aaron Wells's profile picture
Posts: 896

14 January 2013, 13:23

Hi Victor,

"safe mode" is a PHP config setting. Look for "safe_mode" in your php.ini file and change it to "0". See http://php.net/manual/en/ini.sect.safe-mode.php for more info about it.

Cheers,

Aaron

anonymous profile picture
Account deleted
Posts: 2

26 January 2013, 6:44

Hi Aaron,

 

Thank you for your help. I had put this in my php.ini but my site is the same. The code is:

 

memory_limit = 256M
safe_mode "0"
register_globals off
 magic_quotes_runtime off
 magic_quotes_sybase off
 magic_quotes_gpc off
 log_errors on
 allow_call_time_pass_reference off
 upload_max_filesize 50M
 post_max_size 50M

 

 

Thank you!

Muhtajin caem's profile picture
Posts: 4

25 March 2013, 21:17

Hi Victor,

[sorry for may english]

you can try:

 

1. add this script in .htaccess.

suPHP_ConfigPath /home/YOUR_CPANEL_USER_NAME/public_html


Obviously replace YOUR_CPANEL_USER_NAME with your cPanel user name.

my .htaccess is located on public_html (if you can't find it. just create it)

 

2. create php.ini in public_html and write:

safe_mode = Off

 

That's work for me

 

Thanks

11 April 2013, 22:47

Hi Victor,

I just see your post, and the content of your php.ini file.

Do you really put 0 btween quotation marks?

If you look to the other commands you have in this file, you should write the safe_mode following the same pattern:

   safe_mode off

or

  safe_mode 0

I am not sure that php likes the quotation marks between your zero.

Hope you were able to install your Mahara, if not come back here for any help.

-dajan

5 results