0

When i set the extension_dir in php.ini and use the full path like this, it works

extension_dir = "/home/appie/Bureaublad/astroapp/phpdesktop-linux-72.1/ext"
extension = "sweph.so"

But if i do:

extension_dir = "ext"
extension = "sweph.so"

or

extension_dir = "./ext"
extension = "sweph.so"

Then it doesn't. For my program, i can't use full paths since the software can be placed in other directorys. So how to set the right path?

1 Answer 1

0

I think a simple

extension_dir = "./"

Should do the trick inside Linux as per the default PHP.ini file.

1
  • That is what i expected to and also what i have tried, but for some reason it doesn't work this way in php.ini Commented Apr 12, 2021 at 9:55

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.