Aniketos Posted November 13, 2006 Share Posted November 13, 2006 Hi I have been trying to install a php script yet I have few issues It asks me to edit a file called config.php and change the line in the following way. I have put the script in my internetpub folder (wwwroot) so how would the line look like I think I have tried like 20 different types and I always get an error.This is what they say I have to change:$config['BASE_DIR'] = '/home/yoursite/public_html/name'; // the directory where the script is installedSorry for my bad english and I hope to hear from you soon. Quote Link to comment https://forums.phpfreaks.com/topic/27123-need-some-help-installing-a-script/ Share on other sites More sharing options...
Adika Posted November 13, 2006 Share Posted November 13, 2006 When you get the error message, it also contains the path were the error occured. It always write down your base directory.If you can copy here the error message, the solution to your problem will arrive soon. Quote Link to comment https://forums.phpfreaks.com/topic/27123-need-some-help-installing-a-script/#findComment-124086 Share on other sites More sharing options...
wildteen88 Posted November 14, 2006 Share Posted November 14, 2006 Just use $_SERVER['DOCUMENT_ROOT'] should do it. Quote Link to comment https://forums.phpfreaks.com/topic/27123-need-some-help-installing-a-script/#findComment-124582 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.