Actually i have two php one in /usr/ which i can use and localhost/info.php is show this and the other one is /opt/local/ which is using by Command line.
How can i use one PHP in both places?
Thanks Haroon
在.bash_profile
的$PATH
全局变量前面添加php路径(要使用的路径):
export PATH=/usr/bin:$PATH
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.