Apache is running on port 80 and interfering with Valet.
- Stop Apache:
sudo /usr/sbin/apachectl stop - Restart Valet:
valet restart
| public function getTff(){ | |
| $ch = curl_init(); | |
| $hc = "YahooSeeker-Testing/v3.9 (compatible; Mozilla 4.0; MSIE 5.5; Yahoo! Search - Web Search)"; | |
| curl_setopt($ch, CURLOPT_REFERER, 'http://www.google.com'); | |
| curl_setopt($ch, CURLOPT_URL, 'http://www.tff.org/default.aspx?pageID=198'); | |
| curl_setopt($ch, CURLOPT_USERAGENT, $hc); | |
| curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); | |
| $content = iconv("ISO-8859-9", "UTF-8", curl_exec($ch)); | |
| curl_close($ch); |
| #!/bin/bash | |
| homestead up | |
| homestead ssh | |
| apt-get update | |
| #Additional Packages | |
| apt-get install -y zsh | |