0

I have downloaded aps-php-runtime-2.1-283.zip library and documentation says unzip it and place under default include_path directory. I checked in php.ini file but it shows default location as .:/php/includes. What is the actual directory that I have to place third party libraries to use in global as follows.

<php?
    require_once "aps/2/runtime.php";
?>
1
  • I created my own directory and place the library and set that path into include_path in php.ini file. Seems this way is much easier than finding the default directory. Commented Apr 15, 2015 at 6:48

1 Answer 1

1

The default directory is indeed /php/includes, and it does not exist on a Mac. You have to create it if you wish to use the default one.

But changing include_path and making it point to a different directory is also a perfectly valid approach.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

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

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.