RSS   Twitter   Copiny   Copiny
Нашел ошибку? 

Выдели фрагмент текста с ошибкой или неточностью и нажми Ctrl+Enter!

Установка JBDump и способы его запуска

Режимы работы и способы запуска

Вне зависимости от способа необходимо подключать файл init.php (идет в комплекте), в котором должны быть прописаны верные настройки.

Способ 1: Подключение через php.ini (рекомендуется)

В файле настроек php.ini есть возможность указать файл который будет выполняться для любых PHP скриптов. Делается это следующим образом

# for windows
auto_prepend_file = Z:\home\adm\jbdump\init.php

# for unix-like
auto_prepend_file = /var/www/jdump/data/public_html/init.php

Примеры, где можно найти php.ini

  • windows (denwer): denwer\usr\local\php5\php.ini
  • unix-like system: /etc/php5/...

Сам скрипт можно положить как отдельный локальный сайт, настройка root должна быть прописана соответствующая. Например, у себя я сделал локальный домен http://jbdump.adm/.

Чем это хорошо?

  • Не нужно подключать для каждого локального сайта свой скрипт и изменять код проекта. Это важно когда все файлы версионные, а работа ведется в команде, где не используют jbdump.
  • На своей локальной машине вы всегда будете знать, что у вас есть отладчик.
  • Скрипт и его настройки находятся в одном месте, легко обновлять, изменять.

Почему это плохо?

  • На продуктиве так делать нельзя под страхом смерти! Например, если будет ошибка в jbdump, то пострадают все сайты на хостинге.
  • Немного замедляет работу всех сайтов
  • Всегда нужно помнить, что у вас подключается jbdump, даже если он не нужен, а php скрипт пустой

Не смотря на недостатки рекомендуется имено именно этот способ подключения для своих локальных сайтов.

Способ 2: подключение через .htaccess

В принципе это тоже самое что и первый способ, с единственным отличием что скрипт подключиться к определенному сайту(сайтам). Пример синтаксиса так же очень схож с php.ini

# example for windows (denwer)
php_value auto_prepend_file Z:\home\adm\jbdump\init.php

# example for linux
php_value auto_prepend_file /var/www/jdump/data/public_html/init.php

Способ 3: Просто включение файла

Положите в проект, например в папку /jbdump. И в удобном для вас месте включите его в исполняемый файл. Обычно это начало <site_root>/index.php

include './jbdump/init.php';

