<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>PHP on iBlog Efstathios Iosifidis</title><link>https://iosifidis.github.io/categories/php/</link><description>Recent content in PHP on iBlog Efstathios Iosifidis</description><generator>Hugo</generator><language>el</language><lastBuildDate>Mon, 10 Apr 2023 10:44:47 +0000</lastBuildDate><atom:link href="https://iosifidis.github.io/categories/php/index.xml" rel="self" type="application/rss+xml"/><item><title>Πλήρης οδηγός εγκατάστασης και χρήσης XAMPP σε Linux. Παράδειγμα εγκατάστασης Wordpress</title><link>https://iosifidis.github.io/2021/05/egatastasi-xrisi-xampp-se-linux-egkatastasi-wordpress.html/</link><pubDate>Sat, 15 May 2021 09:00:00 +0000</pubDate><guid>https://iosifidis.github.io/2021/05/egatastasi-xrisi-xampp-se-linux-egkatastasi-wordpress.html/</guid><description>&lt;p>&lt;img src="https://iosifidis.github.io/images/opensuse/XAMPP_logo.png" alt="Λογότυπο XAMPP" loading="lazy" />
&lt;/p>
&lt;h2 id="τι-είναι-το-xampp">Τι είναι το XAMPP&lt;/h2>
&lt;p>Το &lt;a href="https://www.apachefriends.org/index.html" target="_blank" rel="noopener noreferrer">XAMPP&lt;/a>
 αποτελεί ένα πακέτο προγραμμάτων το οποίο περιέχει ένα &lt;strong>εξυπηρετητή ιστοσελίδων&lt;/strong> (Apache), μια&lt;strong>βάση δεδομένων&lt;/strong> (MySQL) και τις &lt;strong>γλώσσες προγραμματισμού&lt;/strong> PHP και Perl. Αποτελεί εργαλείο ανάπτυξης και δοκιμής ιστοσελίδων τοπικά στον υπολογιστή χωρίς να είναι απαραίτητη η σύνδεση στο διαδίκτυο. Ενδείκνυται για δοκιμαστικές εγκαταστάσεις CMS ή άλλων παρόμοιων προγραμμάτων που κάνουν χρήση ενός διακομιστή, μιας βάσης δεδομένων και της γλώσσας PHP.&lt;/p>
&lt;h2 id="πλεονεκτήματα---μειονεκτήματα">Πλεονεκτήματα - Μειονεκτήματα&lt;/h2>
&lt;p>Το ερώτημα που γεννιέται είναι αν είναι καλύτερο έναντι άλλων λύσεων, όπως του &lt;a href="https://iosifidis.github.io/categories/virtualbox/">virtual box&lt;/a>
, του docker ή άλλων λύσεων.&lt;/p></description></item><item><title>Install ownCloud 7 on Raspberry Pi (Arch Linux) using Lighttpd</title><link>https://iosifidis.github.io/2014/07/install-owncloud-7-on-raspberry-pi-arch.html/</link><pubDate>Tue, 29 Jul 2014 20:17:00 +0000</pubDate><guid>https://iosifidis.github.io/2014/07/install-owncloud-7-on-raspberry-pi-arch.html/</guid><description>&lt;p>&lt;a href="http://owncloud.org/" target="_blank" rel="noopener noreferrer">&lt;img src="https://iosifidis.github.io/images/nextcloud/owncloud-heart.png" alt="Install ownCloud 7 on Raspberry Pi (Arch Linux) using Lighttpd" loading="lazy" />
&lt;/a>
&lt;br>
&lt;a href="http://owncloud.org/seven/" target="_blank" rel="noopener noreferrer">ownCloud 7&lt;/a>
 was out on July 23rd 2014. I spent couple of days to test it and then blog about it. You already saw &lt;a href="https://iosifidis.github.io/2014/06/install-owncloud-on-raspberry-pi-arch.html">my previous posting&lt;/a>
 about installing ownCloud on Arch Linux Rasbperry Pi. I&amp;rsquo;ll use the same base and I&amp;rsquo;ll correct/add some more info. So this post might be long but analytic with lot of pictures!!!&lt;/p>
&lt;p>Here we&amp;rsquo;ll see the basic installation. My next posts will be about securing the ownCloud instance. For my project, I used a Raspberry Pi (Model B), a 8GB SD card. It&amp;rsquo;s connected with ethernet and the power plugs on my router (there&amp;rsquo;s a USB that can be used as SAMBA server or Print Server).&lt;/p>
&lt;p>&lt;img src="https://iosifidis.github.io/images/raspberry-pi/raspberry/PiCloud_router.jpg" alt="ownCloud Raspberry Pi box" loading="lazy" />
&lt;br>
I used Arch Linux as distro, because I wanted to have the latest packages.&lt;/p>
&lt;p>This tutorial has 3 sections:&lt;/p>
&lt;ul>
&lt;li>Tips to setup Raspberry Pi Arch Linux&lt;/li>
&lt;li>Setup Lighttpd and PHP&lt;/li>
&lt;li>Setup ownCloud&lt;/li>
&lt;/ul>
&lt;p>Before we start, download &lt;a href="http://downloads.raspberrypi.org/arch_latest" target="_blank" rel="noopener noreferrer">Arch Linux image for Raspberry Pi&lt;/a>
. Create the SD card (dd if=Arch&amp;hellip;..img of=/dev/sdX bs=1M;sync).&lt;/p>
&lt;p>1. Now boot your Raspberry pi and update everything:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span>pacman -Syu
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>2. Mount the extra partition you made. How to do that?&lt;/p>
&lt;p>Find the name of the partition&lt;/p>
&lt;p>cat /proc/partitions&lt;/p></description></item><item><title>Βασική εγκατάσταση openEMR (ιατρικό πρόγραμμα)</title><link>https://iosifidis.github.io/2011/12/openemr_15.html/</link><pubDate>Thu, 15 Dec 2011 17:29:00 +0000</pubDate><guid>https://iosifidis.github.io/2011/12/openemr_15.html/</guid><description>&lt;p>&lt;a href="http://www.oemr.org/" target="_blank" rel="noopener noreferrer">&lt;img src="http://www.oemr.org/sites/all/files/oemr_logo_444x80.jpg" alt="" loading="lazy" />
&lt;/a>
&lt;/p>
&lt;p>Εντάξει, μπορεί να μην θέλετε να εγκαταστήσετε το σύστημά σας εκ νέου με το &lt;a href="http://pclosgr.blogspot.com/2011/11/pclinuxos-medical-201111.html" target="_blank" rel="noopener noreferrer">LiveCD&lt;/a>
 που δημιουργήθηκε. Έχετε το σύστημά σας και θέλετε να εγκαταστήσετε το openEMR. Πως θα το κάνετε αυτό;&lt;br>
Γίνεται σε 2 ενότητες. Η πρώτη θα στήσετε όλους τους εξυπηρετητές και στην δεύτερη θα στήσετε το πρόγραμμα.&lt;/p>
&lt;p>1η ΕΝΟΤΗΤΑ&lt;/p>
&lt;p>Εδώ θα δούμε πως εγκαθιστούμε Apache, MySQL, Proftp, PHP και Perl serveX. Αν ξέρετε πως γίνεται ή τα έχετε εγκατεστημένα, προχωρήστε στην 2η Ενότητα.&lt;/p></description></item></channel></rss>