In the Library, I only have WebKit, no Webserver there ( Mac OS 10.14.6)

/

with best regards, Omar KN, Stockholm, Sweden

On Tuesday, 21 February 2023 at 15:30:29 UTC+1 Roger Moffat wrote:

> You can load a PHP file by opening the file with the file:// protocol
>
> You need to put the file into the WebServer root of the computer in 
> Library/WebServer/ and then open it by
>
> http://localhost/chu/e/olmc_e.php
>
> or something like that - it has to be opened using http to get the PHP 
> code processed.
>
> Roger
>
> > On Feb 20, 2023, at 3:26 AM, Omar KN <[email protected]> wrote:
> > 
> > It did work once now not any more.
> > 
> > What I do:
> > 
> > Starting the server with:
> > 
> > sudo apachectl restart
> > 
> > sudo apachectl -t
> > 
> > http://localhost
> > 
> > I get: It works, then
> > 
> > Preview BBEdit page, only the page code is visible.
> > 
> > The path looks like this: 
> > 
> > file:///Users/okn/SitesMacHD/chu/e/olmc_e.php
> > 
> > if I reload localhost: "It works."
> > 
> > What happened?
> > 
> > /
> > 
> > with best regards, Omar KN, Stockholm, Sweden
> > 
> > 
> > On Friday, 17 February 2023 at 00:23:51 UTC+1 Roger Moffat wrote:
> > Open the Terminal and type
> > 
> > sudo apachectl restart
> > 
> > Enter password when prompted.
> > 
> > See if there are any error messages.
> > 
> > Try 127.0.0.1 again browser - or simply http://localhost/
> > 
> > Roger
> > 
> >> On Feb 16, 2023, at 4:26 PM, Omar KN <[email protected]> wrote:
> >> 
> >> My OS is too old I'm told. ( macOS: 10.14.6 )
> >> May have to wait until upgrade…
> >> 
> >> The http://127.0.0.1 could not be reached.
> >> 
> >> /
> >> 
> >> with best regards, Omar KN, Stockholm, Sweden
> >> 
> >> 
> >> On Sunday, 12 February 2023 at 22:54:17 UTC+1 Bruce Van Allen wrote:
> >> To be clear, macOS still comes ready to serve static and dynamic web 
> pages/apps using Apache. The Mac Server app, now discontinued, isn’t 
> needed. 
> >> 
> >> The last few macOS system updates have removed PHP, but it’s easy to 
> install using Homebrew. 
> >> 
> >> Many on this list could give you the basic simple instructions for 
> setting up web/http service on your machine - it might already be running 
> (try http://127.0.0.1 <http://127.0.0.1/>). 
> >> 
> >> Let us know if that appeals to you. 
> >> 
> >> > On Feb 12, 2023, at 12:31 PM, Omar KN <[email protected]> wrote: 
> >> > 
> >> > Now (in 2023) when Apple's server app is no longer supported 
> >> 
> >> 
> >> — Bruce 
> >> 
> >> _bruce__van_allen__santa_cruz_ca_ 
> >> 
> >> 
> >> 
> >> 
> >> 
> >> 
> >> -- 
> >> 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/66faeb42-6373-4f30-8088-c899556b038bn%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 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/adddddca-8bef-4f58-8869-a5c02742743bn%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 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/7bb029cf-fcc8-4ecd-98e0-9c1ecdcc940cn%40googlegroups.com.

Reply via email to