Skip to main content

how to include php files from another user on same box

Comments

3 comments

  • cPanelMichael
    Hello :) Using a path to files from another account is not recommended. Ideally, you should simply upload the same set of files to the accounts. Or, since you own all of the websites, you could setup the additional accounts as addon domain names instead of keeping them separate. Assuming you accept the security risk, you may want to review the php.ini files on both systems to compare the differences. Or, check to see the specific error message that occurs when attempting to open the web page. Thank you.
    0
  • loccom
    [quote="cPanelMichael, post: 1734961">Hello :) Using a path to files from another account is not recommended. Ideally, you should simply upload the same set of files to the accounts. Or, since you own all of the websites, you could setup the additional accounts as addon domain names instead of keeping them separate. Assuming you accept the security risk, you may want to review the php.ini files on both systems to compare the differences. Or, check to see the specific error message that occurs when attempting to open the web page. Thank you.
    I have tried comparing, not sure which setting am looking for. Can someone point me to the setting i should look for please.
    0
  • cPanelMichael
    You may find this thread helpful: Access Files Outside Home Directory Thank you.
    0

Please sign in to leave a comment.