<?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>Control WebPanel Wiki &#187; adminer</title>
	<atom:link href="https://wiki.centos-webpanel.com/tag/adminer/feed" rel="self" type="application/rss+xml" />
	<link>https://wiki.centos-webpanel.com</link>
	<description>CentOS WebPanel Wiki</description>
	<lastBuildDate>Wed, 12 Feb 2025 20:38:16 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=4.1.1</generator>
	<item>
		<title>How to install Adminer Database management</title>
		<link>https://wiki.centos-webpanel.com/how-to-install-adminer-database-management</link>
		<comments>https://wiki.centos-webpanel.com/how-to-install-adminer-database-management#comments</comments>
		<pubDate>Wed, 05 Jun 2019 12:47:53 +0000</pubDate>
		<dc:creator><![CDATA[publisher]]></dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[adminer]]></category>

		<guid isPermaLink="false">http://wiki.centos-webpanel.com/?p=1165</guid>
		<description><![CDATA[Database management in a single PHP file website: https://www.adminer.org/ 1.Download Adminer from the downloads page cd /usr/local/cwpsrv/var/services/ mkdir adm;cd adm https://github.com/vrana/adminer/releases/download/v4.7.1/adminer-4.7.1.php mv adminer-4.7.1.php adminer.php cd /usr/local/cwpsrv/var/services/ chown cwpsvc:cwpsvc -R adm 2.Add below config to /usr/local/cwpsrv/conf/cwp_services.conf location /adm { root /usr/local/cwpsrv/var/services; index index.html index.htm index.php adminer.php; location ~ \.php$ { try_files $uri =404; fastcgi_split_path_info ^(.+\.php)(/.+)$; fastcgi_read_timeout [&#8230;]]]></description>
				<content:encoded><![CDATA[<p><strong>Database management in a single PHP file</strong><br />
website: https://www.adminer.org/</p>
<p>1.Download Adminer from the downloads page</p>
<pre>cd /usr/local/cwpsrv/var/services/
mkdir adm;cd adm

https://github.com/vrana/adminer/releases/download/v4.7.1/adminer-4.7.1.php

mv adminer-4.7.1.php adminer.php
cd /usr/local/cwpsrv/var/services/
chown cwpsvc:cwpsvc -R adm</pre>
<p>2.Add below config to /usr/local/cwpsrv/conf/cwp_services.conf</p>
<pre>
location /adm {
    root /usr/local/cwpsrv/var/services;
    index  index.html index.htm index.php adminer.php;

    location ~ \.php$ {
        try_files $uri =404;
        fastcgi_split_path_info ^(.+\.php)(/.+)$;
        fastcgi_read_timeout 600;
        fastcgi_pass    unix:/usr/local/cwp/php71/var/sockets/cwpsvc.sock;
        fastcgi_index   index.php;
        fastcgi_param   SCRIPT_FILENAME  $document_root$fastcgi_script_name;
        fastcgi_param   SCRIPT_NAME   $fastcgi_script_name;
        fastcgi_param   PHP_ADMIN_VALUE "open_basedir = /usr/local/cwpsrv/var/services/adm/:/tmp/";
        include                 fastcgi_params;
    }

    location ~* \.(js|css|png|jpg|jpeg|gif|ico)$ {
        access_log    off;
        log_not_found    off;
        expires 1M;
    }
}
</pre>
<p>3. Restart cwpsrv</p>
<pre>sh /scripts/restart_cwpsrv</pre>
<p>4.login to Adminer</p>
<p>https://IP:2031/adm</p>
]]></content:encoded>
			<wfw:commentRss>https://wiki.centos-webpanel.com/how-to-install-adminer-database-management/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
