Jump to content

Php Config For Shell_Exec


bhadley

Recommended Posts

Hello,

 

I recently found out my previous host ran php in safe mode and I was unable to get it changed without upgrading my account so I moved here. However I'm still getting the same problem.

 

Warning: shell_exec() has been disabled for security reasons in /home/bhadley/public_html/include/login.php on line 5

 

Basically I'm trying to implement the Facebook connect login / register system into my website using their php API but function calls get blocked. How would I resolve this problem?

 

p.s. Not sure if this should go into questions or customer support forum - sorry if I posted in the wrong section.

 

Server name: stevie

username: bhadley

main domain:brettqt.heliohost.org (www.brettqt.com)

link to page to see error yourself

http://www.brettqt.c...clude/login.php

 

 

Here is the code I'm trying to run.

<?php
require_once("facebook.php");
$config = array();
$config[`appId`] = '<SNIP>';
$config[`secret`] = '<SNIP>';
//$config[`cookie`] = true;
$facebook = new Facebook($config);
?>

Link to comment
Share on other sites

Join the conversation

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

Guest
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...