Omar,
It isn't that your question is difficult to answer. I was a music student 
decades ago and I asked a somewhat famous (in my neck of the woods) organist if 
she could give me organ lessons. I wasn't a pianist. She told me to learn piano 
first and then ask her for lessons. I was pretty put off by it because she came 
off as pretty rude but I understand why she did it. I hope I'm not coming 
across as rude now.

Someone on this list might have the time to walk you through the steps but I 
don't. I also didn't want to just leave you hanging so I wanted to say 
something in case nobody responds. I think if you go watch some tutorials and 
read some webpages and you still can't figure it out, I'm pretty sure many 
people, including myself, would be happy to help you out. 

Here's a little help. The '>>' in `(echo; echo 'eval "$(/opt/homebrew/bin/brew 
shellenv)"') >> /Users/okn/.zprofile` will create /Users/okn/.zprofile. View 
the file by typing `cat /Users/okn/.zprofile` and make sure `eval 
"$(/opt/homebrew/bin/brew shellenv)"` is at the end of the file. Then open a 
new Terminal window and php should be in your PATH.

Again, I'd go watch some videos and read as much as you can until everything I 
just said makes sense to you.

James Reynolds

> On Mar 11, 2024, at 09:37, Omar KN <[email protected]> wrote:
> 
> Yes, I remember I could not separate for this step to make it 2 commands, if 
> you could do it:
> 
> ==> Next steps:
> - Run these two commands in your terminal to add Homebrew to your PATH:
>     (echo; echo 'eval "$(/opt/homebrew/bin/brew shellenv)"') >> 
> /Users/okn/.zprofile
>     eval "$(/opt/homebrew/bin/brew shellenv)"
> 
> One commad would probably be:
> 
> echo; echo 'eval "$(/opt/homebrew/bin/brew shellenv)"'
> 
> but the second?
> 
> eval "$(/opt/homebrew/bin/brew shellenv)”
> 
> Should I create /Users/okn/.zprofile first?
> 
> 
> If this is too difficult to answer, there is still YouTube …
> 
> /
> with best regards,
> Omar KN, Stockholm, Sweden
> 
> 
>> On 11 Mar 2024, at 16:27, James Reynolds <[email protected]> wrote:
>> 
>> You probably don't have brew's install path in your terminal path. If you 
>> have no idea what this means you probably need to learn a bit more about 
>> developing with the Terminal. Just search YouTube for "macos terminal 
>> tutorial" and "getting started with php macos". There's tons of webpages on 
>> this too.
>> 
>> James Reynolds
>> 
>>> On Mar 11, 2024, at 02:15, Omar KN <[email protected]> wrote:
>>> 
>>> The sole purpose for having php is to be able to view the BBEdit preview in 
>>> the browser.
>>> 
>>> Although I installed php, the command is not found, so something is missing.
>>> 
>>> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
>>> php -S localhost:8080 & ; open -a Safari.app localhost:8080
>>> [1] 19195
>>> zsh: command not found: php
>>> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
>>> 
>>> What could be missing here?
>>> 
>>> /
>>> with best regards,
>>> Omar KN, Stockholm, Sweden
>>> On Monday 11 March 2024 at 02:16:33 UTC+1 Darren Duncan wrote:
>>> PHP 8.3 is the latest version and has a lot more features and a longer 
>>> support 
>>> window of 3 years, versus less than 1 year remaining for 8.1; why use 8.1? 
>>> 
>>> Also, if you desire to have a web page, do you want vanilla PHP or do you 
>>> want 
>>> an actual application framework? If you use Laravel for example, it takes 
>>> care 
>>> of a lot of stuff for you. 
>>> 
>>> -- Darren Duncan 
>>> 
>>> On 2024-03-10 10:04 a.m., Omar KN wrote: 
>>>> Today I installed and “Successfully started `[email protected]` (label: 
>>>> [email protected])” 
>>>> 
>>>> What is the next step to preview a PHP page in Safari? 
>>>> 
>>>> On Sunday 10 March 2024 at 15:35:41 UTC+1 Omar KN wrote: 
>>>> 
>>>> This topic has been mentioned before, but I was looking for a not too 
>>>> difficult solution. 
>>>> 
>>>> Has the come any news about this issue? 
>>>> 
>>>> / 
>>>> with best regards, 
>>>> Omar KN, Stockholm, Sweden 
>>> 
>>> 
>>> -- 
>>> This is the BBEdit Talk public discussion group. If you have a feature 
>>> request or need technical support, please email "[email protected]" 
>>> rather than posting here. Follow @bbedit on Twitter: 
>>> <https://twitter.com/bbedit>
>>> --- 
>>> You received this message because you are subscribed to the Google Groups 
>>> "BBEdit Talk" group.
>>> To unsubscribe from this group and stop receiving emails from it, send an 
>>> email to [email protected].
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/bbedit/04292cb9-b1ba-4420-a33a-0ddbc9a287aan%40googlegroups.com.
>> 
>> 
>> -- 
>> This is the BBEdit Talk public discussion group. If you have a feature 
>> request or need technical support, please email "[email protected]" 
>> rather than posting here. Follow @bbedit on Twitter: 
>> <https://twitter.com/bbedit>
>> --- 
>> You received this message because you are subscribed to a topic in the 
>> Google Groups "BBEdit Talk" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/bbedit/d2JfkgJcCAY/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to 
>> [email protected].
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/bbedit/9C097133-54B2-4AF1-AF59-8477D822F025%40gmail.com.
> 
> 
> -- 
> This is the BBEdit Talk public discussion group. If you have a feature 
> request or need technical support, please email "[email protected]" 
> rather than posting here. Follow @bbedit on Twitter: 
> <https://twitter.com/bbedit>
> --- 
> You received this message because you are subscribed to the Google Groups 
> "BBEdit Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/bbedit/AD6B7FD7-24BB-411A-AF59-A44CEBE16A0E%40gmail.com.

-- 
This is the BBEdit Talk public discussion group. If you have a feature request 
or need technical support, please email "[email protected]" rather than 
posting here. Follow @bbedit on Twitter: <https://twitter.com/bbedit>
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bbedit/0D939887-13E3-418F-BA7F-5DD4085E612B%40gmail.com.

Reply via email to