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
instead of just php
?
And is there a way to do this without the ./
? Like it was installed via apt-get
?
echo $PATH
please