Create shortcut for PHP
- by Daniel
I have XAMPP installed and my PHP is:
/opt/lampp/bin/php-5.3.8
Every time I need to execute a PHP file I need to do this:
/opt/lampp/bin/php-5.3.8 testando.php
Is there another way to execute it besides using symbolic link?
I did this on /etc/init.d/:
sudo ln -s /opt/lampp/bin/php-5.3.8 php
Why when I need to run PHP I have to do this ./php…