Now, you can remove the index.php file: :/var/www/html $ sudo rm index.php Installing phpLiteAdmin Go to your Raspberry Pi IP address (use the command ifconfig to print your Pi IP address in your terminal window) and this is what you should see: Restart Apache2 service for the changes to take effect: :/var/the next line to your index.php file: Ĭtrl+X, type Y and press Enter to save your changes. Before: index.html index.phpĬtrl+X, type Y and press Enter to save your changes. Move to your /var/Make the next change to the file. To install PHP and its modules, type in this command: :~ $ sudo apt-get install php5 libapache2-mod-php5 php5-sqlite -y You also need to install PHP which is an open source web scripting language that is used to build dynamic web applications. Enter the next command: :~ $ sudo apt-get install apache2 -y You need to install Apache2 in your Raspberry, Apache is used to serve your web pages. You also need to have SQLite installed in your Raspberry Pi. You can read my Getting Started with the Raspberry Pi Guide to install Raspbian and complete the basic setup. Basic Raspberry Pi setupīefore you continue reading this project, make sure you have Raspbian Operating System installed in your Raspberry Pi. In this blog post I’ll introduce you to phpLiteAdmin which is a web-based user interface written in PHP that makes it easy to interact with SQLite databases.ĭon’t have a Raspberry Pi board? read Best Raspberry Pi Starter Kits.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |