3

I installed xammp (php7) on my ubuntu machine. I want to access cli op PHP and MYSQL. Is there any workaround to do this?

OK Finally I found the answer . its by going to opt/lampp/bin/php

1
  • i did not start working on php7 Commented Feb 11, 2016 at 15:28

2 Answers 2

3

OK Finally I found the answer . its by going to opt/lampp/bin/php

Sign up to request clarification or add additional context in comments.

Comments

1

This appears as the first StackOveflow link in google search results so I'm leaving this here for future viewers. Add opt/lampp/bin to PATH by adding the below line to .bashrc

export PATH="/opt/lampp/bin:$PATH"

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.