FWIW, it works for me, regardless of the language I use.

What is the local URL you are using in the web browser to view the rendered PHP page? Take that value, and under Preferences > HTML Web Sites, enter the website's root URL (not the page URL) in "Preview server URL":

    http://mylocalsite/

The checkbox for "Use local preview server" must be checked.

You need to enter "Local site root", for example:

    /Library/WebServer/Documents/mylocalsite

Also consider that your request for help arrived on the weekend in America, and BBEdit Support might not be open for a few more hours.

--steve


On 8/6/12 at 3:32 AM, [email protected] pronounced:

Apache, php, mysql, phpmyadmin... All has been set and used for a couple of years already. First thing I did was reading Help from BBEdit, then googled, and then contacted support. After no response from support, I came here to this group. My first impressions of BBEdit are excellent, autocompletion is awesome. But it seems to lack support from BBEdit developers, so I doubt I'll buy it :(

Anyway, thanks to everyone for trying to help.

On Monday, August 6, 2012 8:26:21 AM UTC+2, Steve Piercy wrote:

Select the most overlooked and yet most useful command, Help > User Manual. This will open the PDF of the BBEdit User Manual.
Follow instructions in the section "HTML Web Sites Preferences".
It is assumed that you have already configured your computer (Apache and /etc/hosts) to serve files and render PHP locally.
--steve

On 8/5/12 at 9:02 AM, [email protected] pronounced:
I have site setted up properly, but all I get is a blank page even when i just try to use simple echo command. All works properly in browser, but not in BBEdit Preview :(
On Sunday, August 5, 2012 5:06:59 AM UTC+2, Kendall Conrad wrote:
For PHP previews I believe you just need to setup the site in the preferences. I'm still on BBEdit 9 so can't tell you exactly where the setting is, but it shouldn't be hard to find. I don't generally use the preview for PHP files so I can't say 100% if this will work, but pretty sure I've seen others discuss it on this group list. -Kendall On Saturday, August 4, 2012 5:56:11 PM UTC-4, Marin Knezović wrote:
Greetings, I'm new to BBEdit, using it just for a day, and BBEdit-s autocomplete blow my mind. Best autocompletion from any editor I've tried. Using PHP + CodeIgniter and it works like a charm. But since I'm new to editor, I have some really silly "problems", so I was hoping to get some help in this group :) When I go to Markup -> Preview in BBEdit, previewing PHP files doesn't work. It only shows my PHP code. Any chance I can set localhost so I can actually preview my PHP? In preferences I don't see any settings for localhost or similar. And a nother question... BBEdit schemes. Downloaded a few, and some simply don't work. After googling about this issue, I found that some work just for HTML or CSS, etc. I wanted to use monokai scheme for PHP, found one, but it can't be used for PHP files. Any tutorial on making schemes so I can adjust Monokai for PHP as well?:) Thank you for reply(ies) in advance, Marin Knezovic :)


--

--steve


--

--steve

--
--
You received this message because you are subscribed to the "BBEdit Talk" discussion group on Google Groups.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
<http://groups.google.com/group/bbedit?hl=en>
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>



Reply via email to