简体   繁体   中英

I have two php in my mac OS X, how can i eliminate one of them?

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM