Answers.Body: <p>You can define a directory for your extensions and point CiviCRM to it. Remember that custom extensions directory should be kept outside your CiviCRM installation because they will be easy to manage in case you need an upgrade on your install. </p>
  
  <p>Below are the steps which i propose you carry out to setup your extensions directory</p>
  
  <ul>
  <li><p>create your directory probably /home/../../../extensions </p></li>
  <li><p>Give appropriate permissions to your extensions directory</p></li>
  <li><p>Go to your CiviCRM install, under administer >> System settings click on Resource URL.</p></li>
  <li><p>place the full path of the directory you created above in the "Extension Resource URL"</p></li>
  <li><p>Now any extensions you place in the directory above should be seen and interpreted properly as an extension </p></li>
  </ul>
  
  <p>-* you can verify and install by navigating to Administer >> System settings >> Extensions( there you will see all extensions ) </p>
  
  <p>If that does not make sense to you then you can follow from <a href="https://wiki.civicrm.org/confluence/display/CRMDOC/Extensions" rel="nofollow">Extensions</a></p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-05-09T23:19:52.960Z
Answers.Text: Now any extensions you place in the directory above should be seen and interpreted properly as an extension - they are NOT SEEN this is the problem
  
  is there a dev that  understands why it can grab a totally unrelated zip file just fine and not its own as listed above?
Answers.UserDisplayName: user3272
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-05-08T06:29:00.670Z
Answers.LastActivityDate: 2016-05-08T06:29:00.670Z
Answers.UserDisplayName: Merci Mukwe
Body: <p>neither  - for the directories</p>
  
  <ul>
  <li>/home/mysite/public_html/wp-content/plugins/files/civicrm/custom_ext</li>
  </ul>
  
  <p>nor - for the resources</p>
  
  <ul>
  <li>/<a href="http://www.mysite.org/wp-content/plugins/files/civicrm/custom_ext" rel="nofollow">http://www.mysite.org/wp-content/plugins/files/civicrm/custom_ext</a></li>
  </ul>
  
  <p>works as an entry to find the extensions - everything is 775 permissions</p>
  
  <p><strong>Is anything in the path incorrect?</strong></p>
  
  <p>oddly, if I only use /home/mysite/public_html/ and /<a href="http://www.mysite.org/" rel="nofollow">http://www.mysite.org/</a> civicrm <strong>picks up a zip file for another web app</strong> and displays this ridiculously long path to get to the file - in case you are interested it's </p>
  
  <p><strong>- Local Path = /home/mysite/public_html/qdpm/core/lib/vendor/symfony/test/unit/plugin/fixtures/http/pear.example.com/REST/p/sffooplugin</strong></p>
  
  <p>How it can find and interpret this as and extension and not the recommended path I don't know.  Does anyone?</p>
  
  <p>I have searched the forum and not found anything that worked.  Not sure why this is so difficult to setup.  I have many web apps that just create the directories you need and you are done.</p>
  
  <p>Anyway, do I need to edit directories.php etc. to make this Extensions show up as they should.  This is a deal breaker since there is no ad hoc reporting and I am hoping a report extension will give us what we need.  Otherwise Civicrm is useless for us.</p>
  
  <p>Thx</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-05-07T01:56:34.590Z
Comments.Text: Do you have a slash in front of the URL on the resources? Also, have you created that directory if it doesn't exist yet?
Comments.UserDisplayName: Laryn
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-05-07T16:10:42.707Z
Comments.Text: I copied it from the field, it is as listed above with slash - when there is no directory, for one, you get and error, the directory is coreated
Comments.UserDisplayName: user3272
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-05-10T04:53:18.157Z
Comments.Text: Can you try opening the Developer Tools (F12 on most web browsers) and check the network tab for 404 errors?  If so, can you please update this question with the URLs that CiviCRM shows?
  
  Given the random zip file issue, I wonder if there's an issue with the PHP or path configuration.  Do you control the server, or is this a shared host?
Comments.UserDisplayName: Jon G - Megaphone Tech
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-08-06T22:29:54.820Z
Comments.Text: Did you ever solve this problem?  If so, could you please post an answer to the question below?
Comments.UserDisplayName: Jon G - Megaphone Tech
Tags: <wordpress>
Title: How to edit php so civicrm can find the extensions
ThreadText: # How to edit php so civicrm can find the extensions
  
  (Asked by: username_0 on 2016-05-07)
  
  neither - for the directories
  
  * /home/mysite/public\_html/wp-content/plugins/files/civicrm/custom\_ext
  
  nor - for the resources
  
  * /<http://www.mysite.org/wp-content/plugins/files/civicrm/custom_ext>
  
  works as an entry to find the extensions - everything is 775 permissions
  
  **Is anything in the path incorrect?**
  
  oddly, if I only use /home/mysite/public\_html/ and /<http://www.mysite.org/> civicrm **picks up a zip file for another web app** and displays this ridiculously long path to get to the file - in case you are interested it's
  
  **- Local Path = /home/mysite/public\_html/qdpm/core/lib/vendor/symfony/test/unit/plugin/fixtures/http/pear.example.com/REST/p/sffooplugin**
  
  How it can find and interpret this as and extension and not the recommended path I don't know. Does anyone?
  
  I have searched the forum and not found anything that worked. Not sure why this is so difficult to setup. I have many web apps that just create the directories you need and you are done.
  
  Anyway, do I need to edit directories.php etc. to make this Extensions show up as they should. This is a deal breaker since there is no ad hoc reporting and I am hoping a report extension will give us what we need. Otherwise Civicrm is useless for us.
  
  Thx
  
  **Tags:** wordpress
  
  > **Comments:**
  > **username_1**: Do you have a slash in front of the URL on the resources? Also, have you created that directory if it doesn't exist yet?  
  > **username_0**: I copied it from the field, it is as listed above with slash - when there is no directory, for one, you get and error, the directory is coreated  
  > **username_2**: Can you try opening the Developer Tools (F12 on most web browsers) and check the network tab for 404 errors?  If so, can you please update this question with the URLs that CiviCRM shows?  Given the random zip file issue, I wonder if there's an issue with the PHP or path configuration.  Do you control the server, or is this a shared host?  
  > **username_2**: Did you ever solve this problem?  If so, could you please post an answer to the question below?  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_3 on 2016-05-08. Score: 1
  
  You can define a directory for your extensions and point CiviCRM to it. Remember that custom extensions directory should be kept outside your CiviCRM installation because they will be easy to manage in case you need an upgrade on your install.
  
  Below are the steps which i propose you carry out to setup your extensions directory
  
  * create your directory probably /home/../../../extensions
  * Give appropriate permissions to your extensions directory
  * Go to your CiviCRM install, under administer >> System settings click on Resource URL.
  * place the full path of the directory you created above in the "Extension Resource URL"
  * Now any extensions you place in the directory above should be seen and interpreted properly as an extension
  
  -\* you can verify and install by navigating to Administer >> System settings >> Extensions( there you will see all extensions )
  
  If that does not make sense to you then you can follow from [Extensions](https://wiki.civicrm.org/confluence/display/CRMDOC/Extensions)
  
  > **Comments:**
  > **username_0**: Now any extensions you place in the directory above should be seen and interpreted properly as an extension - they are NOT SEEN this is the problem  is there a dev that  understands why it can grab a totally unrelated zip file just fine and not its own as listed above?  
  
  ---
  
  