PHP: Locate installation Directory
php --ini
<?php phpinfo(); ?>
<?php
// prints e.g. 'Current PHP version: 4.1.1'
echo 'Current PHP version: ' . phpversion();
?>
If you are using the PHP CLI, then try using theese shell commands (i'm assuming that you are using linux here)
which php - will locate the php executable (this should be the default php used by you)
whereis php - The first path displayed will be the location of the php executable
echo $PATH - will print a list of paths separated by ":" where the system looks for commands
composer.json
composer.phar
php composer.phar install
Folder Architecture
/vendor
/tests/behat
/tests/phpunit
/tests/fb
/src/test/pom
/src/test/bdd
/src/test/util
/src/test/
Add phpwebdriver
php composer.phar require facebook/webdriver
facebook/webdriver suggests installing ext-SimpleXML (For Firefox profile creation)
w:\w\git\behatphpfacebook (develop-phpwebdriver-install-setup -> origin) λ php composer.phar require facebook/webdriver Using version ^1.6 for facebook/webdriver ./composer.json has been updated Loading composer repositories with package information Updating dependencies (including require-dev) Package operations: 1 install, 0 updates, 0 removals - Installing facebook/webdriver (1.6.0): Downloading (100%) facebook/webdriver suggests installing ext-SimpleXML (For Firefox profile creation) Writing lock file Generating autoload files
- Log in to post comments