<?xml version="1.0"?>
<rss version="2.0">
   <channel>
      <title>16_PHP by Murad Isa</title>
      <link>https://padlet.com/murado/php</link>
      <description></description>
      <language>en-us</language>
      <pubDate>2015-08-18 14:57:44 UTC</pubDate>
      <lastBuildDate>2023-02-16 04:03:27 UTC</lastBuildDate>
      <webMaster>hello@padlet.com</webMaster>
      <image>
         <url></url>
      </image>
      <item>
         <title>PHP</title>
         <author>murado</author>
         <link>https://padlet.com/murado/php/wish/66193353</link>
         <description><![CDATA[<ul><li><a href="https://secure.php.net/">https://php.net/</a></li><li><a href="https://en.wikipedia.org/wiki/Server-side_scripting">server-side scripting</a> language, </li><li>designed for <a href="https://en.wikipedia.org/wiki/Web_development">web development,</a> </li><li><a href="https://en.wikipedia.org/wiki/General-purpose_programming_language">general-purpose programming language</a>, </li><li>As of January 2013, PHP was installed on more than 240 million <a href="https://en.wikipedia.org/wiki/Website">websites</a> (39% of those sampled) and 2.1 million <a href="https://en.wikipedia.org/wiki/Web_server">web servers</a>,code can mixed with <a href="https://en.wikipedia.org/wiki/HTML">HTML</a> code,</li><li>used in combination with various <a href="https://en.wikipedia.org/wiki/Web_template_system">templating engines</a> and <a href="https://en.wikipedia.org/wiki/Web_framework">web frameworks</a>, </li><li>deployed on most web servers on almost every <a href="https://en.wikipedia.org/wiki/Operating_system">operating system</a> and <a href="https://en.wikipedia.org/wiki/Computing_platform">platform,</a> </li><li>free of charge.</li></ul><div><br><br></div>]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/68152101/7d740f944f25086f1bc81182aee6d793a10ab75b/5727e0e0cebcc521ba5ea336be4c3e06.png" />
         <pubDate>2015-08-18 15:05:09 UTC</pubDate>
         <guid>https://padlet.com/murado/php/wish/66193353</guid>
      </item>
      <item>
         <title>PHP - Tutorial</title>
         <author>murado</author>
         <link>https://padlet.com/murado/php/wish/77336485</link>
         <description><![CDATA[<ul><li><a href="https://www.w3schools.com/php7/">https://www.w3schools.com/php7/</a></li><li><a href="https://www.tutorialspoint.com/php7/">https://www.tutorialspoint.com/php7/</a></li></ul>]]></description>
         <enclosure url="" />
         <pubDate>2015-10-25 09:46:08 UTC</pubDate>
         <guid>https://padlet.com/murado/php/wish/77336485</guid>
      </item>
      <item>
         <title>PHP - Installation</title>
         <author>murado</author>
         <link>https://padlet.com/murado/php/wish/77336536</link>
         <description><![CDATA[<div><a href="https://linuxize.com/post/how-to-install-php-on-ubuntu-18-04/">https://linuxize.com/post/how-to-install-php-on-ubuntu-18-04/</a></div><div><br><strong><mark>apt  install  php  libapache2-mod-php   php-mcrypt   php-cli  -y<br><br>apt  install   php-mysql   php-gd  -y</mark></strong><br><br><strong><mark>systemctl   restart   apache2</mark></strong></div>]]></description>
         <enclosure url="" />
         <pubDate>2015-10-25 09:47:24 UTC</pubDate>
         <guid>https://padlet.com/murado/php/wish/77336536</guid>
      </item>
      <item>
         <title>PHP Info</title>
         <author>murado</author>
         <link>https://padlet.com/murado/php/wish/77336646</link>
         <description><![CDATA[<pre><strong><mark>&lt;?php
phpinfo();
?&gt;</mark></strong></pre>]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/68152101/681d0f574ed16ed958ecebfaa46e4a1dd9f29049/2c7339c2c5768e0cc2c476401b6b4ab4.png" />
         <pubDate>2015-10-25 09:50:26 UTC</pubDate>
         <guid>https://padlet.com/murado/php/wish/77336646</guid>
      </item>
      <item>
         <title>PHP - Configuration</title>
         <author>murado</author>
         <link>https://padlet.com/murado/php/wish/77336851</link>
         <description><![CDATA[<a href="https://help.ubuntu.com/community/ApacheMySQLPHP">https://help.ubuntu.com/community/ApacheMySQLPHP</a><h3><br></h3><h3><b>php.ini development vs. production</b></h3>
<p>After standard installation, php configuration file <em>/etc/php5/apache2/php.ini</em>
 is set so as "production settings" which means, among others, that no 
error messages are displayed. So if you e.g. make a syntax error in your
 php source file, apache server would return HTTP 500 error instead of 
displaying the php syntax error debug message. </p><p>If  you want to debug your scripts, it might be better to use the 
"development" settings. Both development and production settings ini's 
are located in /usr/share/php5/ </p><pre>/usr/share/php5/php.ini-development
/usr/share/php5/php.ini-production</pre><p>so you can compare them and see the exact differences. </p><p>To make the "development" settings active, just backup your original php.ini </p><pre>sudo mv /etc/php5/apache2/php.ini /etc/php5/apache2/php.ini.bak</pre><p>and create a symlink to your desired settings: </p><pre>sudo cp -s /usr/share/php5/php.ini-development /etc/php5/apache2/php.ini</pre><br>or you may of course also edit the <em>/etc/php5/apache2/php.ini</em> directly on your own, if you wish. <br><br>]]></description>
         <enclosure url="" />
         <pubDate>2015-10-25 09:57:41 UTC</pubDate>
         <guid>https://padlet.com/murado/php/wish/77336851</guid>
      </item>
      <item>
         <title>Installing PHP 7.2 with Nginx</title>
         <author>murado</author>
         <link>https://padlet.com/murado/php/wish/373995836</link>
         <description><![CDATA[<div>Unlike Apache, <a href="https://linuxize.com/post/how-to-install-nginx-on-ubuntu-18-04/">Nginx</a> doesn’t have a built in support for processing PHP files so we need to install a separate application such as PHP FPM (“fastCGI process manager”) which will handle PHP files.</div><div><br>To install the PHP and PHP FPM packages:</div><pre><strong><mark>apt  install  php-fpm</mark></strong></pre><div><br></div><div>check the status of the PHP FPM service:</div><pre><strong><mark>systemctl  status  php7.2-fpm</mark></strong></pre><div><br>Output:<br><br>* php7.2-fpm.service - The PHP 7.2 FastCGI Process Manager<br>   Loaded: loaded (/lib/systemd/system/php7.2-fpm.service; enabled; vendor preset: enabled)<br>   Active: active (running) since Sat 2018-06-30 23:56:14 PDT; 1min 28s ago<br>     Docs: man:php-fpm7.2(8)<br> Main PID: 10080 (php-fpm7.2)<br>   Status: "Processes active: 0, idle: 2, Requests: 0, slow: 0, Traffic: 0req/sec"<br>    Tasks: 3 (limit: 2321)<br>   CGroup: /system.slice/php7.2-fpm.service<br>           |-10080 php-fpm: master process (/etc/php/7.2/fpm/php-fpm.conf)<br><br>edit <a href="https://linuxize.com/post/how-to-set-up-nginx-server-blocks-on-ubuntu-18-04/">Nginx server block</a>. so that Nginx can process PHP files:</div><pre><strong>server</strong> {

    <em># . . . other code
</em>
    <strong>location</strong> ~ \.php$ {
        <strong>include</strong> snippets/fastcgi-php.conf;
        <strong>fastcgi_pass</strong> unix:/run/php/php7.2-fpm.sock;
    }
}</pre><div><br><a href="https://linuxize.com/post/nginx-commands-you-should-know/">restart the Nginx service</a> :</div><pre><strong><mark>systemctl  restart  nginx</mark></strong></pre>]]></description>
         <enclosure url="" />
         <pubDate>2019-08-11 05:44:10 UTC</pubDate>
         <guid>https://padlet.com/murado/php/wish/373995836</guid>
      </item>
   </channel>
</rss>