Смотрите также:
Комментарии (69) Добавить комментарий
  • http://tinyurl.com/quest-bars-cheap-8889
    http://tinyurl.com/quest-bars-cheap-8889
    23 Ноября 2019, 22:23
     ↑  0  ↓     ответ

    Hello, I enjoy reading through your article. I like to write a little

    comment to support you.

  • tinyurl.com
    tinyurl.com
    25 Ноября 2019, 04:59
     ↑  0  ↓     ответ

    Very good information. Lucky me I recently found your blog by chance (stumbleupon).

    I have book marked it for later!

  • on coconut oil
    on coconut oil
    26 Ноября 2019, 04:45
     ↑  0  ↓     ответ

    Hi there! I know this is kinda off topic but I was wondering if you knew where I

    could get a captcha plugin for my comment form?

    I'm using the same blog platform as yours and I'm having

    trouble finding one? Thanks a lot!

  • ps4 games
    ps4 games
    29 Ноября 2019, 11:02
     ↑  0  ↓     ответ

    I blog frequently and I truly thank you for your content.

    Your article has really peaked my interest.

    I am going to take a note of your blog and keep checking for new information about once per

    week. I subscribed to your Feed too.

  • quest bars cheap
    quest bars cheap
    30 Ноября 2019, 12:51
     ↑  0  ↓     ответ

    I'm not sure where you're getting your info,

    but great topic. I needs to spend some time learning more or understanding

    more. Thanks for great info I was looking for this info for my mission.

  • ps4 games
    ps4 games
    01 Декабря 2019, 07:10
     ↑  0  ↓     ответ

    Magnificent beat ! I would like to apprentice even as you amend your

    site, how can i subscribe for a weblog web site? The account helped me a acceptable deal.

    I had been tiny bit familiar of this your broadcast offered vibrant clear concept

  • quest bars cheap
    quest bars cheap
    01 Декабря 2019, 19:08
     ↑  0  ↓     ответ

    Attractive section of content. I just stumbled upon your web site and

    in accession capital to assert that I acquire

    actually enjoyed account your blog posts. Any way I'll be subscribing to your

    augment and even I achievement you access consistently fast.

  • quest bars cheap coupon twitter
    quest bars cheap coupon twitter
    04 Декабря 2019, 03:27
     ↑  0  ↓     ответ

    I am really loving the theme/design of your web site.

    Do you ever run into any browser compatibility problems?

    A handful of my blog readers have complained about my site not operating correctly in Explorer

    but looks great in Opera. Do you have any tips to help fix this issue?

  • quest bars cheap
    quest bars cheap
    04 Декабря 2019, 15:45
     ↑  0  ↓     ответ

    Wonderful goods from you, man. I've understand your stuff previous to

    and you are just extremely magnificent. I actually like what you've acquired

    here, really like what you are stating and the way in which you say it.

    You make it enjoyable and you still care for to keep it sensible.

    I can not wait to read much more from you.

    This is actually a terrific website.

  • ps4 games
    ps4 games
    06 Декабря 2019, 01:46
     ↑  0  ↓     ответ

    I always used to read paragraph in news papers but now

    as I am a user of web thus from now I am using net for articles or reviews,

    thanks to web.

  • ps4 games
    ps4 games
    06 Декабря 2019, 03:44
     ↑  0  ↓     ответ

    Yes! Finally something about ps4 games.

  • ps4 games
    ps4 games
    06 Декабря 2019, 16:40
     ↑  0  ↓     ответ

    My family every time say that I am wasting my time here at web, except I

    know I am getting familiarity daily by reading thes fastidious content.

  • ps4 games
    ps4 games
    07 Декабря 2019, 08:43
     ↑  0  ↓     ответ

    Thanks on your marvelous posting! I truly enjoyed

    reading it, you happen to be a great author. I will always bookmark your blog and

    will eventually come back later in life. I want to encourage

    you to continue your great posts, have a nice day!

  • quest bars cheap
    quest bars cheap
    08 Декабря 2019, 09:01
     ↑  0  ↓     ответ

    Thanks for another fantastic article. The place else could anyone get that kind of information in such an ideal means of writing?

    I have a presentation next week, and I am at the search for such info.

  • quest bars cheap
    quest bars cheap
    09 Декабря 2019, 14:27
     ↑  0  ↓     ответ

    Hey very cool web site!! Guy .. Beautiful ..

    Amazing .. I will bookmark your website and take the feeds additionally?

    I'm satisfied to search out a lot of helpful information right here in the

    publish, we'd like work out more techniques on this regard, thank you for sharing.

    . . . . .

  • ps4 games
    ps4 games
    11 Декабря 2019, 09:26
     ↑  0  ↓     ответ

    Hey there terrific blog! Does running a blog like

    this take a lot of work? I have no understanding

    of computer programming but I was hoping to

    start my own blog in the near future. Anyhow, if you have any ideas or tips for

    new blog owners please share. I know this is off subject nevertheless I

    just wanted to ask. Many thanks!

  • ps4 games
    ps4 games
    11 Декабря 2019, 13:22
     ↑  0  ↓     ответ

    It's perfect time to make some plans for the future and it is time to be

    happy. I have read this post and if I could I desire to suggest

    you some interesting things or advice. Perhaps you can write next articles referring to

    this article. I desire to read more things about it!

  • ps4 games
    ps4 games
    13 Декабря 2019, 08:00
     ↑  0  ↓     ответ

    Hi mates, fastidious article and pleasant urging commented at this place, I am in fact

    enjoying by these.

  • ps4 games
    ps4 games
    14 Декабря 2019, 10:12
     ↑  0  ↓     ответ

    I love what you guys are usually up too. This kind of clever

    work and coverage! Keep up the excellent works guys I've included you guys to

    blogroll.

  • coconut oil
    coconut oil
    15 Декабря 2019, 21:14
     ↑  0  ↓     ответ

    hello!,I really like your writing so so much!

    percentage we communicate extra about your post on AOL?

    I need an expert in this space to solve my problem. May be that is you!

    Looking forward to look you.

  • coconut oil
    coconut oil
    16 Декабря 2019, 11:42
     ↑  0  ↓     ответ

    Hey There. I found your blog using msn. This is an extremely well written article.

    I will be sure to bookmark it and return to read more of your useful information. Thanks for the post.

    I will certainly comeback.

  • coconut oil
    coconut oil
    17 Декабря 2019, 10:20
     ↑  0  ↓     ответ

    I am sure this paragraph has touched all the internet visitors,

    its really really nice post on building up new blog.

  • coconut oil
    coconut oil
    19 Декабря 2019, 15:44
     ↑  0  ↓     ответ

    Ahaa, its fastidious dialogue on the topic of this post at this place at this blog,

    I have read all that, so at this time me also commenting here.

  • match.com free trial
    match.com free trial
    29 Декабря 2019, 12:15
     ↑  0  ↓     ответ

    Howdy! I know this is kinda off topic however I'd figured I'd ask.

    Would you be interested in exchanging links or maybe guest

    writing a blog post or vice-versa? My website discusses a lot of the same subjects as yours

    and I believe we could greatly benefit from each other.

    If you happen to be interested feel free to shoot me an email.

    I look forward to hearing from you! Superb blog by the way!

  • plenty of fish vs match.com free trial
    plenty of fish vs match.com free trial
    30 Декабря 2019, 21:20
     ↑  0  ↓     ответ

    Howdy! This post could not be written any better! Going through this post reminds me of my previous roommate!

    He constantly kept preaching about this. I most certainly will send this information to him.

    Fairly certain he will have a good read. Thank you for sharing!

  • match.com free trial
    match.com free trial
    31 Декабря 2019, 05:49
     ↑  0  ↓     ответ

    If you wish for to take much from this paragraph then you have to apply these strategies to

    your won website.

  • asksylphoflight.tumblr.com
    asksylphoflight.tumblr.com
    31 Декабря 2019, 12:22
     ↑  0  ↓     ответ

    Undeniably believe that which you said. Your favorite reason seemed to be on the internet the easiest thing to be aware of.

    I say to you, I certainly get annoyed while people consider

    worries that they plainly do not know about.

    You managed to hit the nail upon the top and defined out the whole thing without having side-effects , people can take a signal.

    Will probably be back to get more. Thanks

  • sling tv
    sling tv
    31 Декабря 2019, 17:27
     ↑  0  ↓     ответ

    I think the admin of this site is in fact working

    hard in support of his web site, because here every material is quality based material.

  • https://russellwebster.tumblr.com/
    https://russellwebster.tumblr.com/
    01 Января 2020, 15:12
     ↑  0  ↓     ответ

    great points altogether, you just won a new reader. What

    could you suggest in regards to your publish that you made some

    days ago? Any positive?

  • sling tv
    sling tv
    02 Января 2020, 17:19
     ↑  0  ↓     ответ

    Hi, this weekend is fastidious designed for me, since this moment i am

    reading this impressive informative piece of writing here at my

    residence.

  • sling tv
    sling tv
    03 Января 2020, 07:42
     ↑  0  ↓     ответ

    This piece of writing will help the internet users for building up new webpage or even a weblog from start to end.

  • sling tv https://asksylphoflight.tumblr.com/
    sling tv https://asksylphoflight.tumblr.com/
    05 Января 2020, 04:45
     ↑  0  ↓     ответ

    Nice replies in return of this query with firm arguments and explaining

    all on the topic of that.

  • sling tv
    sling tv
    07 Января 2020, 07:22
     ↑  0  ↓     ответ

    hi!,I like your writing very a lot! proportion we keep in touch extra approximately your post on AOL?

    I require an expert on this area to solve my problem. May be that is you!

    Having a look forward to look you.

  • sling tv
    sling tv
    07 Января 2020, 21:48
     ↑  0  ↓     ответ

    It's going to be end of mine day, except before ending I am reading this

    enormous piece of writing to increase my experience.

  • sling tv
    sling tv
    08 Января 2020, 03:51
     ↑  0  ↓     ответ

    Very quickly this web site will be famous amid all blog people, due to it's good

    content

  • sling tv
    sling tv
    14 Января 2020, 14:24
     ↑  0  ↓     ответ

    Thanks for every other magnificent article. Where else may just anyone get that

    type of info in such an ideal method of writing?

    I have a presentation next week, and I am at the look for such info.

  • sling tv
    sling tv
    14 Января 2020, 21:41
     ↑  0  ↓     ответ

    Write more, thats all I have to say. Literally,

    it seems as though you relied on the video to make your point.

    You clearly know what youre talking about, why waste your intelligence on just posting videos to your weblog when you could be giving us something enlightening to read?

  • sling tv
    sling tv
    15 Января 2020, 17:59
     ↑  0  ↓     ответ

    Good day! Do you know if they make any plugins

    to assist with Search Engine Optimization? I'm trying to get my blog to rank for some targeted keywords but I'm not seeing very good success.

    If you know of any please share. Many thanks!

  • sling tv
    sling tv
    17 Января 2020, 10:05
     ↑  0  ↓     ответ

    I'm excited to uncover this web site. I want to to thank you for ones time

    for this particularly fantastic read!! I definitely appreciated every part

    of it and i also have you book marked to check out new information on your web site.

  • sling tv
    sling tv
    18 Января 2020, 23:09
     ↑  0  ↓     ответ

    With havin so much content do you ever run into any issues of plagorism or copyright infringement?

    My website has a lot of unique content I've either created myself

    or outsourced but it looks like a lot of it is popping it up all over the web without my

    permission. Do you know any techniques to help prevent content from being ripped off?

    I'd really appreciate it.

  • sling tv best package 2020
    sling tv best package 2020
    25 Января 2020, 02:39
     ↑  0  ↓     ответ

    I am sure this post has touched all the internet people, its really really fastidious article

    on building up new blog.

  • sling tv
    sling tv
    29 Января 2020, 11:04
     ↑  0  ↓     ответ

    Hello my loved one! I wish to say that this

    article is awesome, great written and include almost all important

    infos. I would like to see extra posts like this .

  • cbd oil that works 2020
    cbd oil that works 2020
    04 Апреля 2020, 16:46
     ↑  0  ↓     ответ

    Hey very nice blog!

  • g
    g
    16 Июня 2020, 10:30
     ↑  0  ↓     ответ

    Have you ever considered publishing an ebook or guest authoring on other websites?

    I have a blog centered on the same information you discuss and would love to have you share

    some stories/information. I know my visitors would appreciate your work.

    If you are even remotely interested, feel free to send me an e-mail.

  • g
    g
    17 Июня 2020, 05:36
     ↑  0  ↓     ответ

    I don't even know the way I finished up right here, but I believed this post was great.

    I do not recognise who you might be however certainly you are going to a famous blogger when you are not already.

    Cheers!

  • g
    g
    18 Июня 2020, 01:00
     ↑  0  ↓     ответ

    Have you ever thought about including a little bit more

    than just your articles? I mean, what you say is important

    and all. However think of if you added some

    great photos or video clips to give your posts more, "pop"!

    Your content is excellent but with images and videos, this blog could certainly be one of

    the best in its field. Superb blog!

  • best website hosting
    best website hosting
    08 Августа 2020, 10:23
     ↑  0  ↓     ответ

    I go to see day-to-day a few web sites and sites to read posts, however this blog gives feature based posts.

  • best website hosting
    best website hosting
    08 Августа 2020, 19:21
     ↑  0  ↓     ответ

    I have been browsing online more than 4 hours today, yet

    I never found any interesting article like

    yours. It's pretty worth enough for me. In my view, if all site owners and bloggers

    made good content as you did, the internet will be much more useful than ever before.

  • content hosting
    content hosting
    09 Августа 2020, 03:39
     ↑  0  ↓     ответ

    Hi there friends, how is the whole thing, and what you desire to say regarding this article, in my view its

    in fact amazing in support of me.

  • adreamoftrains web hosting providers
    adreamoftrains web hosting providers
    09 Августа 2020, 10:21
     ↑  0  ↓     ответ

    Wow, awesome blog structure! How lengthy have you ever been running a blog for?

    you made blogging look easy. The total glance of your site is excellent, as smartly as the content!

    adreamoftrains hosting services

  • IvanUFrometa
    IvanUFrometa
    17 Августа 2020, 13:44
     ↑  0  ↓     ответ

    Hi there it's me, I am also visiting this site daily, this web page is

    actually good and the visitors are actually sharing fastidious

    thoughts.

  • LiliaARaimer
    LiliaARaimer
    23 Августа 2020, 14:51
     ↑  0  ↓     ответ

    Wonderful post! We will be linking to this particularly great content on our website.

    Keep up the good writing.

  • Selma
    Selma
    16 Сентября 2020, 00:08
     ↑  0  ↓     ответ

    Nice blog here! Also your web site loads up fast! What web host are you using?

    Can I get your affiliate link to your host? I wish my site loaded up as quickly as yours lol

  • a5 dot grid bullet journal
    a5 dot grid bullet journal
    16 Сентября 2020, 03:34
     ↑  0  ↓     ответ

    Heya i'm for the principal time here. I discovered this

    board and that i in locating It truly helpful & it helped me to out much.

    I hope to offer one important thing back and aid others just like

    you helped me.

  • chic sparrow nano wallet insert
    chic sparrow nano wallet insert
    21 Сентября 2020, 15:25
     ↑  0  ↓     ответ

    I'm really impressed with the writing talents as neatly as with the layout for the weblog.

    Is this a paid subject or have you modify it yourself?

    In either case keep within the nice high quality

    writing, it is actually rare to peer a great weblog such as this one today..

  • dual notebook blank and lined
    dual notebook blank and lined
    29 Сентября 2020, 13:41
     ↑  0  ↓     ответ

    Your method of describing all in this bit of writing is really good, all be capable of simply understand it, Thanks a good deal.

  • bullet journal traveler's notebook inserts
    bullet journal traveler's notebook inserts
    15 Октября 2020, 14:49
     ↑  0  ↓     ответ

    The other day, while I was at work, my cousin stole my iPad

    and tested to see if it can survive a twenty five foot drop, just so

    she can be a youtube sensation. My iPad is now broken and she has

    83 views. I know this is completely off topic but I

    had to share it with someone!

  • Felicitas
    Felicitas
    22 Октября 2020, 06:38
     ↑  0  ↓     ответ

    If you are going for best contents like I do, only pay a visit this site every day for the reason that it provides quality contents, thanks

  • MarvelZPizzo
    MarvelZPizzo
    24 Октября 2020, 00:52
     ↑  0  ↓     ответ

    Hey there! This is my 1st comment here so I just

    wanted to give a quick shout out and say I genuinely enjoy reading through your

    blog posts. Can you recommend any other blogs/websites/forums that cover the same topics?

    Thanks a ton!

  • midori travelers notebook wallet
    midori travelers notebook wallet
    03 Ноября 2020, 16:18
     ↑  0  ↓     ответ

    Quality articles or reviews will be the secret to attract the people to head to see

    the website, that's what this web site is providing.

  • college ruled notebook 5 subject
    college ruled notebook 5 subject
    20 Ноября 2020, 16:32
     ↑  0  ↓     ответ

    Perhaps you have considered about adding a little bit more

    than simply your articles? After all, what you say is important and all.

    But imagine when you added some terrific graphics or video clips to provide your posts more, "pop"!

    Your content is extremely good although with images and

    clips, this blog could definitely be among the most suitable

    in their field. Terrific blog!

  • college ruled composition notebook bulk
    college ruled composition notebook bulk
    17 Декабря 2020, 17:14
     ↑  0  ↓     ответ

    Things i do not understood is if honestly how you're now not really much more smartly-preferred than you could be at this time.

    You will be so intelligent. You recognize thus considerably on the subject

    of this subject, made me for my part consider it from numerous various angles.

    Its like individuals aren't interested except it's one thing to do with Woman gaga!

    Your own personal stuffs great. Always deal with it!

  • credit card pocket insert for travelers notebook pen holder
    credit card pocket insert for travelers notebook pen holder
    06 Января 2021, 16:20
     ↑  0  ↓     ответ

    I am just actually pleased to read this weblog posts which is made up of plenty of helpful information, thank you for providing these data.

  • college ruled notebook 5 subject
    college ruled notebook 5 subject
    08 Января 2021, 17:16
     ↑  0  ↓     ответ

    I?m not really that much of a online reader in all honesty however, your sites very nice, ensure that is

    stays up! I'll proceed to bookmark your website to come back later

    on. Thanks a lot

  • ArtieARook
    ArtieARook
    28 Января 2021, 20:52
     ↑  0  ↓     ответ

    magnificent points altogether, you simply received a fresh reader.

    What would you suggest in regards to your submit that you

    just made several days in the past? Any positive?

  • kikki k travel wallet
    kikki k travel wallet
    13 Февраля 2021, 13:48
     ↑  0  ↓     ответ

    I at all times used to study post in news papers however while i am a person of internet thus from now I am just using net for articles, thanks to web.

  • zipper wallet insert
    zipper wallet insert
    22 Февраля 2021, 18:25
     ↑  0  ↓     ответ

    I was extremely pleased to find this web site.

    I needed to thanks for ones time due to this wonderful read!!

    I definitely savored every part of it and that i have

    you saved being a favorite to look at new things within your blog.

  • coupon
    coupon
    29 Ноября 2022, 19:32
     ↑  0  ↓     ответ

    Asking questions are actually good thing if you are not understanding anything totally, but this piece of writing offers nice understanding

    even.

  • special
    special
    03 Декабря 2022, 04:56
     ↑  0  ↓     ответ

    I'm gone to tell my little brother, that he should also go to see this blog on regular basis to obtain updated from most up-to-date gossip.

Оставить комментарий




* обязательно для заполнения

1 введенный почтовый адрес используется только для обратной связи при ответах в комментариях и сервиса gravatar.com
.