How to get the path of the PHP BIN from PHP? -
how can bin path of php php? saw in phpinfo(); need method gets in linux , windows systems.
you can use:
$_server['_']
also constant
php_bindir
gives directory php executable found.
looks security reasons $_server
values not exposed.( guess..plz correct me if i'm wrong).
Comments
Post a Comment