paxtecno.blogg.se

Php5 has no installation candidate raspberry pi
Php5 has no installation candidate raspberry pi













php5 has no installation candidate raspberry pi

This cookie is set by GDPR Cookie Consent plugin. Diese Cookies gewährleisten anonymisiert grundlegende Funktionen und Sicherheit der Website. The last thing is to restart out FTP server daemon: sudo /etc/init.d/proftpd restartĮinige Cookies sind vom System des Blogs notwendig, können nicht deaktiviert werden.

php5 has no installation candidate raspberry pi

We only need to set some rights: sudo chmod g+s /var/www This FTP user now has read and write permissions for your web server root directory. Now you will be asked to set a password for the FTP user. Sudo ftpasswd -passwd -name hansi -uid 33 -gid 33 -home /var/www/ -shell /bin/false Now we create a virtual User (for me the username is hansi): cd /etc/proftpd/ We add the following lines at the end: DefaultRoot ~ĪuthOrder mod_auth_file.c mod_auth_unix.c For this we change the following file: sudo nano /etc/proftpd/nf Configurationįor our FTP server we don’t need real Unix users, but some virtual ones. sudo apt-get install proftpdĭuring installation we choose ’standalone‘. To get our program source code to the server we need a FTP connection. We want this and we also need to set a new PhpMyAdmin password. So there will be a dialog where it is asked if it is allowed to do that. PhpMyAdmin also needs to create tables in your database. Here we get a dialog where we use Apache2 as web server. It can be installed the following way: apt-get install libapache2-mod-auth-mysql php5-mysql phpmyadmin PHPMyAdmin is a smart web client for MySQL. I wanted to skip this step and got error messages like ‚packet mysql-server-5.5 is not yet configured‘. If you want to avoid problems, you should reboot you Raspberry now. You can install MySQL with the following command: apt-get install mysql-serverĭuring installation the root password for the database is needed. MySQL is a very popular database for web servers. Thats all! But for a web server you may need some additional packets that works with PHP 5: sudo apt-get install libapache2-mod-php5 libapache2-mod-perl2 php5 php5-cli php5-common php5-curl php5-dev php5-gd php5-imap php5-ldap php5-mhash php5-mysql php5-odbc MySQL Php 5 can also be installed easily with the packet manager: sudo apt-get install php5 Now with localhost in our Browser on the Raspberry Pi we should se a message.

php5 has no installation candidate raspberry pi

For this I was to use the following things:įirst we have to check if the user group for the web server exists: sudo groupadd www-dataĪfter that, we can install Apache with a packet manager: sudo apt-get install apache2ĭone. My first project is to turn my Raspberry into a small web server.















Php5 has no installation candidate raspberry pi