<?xml version="1.0" encoding="utf-8"?><!-- generator="b2evolution/6.9.7-stable" -->
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:admin="http://webns.net/mvcb/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Mr N - Latest Comments on Posix PHP commands not working under CentOS 7</title>
		<link>https://www.bigsoft.co.uk/blog/?disp=comments</link>
		<atom:link rel="self" type="application/rss+xml" href="https://www.bigsoft.co.uk/blog/?tempskin=_rss2&#38;disp=comments&#38;p=513" />
		<description></description>
		<language>en-GB</language>
		<docs>http://backend.userland.com/rss</docs>
		<admin:generatorAgent rdf:resource="http://b2evolution.net/?v=6.9.7-stable"/>
		<ttl>60</ttl>
		<item>
			<title> Werner [Visitor] in response to: Posix PHP commands not working under CentOS 7</title>
			<pubDate>Wed, 21 Dec 2016 12:17:51 +0000</pubDate>
			<dc:creator><span class="user anonymous" rel="bubbletip_comment_2872">Werner</span> <span class="bUser-anonymous-tag">[Visitor]</span></dc:creator>
			<guid isPermaLink="false">c2872@https://www.bigsoft.co.uk/</guid>
			<description>Thank you, that helped me a lot!</description>
			<content:encoded><![CDATA[Thank you, that helped me a lot!]]></content:encoded>
			<link>https://www.bigsoft.co.uk/blog/2014/12/08/posix-php-commands-not-working-under-centos-7#c2872</link>
		</item>
		<item>
			<title> MoonPoint [Visitor] in response to: Posix PHP commands not working under CentOS 7</title>
			<pubDate>Sat, 12 Mar 2016 21:10:40 +0000</pubDate>
			<dc:creator><span class="user anonymous" rel="bubbletip_comment_2852">MoonPoint</span> <span class="bUser-anonymous-tag">[Visitor]</span></dc:creator>
			<guid isPermaLink="false">c2852@https://www.bigsoft.co.uk/</guid>
			<description>Thanks. I was trying to use &lt;code&gt;posix_geteuid&lt;/code&gt; and &lt;code&gt;posix_getpwuid(posix_geteuid())&lt;/code&gt; to determine the account under which PHP was running on several systems. They worked with one hosting account, but not on two CentOS 7 systems, though when I checked on the existence of the functions with &lt;code&gt;if (function_exists(&#039;posix_geteuid&#039;)); { print &quot;Function posix_geteuid exists&quot;; }&lt;/code&gt; and &lt;code&gt;if (function_exists(&#039;posix_getpwuid&#039;)); { print &quot;Function posix_getpwuid exists&quot;; }&lt;/code&gt; the functions seemed to exist on the system. Even though I was able to use other methods to determine the account under which PHP was running (http://support.moonpoint.com/languages/php/running_under_acct.php), I spent a lot of time trying to understand why the POSIX functions weren&amp;#8217;t working before finding this article.</description>
			<content:encoded><![CDATA[Thanks. I was trying to use <code>posix_geteuid</code> and <code>posix_getpwuid(posix_geteuid())</code> to determine the account under which PHP was running on several systems. They worked with one hosting account, but not on two CentOS 7 systems, though when I checked on the existence of the functions with <code>if (function_exists('posix_geteuid')); { print "Function posix_geteuid exists"; }</code> and <code>if (function_exists('posix_getpwuid')); { print "Function posix_getpwuid exists"; }</code> the functions seemed to exist on the system. Even though I was able to use other methods to determine the account under which PHP was running (http://support.moonpoint.com/languages/php/running_under_acct.php), I spent a lot of time trying to understand why the POSIX functions weren&#8217;t working before finding this article.]]></content:encoded>
			<link>https://www.bigsoft.co.uk/blog/2014/12/08/posix-php-commands-not-working-under-centos-7#c2852</link>
		</item>
			</channel>
</rss>
