New 2.82 version of KSWEB

Version 2.82

  • added new user interface
  • added possibility to show cpu usage on main app screen
  • added Adminer MySQL database management tool
  • fixed some bugs in the code

92 thoughts on “New 2.82 version of KSWEB

  1. quan.trinh

    HI,
    I want to use YII framework with KSWEB.
    Help me to configure it.
    Thanks a lot.
    I use KSWEB 2.82

    Reply
    1. admin Post author

      Hello!

      I have downloaded yii and tried to run demo examples included in yii archive. They work well, except for that the framework tries to change rights on sdcard and stops with the error: “chmod(): Operation not permitted”. But when I commented line 12261 in the file “yii/framework/vendors/htmlpurifier/HTMLPurifier.standalone.php” the error was resolved.

      Reply
  2. 随心

    Hi, hello.This app is very good, but I have an idea. :mrgreen:
    Lighttpd more save resources, but now the popular mobile phone performance enough tough, such as Samsung S3/S4, or other quad-core 1.5G CPU, 2GB RAM, sufficient to support the operation of the Apache.
    Because more mainstream Apache effect “.htaccess” excellent.
    So I strongly suggest that you consider whether Apache can be integrated into the APK file, I speak very willing to test! Y (^ _ ^) Y
    The my blog KSWEB made ​​a detailed presentation and evaluation of the use, welcome guidance.

    Reply
    1. admin Post author

      Hello!

      We will think about your proposal. I think it is possible in the future to give our users possibility to choose what server they want to use. It is worth noting that you can configure almost all “.htaccess” features on lighttpd server by adding some options to lighttpd config file. How to do that you can find in the Internet. By the way, where can we see your presentation?

      Thank you for your support!

      Reply
  3. jay mee

    it fails when i try putting it on port 80 instead of 8080 and i need to be able to loginto mysql phpmyadmin remotely not just on phone can you add this for the next update?

    Reply
    1. admin Post author

      Hello!

      You can start phpMyAdmin remotely by using wi-fi or 3G network. In case wi-fi, try to enter to phpMyAdmin via address “http://ip_of_android_device:10000”.

      Reply
  4. Rea Raexley

    Hello,
    Thanks for this cool app, have you considered adding imap plugin for php ❓ thanks :)

    have a nice day

    Reply
  5. Mario

    Hi, thanks for this cool app. But I can’t use it, because I couldn’t use the WiFi. I use a special Networking-USB-Adapter. Is it possible to change the network adapter?
    Kind Regards, Mario

    Reply
    1. admin Post author

      Hello!

      I think KSWEB will work in general in your case but there can be some problems with IP detection.

      Reply
  6. Antoni

    Hello, I would like to ask a few questions:
    1. When I buy once, upgrades, reinstall, on the other phone installation, or flash later whether need to purchase?
    2. I need your guide, how to configure the reverse proxy in ksweb because online results cannot be applicable to ksweb.
    3. Of course, I am very hope to have more options, including Apache and Nginx!!! 😉

    Reply
    1. admin Post author

      Hello!

      1. Yes. Use your Google Account and all will be good.
      2. Can you describe in more details what you want to do. You can email me dkcocto@gmail.com.
      3. We working on them. =)

      Reply
        1. admin Post author

          Hello!

          1. You can configure multiple virtual hosts in lighttpd.conf. The simple way is to add to config these lines:

          $HTTP[“host”] == “test.ru” {
          server.document-root = “/test/root/path”
          }

          Then open file “/system/etc/hosts” and add line:

          127.0.0.1 test.ru

          You can add as much virtual hosts as you want. You can find more detailed information about virtual hosts on lighttpd in the Internet.

          2. I did not yet research how to make proxy server from lighttpd. And I don’t know whether it is possible or not.

          Reply
  7. Snackers

    Is there any one offering web hosting with KSWEB? I want to make use of an API that is only available for android on my website. ❓

    Reply
  8. Ian Bell

    Hello Admin,

    I am exploring trial version of KSWEB. Here is my requirement. I have my php/mysql site ready so want user to use that through ksweb. I created application window using phonegap and loaded localhost:8080/mysite/iindex.php. I copied site pages from assets to htdocs folder on application first run, but how can I load mysql.sql into ksweb’s mysql? I want to supply apk file to users who just iinstall the apk and local site get installed(pages + db). Also would like to sync mysql db with my online server db BUT only if when wifi is available, any way to do this using KSWEB? Thanks.

    Reply
  9. Ian Bell

    Hello, I have created apk file which copies php files from assets to htdocs. Question is how do I iinstall mysql db on ksweb? Any way to sync KSweb mysql db to online db when wifi on? Thanks

    Reply
  10. user

    Здравия! Попробовал купить через кнопку, в настройках программы. Сначала несколько раз писал “Платеж отклонен”, затем приложение вылетело с какой-то ошибкой. После перезапуска снова попробовал купить, а он мне пишет “У вас уже есть это приложение”. При этом версия продолжает быть триальной, деньги не списали. Пробовал оплатить через Beeline-платеж. Объясните как “обнулить” его уверенность в том что у меня уже есть это приложение, и купить его.

    Reply
    1. admin Post author

      Здравствуйте!

      Раз деньги не списали и по факту Вы ничего не потеряли, стоит приобрести серийный ключ на нашем сайте. Потом полностью переустановите приложение и активируйте его приобретенным ключом. Если возникнут какие-либо трудности – пишите.

      Reply
  11. easy

    Hello
    I test your app and I need the variable “register global” to ON and to make wget how by modifying any rights.

    Another question comes up your app white label

    Regards

    Jean

    Reply
    1. admin Post author

      Hello! You can configure “register globals” in php.ini via KSWEB options. I do not quite understand what you mean about wget and “white label”. Could you please tell me in more details about them.

      Reply
    1. admin Post author

      Hello! Unfortunately you can not do this. It depends on that some important binary of KSWEB can not work from sdcard which have FAT32 file system.

      Reply
  12. phoenon

    Hi, I’m working with your app for a week. It really rocks, but I have a question:
    I cant do mysqldump command por export the database trhougt php, but I can’t mysql import the database (command not found).
    I’d like to import my database from my own web interface (without phpmyadmin). What can I do?
    Thank you.

    Reply
    1. admin Post author

      Hello! Thank you for the positive feedback! I understand you, but you cant do this now. I will look at mysql utilites and will try to make them work on Android. I know that one of them can do what you need. We can continue our conversation by email (dkcocto@gmail.com).

      Reply
  13. phoenon

    Is there a way to import a database via mysql, from a mysqldump?
    I need to avoid phpmyadmin.
    thank you.

    Reply
  14. stuart

    I have an error when i try to login to phpmyadmin. Thanks

    Fatal error: include_once(): Cannot redeclare class pma_theme in /storage/sdcard0/ksweb/phpMyAdmin/libraries/common.inc.php on line 141

    Reply
  15. stuart

    I have a problem when i try to use phpmyadmiin

    Fatal error: Class ‘PMA_Message’ not found in /storage/sdcard0/ksweb/phpMyAdmin/libraries/Error.class.php on line 20

    Reply
    1. admin Post author

      Hello!

      In theory, you can use 3g to get access to the server. In this case it is important that your Internet provider
      doesn’t block ports for security reasons. If it does that the server will function via 3g by default.
      And your device will be accessed by “http://YOUR_EXTERNAL_IP_ADDRESS:PORT_OF_THE_SERVER”.

      Also you can try to use dyndns or any other dynamic dns service to solve the problem with dynamic ip which 3g Internet provider gave you.

      Reply
  16. Marcos SF Filho

    When you guys gonna add the InnoDB engine to MySQL?

    And when I use the CodeIgniter, sometimes the server trown an error telling that he cannot create the CI class, but when i refresh the page, the error changes, until it’s gone. Why this happen?

    Reply
    1. admin Post author

      Hello!

      We will try to add InnoDB in the next update.

      Could you send the exact formulation of the error? I knew about this error. It is difficult to correct it, because it’s hard to catch.

      Reply
  17. Fatih Aktas

    Hi! I’ve bought your app this morning to test my codes and i couldn’t really get something with lighttpd server(Im new to Php a little bit 😕 ), although i’ve been researching for it like an hour. The problem is, we can do rewriting on apache server like that:

    RewriteRule ^computer/(./)$showit.php?subject=$1

    but according to the site http://redmine.lighttpd.net/projects/1/wiki/Docs_ModRewrite#Description (that is what i understand from it), i should write this code on lighttpd server in this way by making a new “lighttpd.conf’ named file:

    server.modules = (
    “mod_rewrite”,
    )
    url.redirect = (
    “^/computer/(.*)$” => “^/showit.php?subject=$1”
    )

    But, the code doesn’t work 👿 , I first thought that maybe there is an already existing “lighttpd.conf” file, but i couldn’t find it. Please help me I couldn’t understand the problem :/

    Reply
    1. admin Post author

      Hello!

      This code is not necessary. Because the server compiled with mod_rewrite support already and the module works by default.

      server.modules = (
      “mod_rewrite”,
      )

      I think you should try to find more information and examples about how to use mod_rewrite in the Internet.

      Reply
  18. Harrow

    Szia nekem minden rendben van vele , de van nekem is egy kis gondom , még pedig az , hogy az innodb -t nem találja pl:
    fel raktam egy social engine php -t és kéri remélem a következő frisítésben benne lesz :sad: 😉

    Reply
  19. A102

    Trying to fire up a fresh install and am stuck with “Starting server” MySQL is starting up but there may be a problem with my lighttpd conf? I’m running it on a Galaxy S4

    Reply
  20. Shashank Jain

    Hi,

    Ive recently installed the trial version of the app, ver 2.82. The app is running great, however the php version installed is 5.4.13 and our code is written for 5.2.6
    Is there any way to install 5.2.6, or can I install the shell somehow w/out rooting?

    Replay asap.
    Thanks and cheers to the dev team!

    Reply
  21. dileep

    Is it possible to browse my server from other devices via 3g using ip address?
    so that i can set up my own web server (as a hobby)

    Reply
    1. admin Post author

      Hello!

      Yes. It is possible in theory. But very often 3g providers are block ports which needed for normal server work.

      Personally, I tried to open access to the server in Internet through a Wi-Fi router. This method works well.

      Reply
  22. juan pablo

    excellent app!
    can enable an option KSWEB execution of a user mode password protected?
    The idea is that a user can not modify the configuration of KSWEB and run it as a service on device start
    It would be ideal to run production applications

    Reply
  23. Jimmy Greer

    I am using android 4.2.2 on a samsung galaxy tab 3. I download open and It does a few things. then asks me to close and restart. I start and get starting server then restarting MySQL over and over again. Server status is off port and Doc Root are blank

    Thank You

    Reply
  24. dimi

    hi, i haven’t used lightttpd before and i was always using htaccess to redirect to error pages and redirect in general. I’ve been reading many examples on how to redirect in lighttpd but i am not able to make it working in the KSWEB server (which is a very good app btw, great job).

    What i’ve been doing so far is pasting the redirect code (i googled for “mod_rewrite lighttpd redirect examples”) but nothing works what so ever…

    i know it doesn’t concern you or your app 100% but i’d be very grateful if you could give me a little help with this!

    thanks in advance! :smile:

    Reply
    1. admin Post author

      Hello!

      Thank you for your positive feedback! I will try to help you. Will you send more information about rules which you want to enable? Are they related with some of CMS?

      Reply
  25. dimi

    hi, thanks for your reply. :]

    at the moment I want to create a custom error 404 page. maybe also redirect some pages to another but thats not number 1 priority. if i learn how its done I’ll be able to do it myself. the 404 error page code for lightttpd I found online doesnt seem to work, or I’m probably using it in a wrong place (randomly inside the lightttpd.config file). right now I’m hosting an smf forum but for my next project I’ll be using wordpress or a totally custom website. (the possibilities your app offers when u combine it with a service like no-ip are boundless! ;D )

    Reply
    1. admin Post author

      About 404 and other error pages you can find here: http://redmine.lighttpd.net/projects/lighttpd/wiki/Server_errorfile-prefixDetails . Did you try to do this ?

      Simple example of page redirection (just add it to lighttpd.conf). I hope the example is clear. It works, I tried it now.

      url.redirect = ( “^/index.php$” => “somepage.php” )

      Generally speaking you can found many examples about mod_rewrite in the Internet. The main problem will be to choose the right one and to edit it for your needs.

      Reply
  26. dimi

    hey, just tried exactly what you suggest. Still pretty much the same.

    Description of what i just did:
    1. Go to the end of the .conf file and copy pasted your code. (changed the ” a little bit so they don’t throw an error).
    2. Saved the new .conf file through the web interface, no errors.
    3. Nothing really changes. index.php is still index.php :/

    Also tried the following code for the 404 error page:
    PASTED server.error-handler-404 = “/error-404.html”
    UPLOADED error-404.html file in the root document folder…
    Nothing… the default 404 page still pops up.

    Tried to load the server modules before doing that (by adding the code: server.modules += ( “mod_redirect” ) ) but still nothing. :(

    Reply
    1. admin Post author

      About the example of redirection. I re-installed KSWEB, edited “lighttpd.conf” by web interface and pasted this line to the end of the file:
      url.redirect = ( “^/index.php$” => “somepage.php” )
      Note the quotation marks. They must not differ from other ones in the config file. Sometimes copy/paste operation changes its form.
      After I restarted KSWEB and started tests. Opened the browser and linked to the “http://localhost:8080/index.php”. The server opened “http://localhost:8080/somepage.php”. All is ok.

      I’m not lazy and did the example with the 404 and other errors.
      Again I opened lighttpd.conf and put:

      server.errorfile-prefix = “/mnt/sdcard/ksweb/status-”

      I created a few files in the folder “/mnt/sdcard/ksweb” with the names:
      status-404.html
      status-501.html
      status-500.html
      …..
      and other

      Then restarted the server, opened browser and linked to “http://localhost:8080/sadfsjdfsdfhj”. It showed my status-404.html.
      It turns out it works too! :-)
      Sleight of hand and no fraud. =)

      Reply
  27. dimi

    :/ i actually do believe you, it’s just frustrating that it’s not working here, even though it should.

    anyway, i’ll keep on trying, i bet it’s something small and stupid that i’m missing. Good to know that my code is not wrong. Thanks for your time! :]
    Can’t wait for v.3! Keep up the good work! (Y)

    Reply
  28. Karsten

    I’ve tried to install Burning Board Lite: http://www.woltlab.com/wbblite/

    But direct at the start if install.php I get the following message:

    “Fatal error: Unable to find class WCFSetup in temp folder
    Information:
    error message: Unable to find class WCFSetup in temp folder
    error code: 0
    file: /storage/sdcard0/external_sdcard/ksweb/htdocs/forum/install.php (159)
    php version: 5.4.13
    wcf version:
    date: Mon, 19 Aug 2013 22:16:18 +0000
    request: /forum/install.php
    referer: https://*************/forum/test.php
    Stacktrace:
    #0 [internal function]: __autoload(‘WCFSetup’)
    #1 /storage/sdcard0/external_sdcard/ksweb/htdocs/forum/install.php(752): class_exists(‘WCFSetup’)
    #2 {main}”

    Any idea how to solve?

    Reply
      1. Karsten

        Actually I do give phpbb a try. That one works. But I think its not bad at all to take look why the other one do not run.

        One thing I did report a little longer ago:

        Drupal. When I do write a new entry by using the build in editor, I do also upload pictures with it. Drupal generates thumbnails of it. It takes some time and the CPU load is high during converting. But when the picture is converted, then I get the red X instead of the tumbnail. Everytime, I have to refresh tha page to get these pictures load.

        Maybe both things have something together. The file Burning Board is missing is a gzip file, that should be copied and prepared at the beginning of install.php into the temp folder and then load…

        Just an idea.

        Reply
  29. alex

    I am using ksweb and replicating database with external master. all work fine over IP address but when I try using DNS name it fails to connect to master. Any idea why?

    Reply
    1. admin Post author

      Hello! I do not quite understand what you did. What do you mean under “replicating database with external master”?

      Reply
  30. elbarto

    Hi, I just download the trial version from Google Playstore. But I cannot try. It indicates the trial version is already expired and I never use it :sad:

    Reply
  31. Rob

    Every time I start ksweb on Android, it creates a line in the /etc/hosts file.

    After that, every Google app I try to start fails to connect.

    I only remove the line (which is: 127.0.0.1) and problem solved.

    Having to uninstall by now. :'(

    Any ideas?

    Reply
    1. admin Post author

      Hello! Are you telling about KSWEB 3.0 beta 1? We will try to solve this problem as soon as possible! Thank you!

      Reply
  32. Dave

    I have a problem with location of the mysql databases. For some reason my PC cannot see the directories on the Android (Nexus 7 Android 4.3) so I have put both the website code and the databases in documents. Edited the server config and it accepts the new location OK. Edited the my.ini file and as soon as the server starts it seems to rewrite the datadir line in the config.
    Getting near the end of my evaluation period so I need some help!
    Thanks

    Reply
    1. admin Post author

      Hello!

      In your case I suggest you to use KSWEB 2.82.

      But I do not quite understand why do you want to move mysql database?

      Version 3.02 of KSWEB allows to move DB in automatic mode.

      Reply
  33. Dave

    Thanks. FOr some reason my PC (Windows 7) cannot see all the folders on my Nexus 7 (Android 4.3) so I have to put stuff in DOcuments. Sere I could then move it to the correct location but that makes automated sync with my PC hard.

    Reply
  34. Dave

    OK – decided to buy the key. My websites are now at /storage/emulated/0/htdocs and seem to be fine.
    The databases are at /storage/emulated/0/ksweb/data/mysql/data. The server status page shows that the MySQL server is running and has found my databases. But when my website tries to connect it gets
    “Can’t connect to MySQL server through socket /data/data/ru.kslabs.ksweb/tmp/mysql.sock”
    which is what is in the MySQL config file. DO I need to change this – and if so do I need to change all the other refs to /data/data/ru.kslabs.ksweb/tmp

    Reply
  35. sergio conti

    I’ve just downloaded ksweb and installed it but i don’t find a reference manual or a help Which teaches using it, can you tell me, please, where can i find them? Thank you.

    Reply
    1. admin Post author

      Hello!

      The the basic approach of working with KSWEB is not much different from working with analogies product such as Denwer on Windows for example.
      Put your content (html, php and other files) to /mnt/sdcard/htdocs and then run KSWEB. Open browser and link to “http://localhost:8080”.

      Reply
  36. john

    hello
    hello
    I just use this software, I am very pleased with your software because it helps in teaching me, but when I want to enable the “regiter global = on” localhost can not be called and there is an error 500 internal error.
    can you help me.. 😥

    Reply
  37. Marc

    hi i cant actually import my database into phpmyadmin. can u tell me why ? when i clicked on Choose File to import, nothing happen. can i tell me more about this issue please. thank you

    Reply
  38. david

    @Marc I face the same problem of importing my database to no avail. Hope he replies with clear cut steps. Why don’t they have a tutorial on how to do basic things such as importing into database.

    Reply
    1. admin Post author

      Hello!

      Yes, I think that this is possible. If you still need this extension then please contact us via ‘dkcocto@gmail.com’.

      Reply
  39. Mario

    i can´t change the chmod on my device.
    Sony Xperia Z1 C6903 / Stock Rom / Rooted

    I don´t know why, i hope you can help!

    I have used FileZilla, PHP File Manager and ES File Explorer (with root)

    ERROR in WordPress:
    /storage/emulated/0/htdocs/wordpress/wp-content is write-able. When finished installing the plugin, change the permissions back to the default: chmod 755 /storage/emulated/0/htdocs/wordpress/wp-content. Permissions are currently 770.

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *