2

Has someone tried it? On a 1st try I've noticed extensions stop working. For example if I set define( 'CIVICRM_TEMPLATE_COMPILEDIR', '/tmp/civicrm/templates_c/'); would it work? (instead of ABSPATH.'wp-content/uploads/civicrm/templates_c/) I need it for a civicrm install under WPEng hosting where they do not allow php script to write into another php script within wordpress. Hence re-generating the templates_c files is a problem.

1
  • If they're restrictive they may also have php's open_basedir set that might not allow access to /tmp. In any case the web server (apache or wwwrun or whatever user) would need write access to that folder, so check that too.
    – Demerit
    Mar 22, 2019 at 1:01

1 Answer 1

1

Just don't use WPEng hosting for civicrm.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.