Coding

Xampp php, mysql in terminal macos

 To use the XAMPP PHP and other binaries found in /Applications/XAMPP/bin/ by default this is the correct entry for ~/.bash_profile

 
export XAMPP_HOME=/Applications/XAMPP
export PATH=${XAMPP_HOME}/bin:${PATH}
export PATH
Load the changes with this (won't be needed next time you open a shell session):
 
source ~/.bash_profile
Confirm:
 
$ which php
/Applications/XAMPP/bin/php
 

0 Bình luận

Trở về
  • HTML5 Canvas
  • HTML5 Canvas

     The <canvas> element is used to draw graphics, on the fly, on a web page. Draw a red rectangle, a gradient rectangle,...