Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where is "./" in php.ini extensions directory pointing to?

Tags:

php

I don't want to look like a noob, but this is really annoying me. Do you know where does the

; Directory in which the loadable extensions (modules) reside.
extension_dir = "./"

pointing to?

like image 513
edgarator Avatar asked May 04 '11 10:05

edgarator


2 Answers

./ points to the current directory.

Edit

I haven't found any definition of what the current directory is while parsing a php.ini file, this post suggests that it is relative to the php.ini files location.

like image 100
Anders Lindahl Avatar answered Sep 23 '22 15:09

Anders Lindahl


Just adding in for future searches

Running phpinfo on the cli (php -a<enter>phpinfo();<enter>) gave me this among the output.

extension_dir => /usr/lib/php/20131226 => /usr/lib/php/20131226
like image 36
user1426119 Avatar answered Sep 25 '22 15:09

user1426119