The best way I have found to do this is to have your PHP files in a BBEdit 
project, and then set the project settings to open a local website. To have 
a local website, you can use any of a number of methods, including MAMP, 
HostBuddy, VirtualHostX, VirtualBox, etc., or you can set up your local 
Apache server to serve your site locally with PHP. I just use the built-in 
Apache with modifications to the httpd.conf, hosts, and vhosts files. There 
are a couple of fiddly bits involved when doing it this way, but you don't 
have to download and maintain anything and it works just fine.

On Thursday, July 19, 2018 at 9:13:42 PM UTC-7, Jean-Christophe Helary 
wrote:
>
>
>
> On Jul 20, 2018, at 10:04, Scott in Pollock <[email protected] 
> <javascript:>> wrote:
>
> You'll need a local server running PHP. Google 'MAMP'.
>
>
> Sorry if that was not clear. I do have everything set up already.
>
> I just need BBedit to "preview" my files not by calling file://... but by 
> calling http/localhost/...
>
> What's happening now is that I edit/save PHP on BBedit and the switch to 
> Safari and reload. That's not practical. Is there a way to do call that 
> preview from BBedit directly ?
>
>
> Jean-Christophe Helary
> -----------------------------------------------
> http://mac4translators.blogspot.com @brandelune
>
>
>

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or would like to report a problem, please email
"[email protected]" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.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 post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/bbedit.

Reply via email to