<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>php 7.4 Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/php-7-4/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Tue, 31 Dec 2019 01:14:19 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.8.13</generator>
	<item>
		<title>How to install phpMyAdmin on Windows 10</title>
		<link>https://www.osradar.com/how-to-install-phpmyadmin-on-windows-10/</link>
					<comments>https://www.osradar.com/how-to-install-phpmyadmin-on-windows-10/#comments</comments>
		
		<dc:creator><![CDATA[roger]]></dc:creator>
		<pubDate>Tue, 31 Dec 2019 01:14:11 +0000</pubDate>
				<category><![CDATA[Applications]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[apache web server]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[php 7.4]]></category>
		<category><![CDATA[phpMyAdmin]]></category>
		<category><![CDATA[phpMyAdmin in Windows]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=17360</guid>

					<description><![CDATA[<p>Hey, what&#8217;s up? Today we&#8217;re going to talk about install phpMyAdmin on WIndows 10. This is open-source software, designed to handle the administration and management of MySQL databases through a graphical user interface. Through this application, we can create, modify and delete records. It is also possible to import and export tables from the MySQL [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-phpmyadmin-on-windows-10/">How to install phpMyAdmin on Windows 10</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Hey, what&#8217;s up? Today we&#8217;re going to talk about install phpMyAdmin on WIndows 10. This is open-source software, designed to handle the administration and management of MySQL databases through a graphical user interface.  Through this application, we can create, modify and delete records. It is also possible to import and export tables from the MySQL database. In addition, we can execute MySQL queries, optimize and repair the database and many more tasks. Well, in this post we are going to see how to install phpMyAdmin in Windows 10.</p>



<h2>Prerequisites</h2>



<p> To make use of this tool, the webserver must obviously be configured and running correctly. In like manner, here in osradar.com, I show you how to install and configure the following elements:</p>



<ul><li>Any web server running and configured. In this case, we will use <a rel="noreferrer noopener" aria-label="Apache. (opens in a new tab)" href="https://www.osradar.com/how-to-install-apache-on-windows-10/" target="_blank">Apache.</a></li><li>A database manager. For this purpose, we will use <a rel="noreferrer noopener" aria-label="MySql. (opens in a new tab)" href="https://www.osradar.com/how-to-install-mysql-in-windows-10/" target="_blank">MySql.</a></li><li><a rel="noreferrer noopener" aria-label="PHP. (opens in a new tab)" href="https://www.osradar.com/how-to-install-php-in-windows-10/" target="_blank">PHP.</a></li></ul>



<h2>Download the latest version of phpMyAdmin.</h2>



<p> In the first place, go to the official phpMyAdmin website and <a rel="noreferrer noopener" aria-label="download (opens in a new tab)" href="https://www.phpmyadmin.net/downloads/" target="_blank">download</a> the latest version of the tool from there At the time of writing this post, the version is 5.0.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="730" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/php-1.jpg" alt="Download the latest version of phpMyAdmin" class="wp-image-17374" srcset="https://www.osradar.com/wp-content/uploads/2019/12/php-1.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/12/php-1-300x214.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/12/php-1-768x548.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/12/php-1-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/12/php-1-696x496.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/12/php-1-589x420.jpg 589w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Download the latest version of phpMyAdmin</figcaption></figure>



<p>Then unzip the file and rename it to phpMyAdmin. Then drag this folder to the next path: <strong>C:\Apache24\htdocs</strong></p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="730" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/php2-1.jpg" alt="Unzip the file, modify its name and drag it to the address above." class="wp-image-17376" srcset="https://www.osradar.com/wp-content/uploads/2019/12/php2-1.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/12/php2-1-300x214.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/12/php2-1-768x548.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/12/php2-1-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/12/php2-1-696x496.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/12/php2-1-589x420.jpg 589w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Unzip the file, modify its name and drag it to the address above.</figcaption></figure>



<h2>Set up some phpMyAdmin files.</h2>



<p>To ensure the correct functioning of the tool, it is necessary to make some previous configurations. First, inside the program folder, locate the file <strong>config.sample.inc.php</strong>. Then, rename it to <strong>config.inc.php</strong>.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="730" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/php3-1.jpg" alt="Rename the selected file." class="wp-image-17379" srcset="https://www.osradar.com/wp-content/uploads/2019/12/php3-1.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/12/php3-1-300x214.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/12/php3-1-768x548.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/12/php3-1-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/12/php3-1-696x496.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/12/php3-1-589x420.jpg 589w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Rename the selected file.</figcaption></figure>



<p> Finally, you have to modify it with your favorite text editor. Please select the next line:</p>



<pre class="wp-block-code"><code>$cfg&#91;'blowfish_secret'] = ''; /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */</code></pre>



<p> Enter a value of your choice, minimum of 32 characters long:</p>



<pre class="wp-block-code"><code>$cfg&#91;'blowfish_secret'] = ''; /* k7b862qwq4ygj8a2hkczmd6spqsnspnkd */</code></pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="730" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/php4-2.jpg" alt="" class="wp-image-17380" srcset="https://www.osradar.com/wp-content/uploads/2019/12/php4-2.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/12/php4-2-300x214.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/12/php4-2-768x548.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/12/php4-2-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/12/php4-2-696x496.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/12/php4-2-589x420.jpg 589w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>Finally, save the configuration file.</p>



<h2>Enable the necessary extensions.</h2>



<p>On the other hand, it is necessary to enable the extensions required for the operation of the tool. With this intention, remove the <strong>;</strong> at the beginning of the extension, as shown <a rel="noreferrer noopener" aria-label="here. (opens in a new tab)" href="https://www.osradar.com/how-to-install-cakephp-in-windows-10/" target="_blank">here.</a> With this intention, open the file php.ini located in the php folder.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="730" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/php5-2.jpg" alt="Edit the php.ini file" class="wp-image-17381" srcset="https://www.osradar.com/wp-content/uploads/2019/12/php5-2.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/12/php5-2-300x214.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/12/php5-2-768x548.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/12/php5-2-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/12/php5-2-696x496.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/12/php5-2-589x420.jpg 589w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Edit the php.ini file</figcaption></figure>



<p>The extensions to be enabled are the following:</p>



<pre class="wp-block-code"><code>extension=php_mbstring.dll
extension=mysqli</code></pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="730" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/php6-1.jpg" alt="Enable the extensions." class="wp-image-17383" srcset="https://www.osradar.com/wp-content/uploads/2019/12/php6-1.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/12/php6-1-300x214.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/12/php6-1-768x548.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/12/php6-1-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/12/php6-1-696x496.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/12/php6-1-589x420.jpg 589w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Enable the extensions.</figcaption></figure>



<p>Finally, save the configuration and restart the Apache server. With this in mind, press the Win+R combination and run the <strong>services.msc </strong>command. Once the list of services is open, locate the <em>Apache HTTP Server</em>, and restart it.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="730" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/php7-1.jpg" alt="Reboot the Apache server." class="wp-image-17385" srcset="https://www.osradar.com/wp-content/uploads/2019/12/php7-1.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/12/php7-1-300x214.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/12/php7-1-768x548.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/12/php7-1-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/12/php7-1-696x496.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/12/php7-1-589x420.jpg 589w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Reboot the Apache server.</figcaption></figure>



<h2>Login to phpMyAdmin</h2>



<p>Once you have made your settings, it is time to login to phpMyAdmin. To do so, please open the following address in your web browser:  <strong>http://localhost/phpmyadmin/ </strong> Once there, please enter your MySQL username and password:</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="730" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/php8-1.jpg" alt="Enter the MySQL user and password." class="wp-image-17386" srcset="https://www.osradar.com/wp-content/uploads/2019/12/php8-1.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/12/php8-1-300x214.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/12/php8-1-768x548.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/12/php8-1-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/12/php8-1-696x496.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/12/php8-1-589x420.jpg 589w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Enter the MySQL user and password.</figcaption></figure>



<p>After entering the credentials, the tool&#8217;s Dashboard will be displayed. Additionally, when you scroll down the page, a warning sign appears.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="730" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/php9-1.jpg" alt="The initial screen of phpMyAdmin showing the warning notice." class="wp-image-17389" srcset="https://www.osradar.com/wp-content/uploads/2019/12/php9-1.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/12/php9-1-300x214.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/12/php9-1-768x548.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/12/php9-1-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/12/php9-1-696x496.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/12/php9-1-589x420.jpg 589w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>The initial screen of phpMyAdmin showing the warning notice.</figcaption></figure>



<p>This warning is shown because the tool needs a database to work. In case you have not created it before, it is possible to import it from the same installation folder. With this in mind, please click on the Import menu. Then navigate to the following path:<strong> C:\Apache24\htdocs\phpMyAdmin\sql.</strong> And from there, select <em>create_tables.sql</em></p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="730" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/php10-1.jpg" alt="Import the create_tables.sql database" class="wp-image-17390" srcset="https://www.osradar.com/wp-content/uploads/2019/12/php10-1.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/12/php10-1-300x214.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/12/php10-1-768x548.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/12/php10-1-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/12/php10-1-696x496.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/12/php10-1-589x420.jpg 589w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Import the create_tables.sql database</figcaption></figure>



<p>Consequently, a database will be created under the name <em>phpmyadmin</em></p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="730" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/php11-1.jpg" alt="Recently imported phpmyadmin database" class="wp-image-17392" srcset="https://www.osradar.com/wp-content/uploads/2019/12/php11-1.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/12/php11-1-300x214.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/12/php11-1-768x548.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/12/php11-1-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/12/php11-1-696x496.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/12/php11-1-589x420.jpg 589w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Recently imported phpmyadmin database</figcaption></figure>



<p>Once the database is created, you have to exit the tool by clicking on the door with the small green arrow.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="730" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/php12-1.jpg" alt="Exit from phpMyAdmin" class="wp-image-17393" srcset="https://www.osradar.com/wp-content/uploads/2019/12/php12-1.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/12/php12-1-300x214.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/12/php12-1-768x548.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/12/php12-1-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/12/php12-1-696x496.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/12/php12-1-589x420.jpg 589w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Exit from phpMyAdmin</figcaption></figure>



<p>Then, modify the values referred to the user who will manipulate the database. In addition, it enables the database and table storage parameters. To do this, it eliminates the double slashes in front of them. Likewise, in the line corresponding to user control, it adds <em>localhost</em>. Also, it modifies the value <em>controluser </em>and <em>controlpass </em>with the user and the password of MySQL. To graph the process I show you the code before editing it and where you should make the changes.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="730" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/php17-1.jpg" alt="Edit the indicated values." class="wp-image-17395" srcset="https://www.osradar.com/wp-content/uploads/2019/12/php17-1.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/12/php17-1-300x214.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/12/php17-1-768x548.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/12/php17-1-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/12/php17-1-696x496.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/12/php17-1-589x420.jpg 589w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Edit the indicated values.</figcaption></figure>



<p>Below is the appearance of the correctly modified phpMyAdmin configuration file.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="730" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/php16-2.jpg" alt="The configuration file of phpMyAdmin correctly modified" class="wp-image-17398" srcset="https://www.osradar.com/wp-content/uploads/2019/12/php16-2.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/12/php16-2-300x214.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/12/php16-2-768x548.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/12/php16-2-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/12/php16-2-696x496.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/12/php16-2-589x420.jpg 589w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>The configuration file of phpMyAdmin correctly modified</figcaption></figure>



<p>Save the configuration and go back to phpMyAdmin. The warning message should have disappeared.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="730" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/php18-1.jpg" alt="phpMyAdmin running without a warning message" class="wp-image-17400" srcset="https://www.osradar.com/wp-content/uploads/2019/12/php18-1.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/12/php18-1-300x214.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/12/php18-1-768x548.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/12/php18-1-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/12/php18-1-696x496.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/12/php18-1-589x420.jpg 589w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>phpMyAdmin running without a warning message</figcaption></figure>



<p> Ultimately, we have seen how to install phpMyAdmin on Windows 10. This tool facilitates the management and administration of MySQL. I hope you enjoyed this post. See you soon!</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-phpmyadmin-on-windows-10/">How to install phpMyAdmin on Windows 10</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/how-to-install-phpmyadmin-on-windows-10/feed/</wfw:commentRss>
			<slash:comments>7</slash:comments>
		
		
			</item>
		<item>
		<title>How To Install php 7.4 on Debian 10 / 9 with Nginx Server</title>
		<link>https://www.osradar.com/how-to-install-php-7-4-on-debian-10-9-with-nginx-server/</link>
					<comments>https://www.osradar.com/how-to-install-php-7-4-on-debian-10-9-with-nginx-server/#respond</comments>
		
		<dc:creator><![CDATA[sabi]]></dc:creator>
		<pubDate>Sun, 29 Dec 2019 06:21:00 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[how to Install php 7.4 on debian 10]]></category>
		<category><![CDATA[install php on debian]]></category>
		<category><![CDATA[php 7.4]]></category>
		<category><![CDATA[php installation on linux]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=17057</guid>

					<description><![CDATA[<p>Introduction: Today, we are going to cover the Installation of PHP 7.4 on Debian 10 / 9 with Nginx Server Installation. PHP 7.4 comes with the more advanced features and improvements in order to help the Developers provide convenient way for developing web sites and writing different scripts. So, let&#8217;s start our Installation. Installing PHP [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-php-7-4-on-debian-10-9-with-nginx-server/">How To Install php 7.4 on Debian 10 / 9 with Nginx Server</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<h2><strong>Introduction:</strong></h2>



<p>Today, we are going to cover the Installation of PHP 7.4 on Debian 10 / 9 with Nginx Server Installation. PHP 7.4 comes with the more advanced features and improvements in order to help the Developers provide convenient way for developing web sites and writing different scripts. So, let&#8217;s start our Installation.</p>



<h3><strong>Installing PHP 7.4 on Debian 10 / 9</strong></h3>



<p>To Install PHP 7.4 on Debian you will be required to add a repository. The latest builds of PHP for Debian are available on SURY PHP PPA repository. Firstly we will add the repo and then move towards the Installation of PHP and Nginx.</p>



<h3><strong>Step 1: Update Your System</strong></h3>



<p>Simply run the below command to update &amp; upgrade your system. After updating reboot your system.</p>



<pre class="wp-block-verse">sudo apt upgrade<br>sudo apt upgrade -y &amp;&amp; sudo reboot</pre>



<h3><strong>Step 2: Adding SURY PHP PPA Repository</strong></h3>



<p>Download the GPG key by running</p>



<pre class="wp-block-verse">sudo apt -y install lsb-release apt-transport-https ca-certificates <br>sudo wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg</pre>



<p>Now, add a repository by typing</p>



<pre class="wp-block-verse">echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/php.list</pre>



<h3><strong>Step 3: Install PHP 7.4 on Debian 10 / 9</strong></h3>



<p>It&#8217;s time to install php 7.4 on your system. Don&#8217;t forget to update your packages before Installing php.</p>



<pre class="wp-block-verse">sudo apt update</pre>



<p>Now, run the given command to Install php 7.4 on Debian</p>



<pre class="wp-block-verse">sudo apt -y install php7.4</pre>



<p>Press <strong>Y</strong> when prompt to continue the process of Installing PHP 7.4 on Debian 10 / 9</p>



<pre class="wp-block-verse">Reading package lists… Done<br> Building dependency tree       <br> Reading state information… Done<br> The following additional packages will be installed:<br>   apache2 apache2-bin apache2-data apache2-utils libapache2-mod-php7.4 libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap libbrotli1<br>   libcurl4 libgdbm-compat4 libgdbm6 libjansson4 libldap-2.4-2 libldap-common liblua5.2-0 libnghttp2-14 libpcre2-8-0 libperl5.28 librtmp1<br>   libsasl2-2 libsasl2-modules libsasl2-modules-db libsodium23 libssh2-1 perl perl-modules-5.28 php-common php7.4-cli php7.4-common php7.4-json<br>   php7.4-opcache php7.4-readline psmisc ssl-cert<br> Suggested packages:<br>   apache2-doc apache2-suexec-pristine | apache2-suexec-custom www-browser php-pear libsasl2-modules-gssapi-mit | libsasl2-modules-gssapi-heimdal<br>   libsasl2-modules-ldap libsasl2-modules-otp libsasl2-modules-sql perl-doc libterm-readline-gnu-perl | libterm-readline-perl-perl make<br>   libb-debug-perl liblocale-codes-perl openssl-blacklist<br> The following NEW packages will be installed:<br>   apache2 apache2-bin apache2-data apache2-utils libapache2-mod-php7.4 libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap libbrotli1<br>   libcurl4 libgdbm-compat4 libgdbm6 libjansson4 libldap-2.4-2 libldap-common liblua5.2-0 libnghttp2-14 libperl5.28 librtmp1 libsasl2-2<br>   libsasl2-modules libsasl2-modules-db libsodium23 libssh2-1 perl perl-modules-5.28 php-common php7.4 php7.4-cli php7.4-common php7.4-json<br>   php7.4-opcache php7.4-readline psmisc ssl-cert<br> The following packages will be upgraded:<br>   libpcre2-8-0<br> 1 upgraded, 36 newly installed, 0 to remove and 7 not upgraded.<br> Need to get 15.0 MB of archives.<br> After this operation, 76.9 MB of additional disk space will be used.<br> Do you want to continue? [Y/n] y</pre>



<p>Run the following command to Install additional packages with PHP 7.4 on Debian 10 / 9</p>



<pre class="wp-block-verse">sudo apt-get install php7.4-{bcmath,bz2,intl,gd,mbstring,mysql,zip}</pre>



<p>Similarly you can follow the same syntax to install your other packages with php 7.4</p>



<pre class="wp-block-verse">sudo apt-get install php7.4-xxx</pre>



<h3><strong>Step 4: Installing Nginx on Debian 10 / 9</strong></h3>



<p>As you know that you will be required to Install a web server in order to gain access for using and testing php on your system. By default web server is Apache but Nginx provide more convenience so I will recommend to use Nginx on your Debian system. Firstly, disable the Apache server by running</p>



<pre class="wp-block-verse">sudo systemctl disable --now apache2</pre>



<p>Now, Install the fpm extensions and nginx packages.</p>



<pre class="wp-block-verse">sudo apt-get install nginx php7.4-fpm</pre>



<p>PHP fpm Configuration files are located in the directory <strong>/etc/php/7.4/fpm/</strong></p>



<p>Make sure that the services are running properly.</p>



<pre class="wp-block-verse">$ systemctl status php7.4-fpm nginx<br> ● php7.4-fpm.service - The PHP 7.4 FastCGI Process Manager<br>    Loaded: loaded (/lib/systemd/system/php7.4-fpm.service; enabled; vendor preset: enabled)<br>    Active: active (running) since Tue 2019-12-24 17:32:26 UTC; 14s ago<br>      Docs: man:php-fpm7.4(8)<br>  Main PID: 12151 (php-fpm7.4)<br>    Status: "Processes active: 0, idle: 2, Requests: 0, slow: 0, Traffic: 0req/sec"<br>     Tasks: 3 (limit: 2377)<br>    Memory: 14.7M<br>    CGroup: /system.slice/php7.4-fpm.service<br>            ├─12151 php-fpm: master process (/etc/php/7.4/fpm/php-fpm.conf)<br>            ├─12152 php-fpm: pool www<br>            └─12153 php-fpm: pool www<br> Dec 24 17:32:26 deb10 systemd[1]: Starting The PHP 7.4 FastCGI Process Manager…<br> Dec 24 17:32:26 deb10 systemd[1]: Started The PHP 7.4 FastCGI Process Manager.<br> ● nginx.service - A high performance web server and a reverse proxy server<br>    Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled)<br>    Active: active (running) since Tue 2019-12-24 17:32:27 UTC; 12s ago<br>      Docs: man:nginx(8)<br>  Main PID: 12362 (nginx)<br>     Tasks: 2 (limit: 2377)<br>    Memory: 3.2M<br>    CGroup: /system.slice/nginx.service<br>            ├─12362 nginx: master process /usr/sbin/nginx -g daemon on; master_process on;<br>            └─12363 nginx: worker process<br> Dec 24 17:32:27 deb10 systemd[1]: Starting A high performance web server and a reverse proxy server…<br> Dec 24 17:32:27 deb10 systemd[1]: nginx.service: Failed to parse PID from file /run/nginx.pid: Invalid argument<br> Dec 24 17:32:27 deb10 systemd[1]: Started A high performance web server and a reverse proxy server.</pre>



<p>You&#8217;ve all done. Enjoy developing your web applications and other projects with PHP 7.4 with greater and advanced functionalities on Debian system.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-php-7-4-on-debian-10-9-with-nginx-server/">How To Install php 7.4 on Debian 10 / 9 with Nginx Server</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/how-to-install-php-7-4-on-debian-10-9-with-nginx-server/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to install PHP 7.4 on CentOS 8?</title>
		<link>https://www.osradar.com/install-php-74-centos-8/</link>
					<comments>https://www.osradar.com/install-php-74-centos-8/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Tue, 24 Dec 2019 00:11:00 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Centos 8]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[php 7.4]]></category>
		<category><![CDATA[Programming language]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[web]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=16832</guid>

					<description><![CDATA[<p>A new version of PHP has come out and it’s time to install it on our servers. So in this post, you will learn how to install PHP 7.4 on CentOS 8. Having this version, you will be able to take better advantage of running websites. As we know, PHP is a programming language widely [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-php-74-centos-8/">How to install PHP 7.4 on CentOS 8?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>A new version of PHP has come out and it’s time to install it on our servers. So in this post, you will learn<strong> how to install PHP 7.4 on CentOS 8</strong>. Having this version, you will be able to take better advantage of running websites.</p>



<p>As we know, <a href="https://osradar.com/tag/php/">PHP</a> is a  programming language widely used all over the world. In fact, most of the web sites and applications use it. Therefore, it is to be assumed that most servers need it.</p>



<p>By default, CentOS 8 includes version 7.2 in its official repositories. It&#8217;s actually a good version that will be supported for a while longer, but the language is advancing more and more every day. So, it is a good idea to install recent versions.</p>



<p>So, let us start.</p>



<h2>Install PHP 7.4 on CentOS 8</h2>



<h3>Installing Apache web server on CentOS 8</h3>



<p>Okay, the first step is to install a web server. It can be <a href="https://www.osradar.com/tag/apache" target="_blank" rel="noreferrer noopener" aria-label="Apache (opens in a new tab)">Apache</a> or <a href="https://www.osradar.com/tag/nginx" target="_blank" rel="noreferrer noopener" aria-label="Nginx (opens in a new tab)">Nginx</a> but in this case, I will use Apache. So I am going to install it.</p>



<p>Open a terminal session and run the following:</p>



<pre class="wp-block-preformatted">:~$ su
:~# dnf install httpd</pre>



<p>After the installation is completed, the apache service must be started. We can also enable it to start together with the system:</p>



<pre class="wp-block-preformatted">:~# systemctl enable httpd
:~# systemctl start httpd</pre>



<p>Then, you have to open the ports where the server works. Without this, we won&#8217;t have access to the documents on the server.</p>



<pre class="wp-block-preformatted">:~# firewall-cmd --add-port=80/tcp --permanent --zone=public
success
:~# firewall-cmd --add-port=443/tcp --permanent --zone=public
success
:~# firewall-cmd --reload
success</pre>



<p>Now, we can install PHP 7.4 on CentOS 8.</p>



<h3>PHP&#8217;s turn</h3>



<p>To install PHP 7.4 we will use the REMI repository. It is quite stable and has a long history of use. But, first, we will have to enable the EPEL repository. We can do this with the following command:</p>



<pre class="wp-block-preformatted">:~# dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm</pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="283" src="https://www.osradar.com/wp-content/uploads/2019/12/1-9-1024x283.png" alt="1.- Enabling the EPEL repository on CentOS 8" class="wp-image-16833" srcset="https://www.osradar.com/wp-content/uploads/2019/12/1-9-1024x283.png 1024w, https://www.osradar.com/wp-content/uploads/2019/12/1-9-300x83.png 300w, https://www.osradar.com/wp-content/uploads/2019/12/1-9-768x212.png 768w, https://www.osradar.com/wp-content/uploads/2019/12/1-9-696x192.png 696w, https://www.osradar.com/wp-content/uploads/2019/12/1-9-1068x295.png 1068w, https://www.osradar.com/wp-content/uploads/2019/12/1-9.png 1365w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>1.- Enabling the EPEL repository on CentOS 8</figcaption></figure>



<p>Next, we proceed to add the REMI repository for CentOS 8.</p>



<pre class="wp-block-preformatted">:~# dnf install https://rpms.remirepo.net/enterprise/remi-release-8.rpm</pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="261" src="https://www.osradar.com/wp-content/uploads/2019/12/2-8-1024x261.png" alt="2.- Adding the REMI repository" class="wp-image-16834" srcset="https://www.osradar.com/wp-content/uploads/2019/12/2-8-1024x261.png 1024w, https://www.osradar.com/wp-content/uploads/2019/12/2-8-300x76.png 300w, https://www.osradar.com/wp-content/uploads/2019/12/2-8-768x196.png 768w, https://www.osradar.com/wp-content/uploads/2019/12/2-8-696x177.png 696w, https://www.osradar.com/wp-content/uploads/2019/12/2-8-1068x272.png 1068w, https://www.osradar.com/wp-content/uploads/2019/12/2-8.png 1365w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>2.- Adding the REMI repository</figcaption></figure>



<p>The REMI repository contains a large number of packages. By default, only those belonging to REMI-Safe are enabled. So, you have to enable REMI-7.4.</p>



<pre class="wp-block-preformatted">:~# dnf module enable php:remi-7.4</pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="249" src="https://www.osradar.com/wp-content/uploads/2019/12/3-9-1024x249.png" alt="3.- Enabling the PHP 7.4 series" class="wp-image-16835" srcset="https://www.osradar.com/wp-content/uploads/2019/12/3-9-1024x249.png 1024w, https://www.osradar.com/wp-content/uploads/2019/12/3-9-300x73.png 300w, https://www.osradar.com/wp-content/uploads/2019/12/3-9-768x187.png 768w, https://www.osradar.com/wp-content/uploads/2019/12/3-9-696x169.png 696w, https://www.osradar.com/wp-content/uploads/2019/12/3-9-1068x260.png 1068w, https://www.osradar.com/wp-content/uploads/2019/12/3-9.png 1365w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>3.- Enabling the PHP 7.4 series</figcaption></figure>



<p>And now we can install PHP 7.4 and its modules without problems.</p>



<pre class="wp-block-preformatted">:~# dnf install php php-common php-pecl-apcu php-cli php-pear php-pdo php-mysqlnd php-pgsql php-gd php-mbstring php-xml</pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="535" src="https://www.osradar.com/wp-content/uploads/2019/12/4-7-1024x535.png" alt="4.- Install PHP 7.4 on CentOS 8" class="wp-image-16836" srcset="https://www.osradar.com/wp-content/uploads/2019/12/4-7-1024x535.png 1024w, https://www.osradar.com/wp-content/uploads/2019/12/4-7-300x157.png 300w, https://www.osradar.com/wp-content/uploads/2019/12/4-7-768x401.png 768w, https://www.osradar.com/wp-content/uploads/2019/12/4-7-696x364.png 696w, https://www.osradar.com/wp-content/uploads/2019/12/4-7-1068x558.png 1068w, https://www.osradar.com/wp-content/uploads/2019/12/4-7-804x420.png 804w, https://www.osradar.com/wp-content/uploads/2019/12/4-7.png 1365w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>4.- Install PHP 7.4 on CentOS 8</figcaption></figure>



<p>Now we are going to prove that it all worked out. The best way to do this is to run PHP.</p>



<p>So, I am going to create a file called <code>test.php</code> in the apache root folder and add the <strong>phpinfo</strong> method to it.</p>



<pre class="wp-block-preformatted">:~# nano /var/www/html/test.php</pre>



<p>Save the changes and close the editor.</p>



<p>Then, restart the apache service:</p>



<pre class="wp-block-preformatted">:~# systemctl restart httpd</pre>



<p>Now open your web browser and go to <code>http://your-server/test.php</code> and you will see the following:</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="506" src="https://www.osradar.com/wp-content/uploads/2019/12/5-7-1024x506.png" alt="5.- PHP 7.4 on CentOS 8" class="wp-image-16837" srcset="https://www.osradar.com/wp-content/uploads/2019/12/5-7-1024x506.png 1024w, https://www.osradar.com/wp-content/uploads/2019/12/5-7-300x148.png 300w, https://www.osradar.com/wp-content/uploads/2019/12/5-7-768x379.png 768w, https://www.osradar.com/wp-content/uploads/2019/12/5-7-324x160.png 324w, https://www.osradar.com/wp-content/uploads/2019/12/5-7-696x344.png 696w, https://www.osradar.com/wp-content/uploads/2019/12/5-7-1068x528.png 1068w, https://www.osradar.com/wp-content/uploads/2019/12/5-7-850x420.png 850w, https://www.osradar.com/wp-content/uploads/2019/12/5-7.png 1354w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>5.- PHP 7.4 on CentOS 8</figcaption></figure>



<p>So, enjoy it.</p>



<p>Also, you can read all the features of this version in <a rel="noreferrer noopener" aria-label="this (opens in a new tab)" href="https://www.php.net/releases/7_4_0.php" target="_blank">this</a> link.</p>



<p>Finally, you can read these related posts:</p>



<p><a href="https://www.osradar.com/install-lamp-stack-on-oracle-linux-8-rhel-8-centos-8/" target="_blank" rel="noreferrer noopener" aria-label="How to install LAMP on CentOS 8? (opens in a new tab)">How to install LAMP on CentOS 8?</a></p>



<p><a rel="noreferrer noopener" aria-label="How to install PHP 7.4 on OpenSUSE 15.1? (opens in a new tab)" href="https://www.osradar.com/install-php-7-4-opensuse-15-1" target="_blank">How to install PHP 7.4 on OpenSUSE 15.1?</a></p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-php-74-centos-8/">How to install PHP 7.4 on CentOS 8?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/install-php-74-centos-8/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
