<?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>Frequently Asked Questions About Linux / UNIX &#187; PHP</title> <atom:link href="http://www.cyberciti.biz/faq/category/php/feed/" rel="self" type="application/rss+xml" /><link>http://www.cyberciti.biz/faq</link> <description>Every answer asks a more beautiful question.</description> <lastBuildDate>Fri, 03 Feb 2012 22:38:32 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>PHP: &lt;? ?&gt; Tags Not Working in PHP 5.3.x under UNIX / Linux</title><link>http://www.cyberciti.biz/faq/php-5-3-tags-not-working-in-php-linux-unix-apple-osx/</link> <comments>http://www.cyberciti.biz/faq/php-5-3-tags-not-working-in-php-linux-unix-apple-osx/#comments</comments> <pubDate>Tue, 18 Jan 2011 11:19:14 +0000</pubDate> <dc:creator>Vivek Gite</dc:creator> <category><![CDATA[PHP]]></category> <category><![CDATA[UNIX]]></category> <category><![CDATA[/etc/php.ini]]></category> <category><![CDATA[apache web server]]></category> <category><![CDATA[apachectl]]></category> <category><![CDATA[apachectl -k restart]]></category> <category><![CDATA[apachectl command]]></category> <category><![CDATA[deployment]]></category> <category><![CDATA[libraries]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[php short_open_tag = On]]></category> <category><![CDATA[php tags]]></category> <category><![CDATA[redistributable code]]></category> <category><![CDATA[servers]]></category> <category><![CDATA[short_open_tag = On]]></category> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=9771</guid> <description><![CDATA[<div
style='float:right;margin-top:0px;margin-left:5px;'><a
href='http://www.cyberciti.biz/faq/category/php/' title='See all PHP related FAQ'><img
src='http://files.cyberciti.biz/cbzcache/3rdparty/php-logo.png' border='0' /></a></div> <span
class="drop_cap">I</span>'ve recently installed php 5.3.5 in my UNIX box and my old working php code not working. It displays code in pages which is in &#60;? ... my code ... ?&#62; php tags. How do I fix this problem?]]></description> <wfw:commentRss>http://www.cyberciti.biz/faq/php-5-3-tags-not-working-in-php-linux-unix-apple-osx/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>Linux: phpinfo() system&#8217;s timezone error date.timezone</title><link>http://www.cyberciti.biz/faq/unix-phpinfo-it-isnot-safeto-rely-on-systems-timezone-settings/</link> <comments>http://www.cyberciti.biz/faq/unix-phpinfo-it-isnot-safeto-rely-on-systems-timezone-settings/#comments</comments> <pubDate>Tue, 18 Jan 2011 00:58:05 +0000</pubDate> <dc:creator>Vivek Gite</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[PHP]]></category> <category><![CDATA[UNIX]]></category> <category><![CDATA[/etc/sysconfig/clock]]></category> <category><![CDATA[cat command]]></category> <category><![CDATA[date_default_timezone_set("America/Chicago"); php phpinfo()]]></category> <category><![CDATA[home servers]]></category> <category><![CDATA[php date.timezone]]></category> <category><![CDATA[php file]]></category> <category><![CDATA[timezone settings]]></category> <category><![CDATA[web server]]></category> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=9758</guid> <description><![CDATA[<div
style='float:right;margin-top:0px;margin-left:5px;'><a
href='http://www.cyberciti.biz/faq/category/php/' title='See all PHP related FAQ'><img
src='http://files.cyberciti.biz/cbzcache/3rdparty/php-logo.png' border='0' /></a></div> <span
class="drop_cap">I</span>'m getting the following errors in my log file whenever I use phpinfo() function:<blockquote><span
style='color: rgb(0, 153, 0);'>[10-Jan-2011 18:39:08] PHP Warning: <strong> phpinfo(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function</strong>. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Chicago' for 'CST/-6.0/no DST' instead in /home/servers/http/dev/testpc.php on line 2</span></blockquote> How do I fix this problem under UNIX / Linux php running Apache or lighttpd web server?
]]></description> <wfw:commentRss>http://www.cyberciti.biz/faq/unix-phpinfo-it-isnot-safeto-rely-on-systems-timezone-settings/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>Mediawiki Fix Internal Server Host Names / Redirection In shared Hosting or Proxy Setup</title><link>http://www.cyberciti.biz/faq/mediawiki-fix-internal-server-host-names-redirect-using-wgserver/</link> <comments>http://www.cyberciti.biz/faq/mediawiki-fix-internal-server-host-names-redirect-using-wgserver/#comments</comments> <pubDate>Sun, 19 Dec 2010 21:57:17 +0000</pubDate> <dc:creator>Vivek Gite</dc:creator> <category><![CDATA[Apache]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[Nginx]]></category> <category><![CDATA[PHP]]></category> <category><![CDATA[UNIX]]></category> <category><![CDATA[$wgServer = 'http://support.example.com/wiki';]]></category> <category><![CDATA[192 168 1 100]]></category> <category><![CDATA[apache server]]></category> <category><![CDATA[base url]]></category> <category><![CDATA[customer support]]></category> <category><![CDATA[host ip]]></category> <category><![CDATA[host names]]></category> <category><![CDATA[internal host]]></category> <category><![CDATA[internal server]]></category> <category><![CDATA[LocalSettings.php]]></category> <category><![CDATA[mediawiki $wgServer]]></category> <category><![CDATA[mediawiki $wgServer stop internal redirection]]></category> <category><![CDATA[protocol]]></category> <category><![CDATA[proxy server]]></category> <category><![CDATA[redirection]]></category> <category><![CDATA[server host]]></category> <category><![CDATA[server name]]></category> <category><![CDATA[timeouts]]></category> <category><![CDATA[websever]]></category> <category><![CDATA[wiki]]></category> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=9650</guid> <description><![CDATA[<div
style='float:right;margin-top:0px;margin-left:5px;'><a
href='http://www.cyberciti.biz/faq/category/php/' title='See all PHP related FAQ'><img
src='http://files.cyberciti.biz/cbzcache/3rdparty/php-logo.png' border='0' /></a></div> <span
class="drop_cap">O</span>ur customer support wiki runs on an internal host (ip:192.168.1.100:300, hostname <strong>a-node100.:300</strong>) and it is behind the <a
href="http://www.cyberciti.biz/faq/rhel-linux-install-nginx-as-reverse-proxy-load-balancer/">nginx reverse proxy server</a>. However, our Apache server end up displaying internal server name http://a-node100.:300/, which results into an unexpected redirection and timeouts as http://a-node100.:300/ is not accessible over the Internet. How do I force nginx or apache to use the base URL of our server (http://support.example.com/wiki/)?]]></description> <wfw:commentRss>http://www.cyberciti.biz/faq/mediawiki-fix-internal-server-host-names-redirect-using-wgserver/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>WordPress Rename Image URL For a CDN Usage</title><link>http://www.cyberciti.biz/faq/wordpress-offloading-old-static-images-urls-to-cdn-urls/</link> <comments>http://www.cyberciti.biz/faq/wordpress-offloading-old-static-images-urls-to-cdn-urls/#comments</comments> <pubDate>Sat, 20 Nov 2010 20:41:47 +0000</pubDate> <dc:creator>Vivek Gite</dc:creator> <category><![CDATA[Apache]]></category> <category><![CDATA[Lighttpd]]></category> <category><![CDATA[Nginx]]></category> <category><![CDATA[PHP]]></category> <category><![CDATA[/etc/httpd/conf/httpd.conf]]></category> <category><![CDATA[/etc/lighttpd/lighttpd.conf]]></category> <category><![CDATA[/usr/local/etc/nginx/nginx.conf]]></category> <category><![CDATA[Apache HTTP 301 redirect]]></category> <category><![CDATA[assets]]></category> <category><![CDATA[backup database]]></category> <category><![CDATA[blog]]></category> <category><![CDATA[cdn]]></category> <category><![CDATA[Content Delivery Network]]></category> <category><![CDATA[expression search]]></category> <category><![CDATA[HTTPD HTTP 301 redirect]]></category> <category><![CDATA[Lighttpd HTTP 301 redirect]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[MySQL]]></category> <category><![CDATA[mysqldump]]></category> <category><![CDATA[mysqldump command]]></category> <category><![CDATA[nginx HTTP 301 redirect]]></category> <category><![CDATA[php code]]></category> <category><![CDATA[regular expression]]></category> <category><![CDATA[regular expressions]]></category> <category><![CDATA[static images]]></category> <category><![CDATA[supercache]]></category> <category><![CDATA[tar command]]></category> <category><![CDATA[UNIX]]></category> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=9427</guid> <description><![CDATA[<div
style='float:right;margin-top:0px;margin-left:5px;'><a
href='http://www.cyberciti.biz/faq/category/php/' title='See all PHP related FAQ'><img
src='http://files.cyberciti.biz/cbzcache/3rdparty/php-logo.png' border='0' /></a></div> <span
class="drop_cap">R</span>ecently, we moved all our static assets to a <a
href="http://www.cyberciti.biz/tips/wordpress-cdn-content-delivery-network-configuration.html">CDN as described here</a>. However, we have over 8000+ old blog posts and we need to point static images url to our CDN account hosted at http://MyACCOUNT.cloudfront.net/images/ folder. How do I rename all image urls stored in wordpress posts? How do I offload static images to a CDN urls under Wordpress?]]></description> <wfw:commentRss>http://www.cyberciti.biz/faq/wordpress-offloading-old-static-images-urls-to-cdn-urls/feed/</wfw:commentRss> <slash:comments>23</slash:comments> </item> <item><title>Linux / UNIX: PHP mail() Error Log File</title><link>http://www.cyberciti.biz/faq/php-mail-error-log/</link> <comments>http://www.cyberciti.biz/faq/php-mail-error-log/#comments</comments> <pubDate>Fri, 12 Nov 2010 20:58:55 +0000</pubDate> <dc:creator>Vivek Gite</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[PHP]]></category> <category><![CDATA[UNIX]]></category> <category><![CDATA[/var/log/mail.err]]></category> <category><![CDATA[/var/log/mail.log]]></category> <category><![CDATA[/var/log/maillog]]></category> <category><![CDATA[fedora]]></category> <category><![CDATA[log directory]]></category> <category><![CDATA[mail errors]]></category> <category><![CDATA[mail log]]></category> <category><![CDATA[mail server]]></category> <category><![CDATA[php /var/log/mail.err]]></category> <category><![CDATA[php /var/log/mail.log]]></category> <category><![CDATA[php test]]></category> <category><![CDATA[redhat]]></category> <category><![CDATA[server log]]></category> <category><![CDATA[test mail]]></category> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=9326</guid> <description><![CDATA[<div
style='float:right;margin-top:0px;margin-left:5px;'><a
href='http://www.cyberciti.biz/faq/category/php/' title='See all PHP related FAQ'><img
src='http://files.cyberciti.biz/cbzcache/3rdparty/php-logo.png' border='0' /></a></div> <span
class="drop_cap">H</span>ow do I view PHP mail() errors? How do I see php mail() error log file under UNIX or Linux?]]></description> <wfw:commentRss>http://www.cyberciti.biz/faq/php-mail-error-log/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>WordPress Install Memcached Object Cache Plugin To Speed Up Blog</title><link>http://www.cyberciti.biz/faq/linux-unix-bsd-wordpress-memcached-cache-plugin/</link> <comments>http://www.cyberciti.biz/faq/linux-unix-bsd-wordpress-memcached-cache-plugin/#comments</comments> <pubDate>Mon, 13 Sep 2010 09:32:59 +0000</pubDate> <dc:creator>Vivek Gite</dc:creator> <category><![CDATA[PHP]]></category> <category><![CDATA[/etc/sysconfig/memcached]]></category> <category><![CDATA[apache web server]]></category> <category><![CDATA[apache web servers]]></category> <category><![CDATA[chkconfig command]]></category> <category><![CDATA[database load]]></category> <category><![CDATA[dynamic web applications]]></category> <category><![CDATA[ip connection]]></category> <category><![CDATA[load balancer]]></category> <category><![CDATA[memcached display usage stats]]></category> <category><![CDATA[memcached dump keys and values]]></category> <category><![CDATA[memcached-tool 10.10.1.5:11211 stats]]></category> <category><![CDATA[memcached-tool command]]></category> <category><![CDATA[Nginx]]></category> <category><![CDATA[object cache]]></category> <category><![CDATA[php session]]></category> <category><![CDATA[proxy server]]></category> <category><![CDATA[redundancy]]></category> <category><![CDATA[service command]]></category> <category><![CDATA[unzip command]]></category> <category><![CDATA[yum command]]></category> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=8771</guid> <description><![CDATA[<div
style='float:right;margin-top:0px;margin-left:5px;'><a
href='http://www.cyberciti.biz/faq/category/php/' title='See all PHP related FAQ'><img
src='http://files.cyberciti.biz/cbzcache/3rdparty/php-logo.png' border='0' /></a></div> <span
class="drop_cap">H</span>ow do I install memcached cache plugin under UNIX / Linux to speed up my dynamic database-driven wordpress blog by caching data and objects in RAM to reduce the number of times an external data source must be read?  ]]></description> <wfw:commentRss>http://www.cyberciti.biz/faq/linux-unix-bsd-wordpress-memcached-cache-plugin/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>PHP Increase Upload File Size Limit</title><link>http://www.cyberciti.biz/faq/linux-unix-apache-increase-php-upload-limit/</link> <comments>http://www.cyberciti.biz/faq/linux-unix-apache-increase-php-upload-limit/#comments</comments> <pubDate>Fri, 11 Jun 2010 12:06:23 +0000</pubDate> <dc:creator>Vivek Gite</dc:creator> <category><![CDATA[Apache]]></category> <category><![CDATA[PHP]]></category> <category><![CDATA[/etc/php.ini]]></category> <category><![CDATA[change php memory limit]]></category> <category><![CDATA[increase php upload limit]]></category> <category><![CDATA[limit resources]]></category> <category><![CDATA[max size]]></category> <category><![CDATA[maximum size]]></category> <category><![CDATA[memory limit]]></category> <category><![CDATA[php file size limit]]></category> <category><![CDATA[php ini]]></category> <category><![CDATA[php max upload size]]></category> <category><![CDATA[php memory_limit]]></category> <category><![CDATA[php post_max_size]]></category> <category><![CDATA[php upload_max_filesize]]></category> <category><![CDATA[php_value memory_limit]]></category> <category><![CDATA[php_value post_max_size]]></category> <category><![CDATA[php_value upload_max_filesize]]></category> <category><![CDATA[web server service]]></category> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=7653</guid> <description><![CDATA[<div
style='float:right;margin-top:0px;margin-left:5px;'><a
href='http://www.cyberciti.biz/faq/category/php/' title='See all PHP related FAQ'><img
src='http://files.cyberciti.biz/cbzcache/3rdparty/php-logo.png' border='0' /></a></div> <span
class="drop_cap">H</span>ow do I increase upload file limit from 2MB to 10MB under Apache 2 UNIX / Linux web server?]]></description> <wfw:commentRss>http://www.cyberciti.biz/faq/linux-unix-apache-increase-php-upload-limit/feed/</wfw:commentRss> <slash:comments>15</slash:comments> </item> <item><title>PHP Security: Limit Resources Used By Script</title><link>http://www.cyberciti.biz/faq/php-resources-limits/</link> <comments>http://www.cyberciti.biz/faq/php-resources-limits/#comments</comments> <pubDate>Sun, 07 Feb 2010 18:01:12 +0000</pubDate> <dc:creator>Vivek Gite</dc:creator> <category><![CDATA[PHP]]></category> <category><![CDATA[amount of time]]></category> <category><![CDATA[apache web server]]></category> <category><![CDATA[filesize]]></category> <category><![CDATA[input time]]></category> <category><![CDATA[Lighttpd]]></category> <category><![CDATA[limit resources]]></category> <category><![CDATA[max input]]></category> <category><![CDATA[max size]]></category> <category><![CDATA[maximum execution time]]></category> <category><![CDATA[maximum size]]></category> <category><![CDATA[memory limit]]></category> <category><![CDATA[php allow_url_fopen = Off]]></category> <category><![CDATA[php cgi.force_redirect = 0]]></category> <category><![CDATA[php file_uploads = Off]]></category> <category><![CDATA[php max_execution_time = 30]]></category> <category><![CDATA[php max_input_time = 30]]></category> <category><![CDATA[php memory_limit = 40M]]></category> <category><![CDATA[php post_max_size = 8M]]></category> <category><![CDATA[php scripts]]></category> <category><![CDATA[php sql.safe_mode = On]]></category> <category><![CDATA[php upload_max_filesize = 2M]]></category> <category><![CDATA[request data]]></category> <category><![CDATA[resource limits]]></category> <category><![CDATA[uploaded files]]></category> <category><![CDATA[web server service]]></category> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=6425</guid> <description><![CDATA[<div
style='float:right;margin-top:0px;margin-left:5px;'><a
href='http://www.cyberciti.biz/faq/category/php/' title='See all PHP related FAQ'><img
src='http://files.cyberciti.biz/cbzcache/3rdparty/php-logo.png' border='0' /></a></div> <span
class="drop_cap">H</span>ow do I control and put limits on php scripts such as maximum execution time of each script and upload file size?]]></description> <wfw:commentRss>http://www.cyberciti.biz/faq/php-resources-limits/feed/</wfw:commentRss> <slash:comments>6</slash:comments> </item> <item><title>RHEL / CentOS Xcache: /usr/include/php/ext/date/lib/timelib_structs.h:24:28: error: timelib_config.h: No such file or directory Error and Soultion</title><link>http://www.cyberciti.biz/faq/usrincludephpextdatelibtimelib_structs-h2428-error-timelib_config-h-no-such-file-or-directory/</link> <comments>http://www.cyberciti.biz/faq/usrincludephpextdatelibtimelib_structs-h2428-error-timelib_config-h-no-such-file-or-directory/#comments</comments> <pubDate>Thu, 24 Dec 2009 15:43:53 +0000</pubDate> <dc:creator>Vivek Gite</dc:creator> <category><![CDATA[CentOS]]></category> <category><![CDATA[PHP]]></category> <category><![CDATA[RedHat and Friends]]></category> <category><![CDATA[/usr/local/etc/php/xcache.ini]]></category> <category><![CDATA[centos install php xcache]]></category> <category><![CDATA[fedora install php xcache]]></category> <category><![CDATA[redhat install php xcache]]></category> <category><![CDATA[rhel install php xcache]]></category> <category><![CDATA[xcache]]></category> <category><![CDATA[xcache source code installation]]></category> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=6124</guid> <description><![CDATA[<div
style='float:right;margin-top:0px;margin-left:5px;'><a
href='http://www.cyberciti.biz/faq/category/php/' title='See all PHP related FAQ'><img
src='http://files.cyberciti.biz/cbzcache/3rdparty/php-logo.png' border='0' /></a></div> <span
class="drop_cap">I</span>'m trying to configure and install <a
href="http://www.cyberciti.biz/faq/howto-rhel-install-xcahce-php-opcode-cacher/">xcache under CentOS / Redhat</a> enterprise Linux v5.4 and getting the following error:<br
/><br
/><blockquote><strong><span
style='color: rgb(255, 0, 0);'>/usr/include/php/ext/date/lib/timelib_structs.h:24:28: error: timelib_config.h: No such file or directory</span></strong></blockquote><br
/><br
/> How do I fix this problem and install xcache?]]></description> <wfw:commentRss>http://www.cyberciti.biz/faq/usrincludephpextdatelibtimelib_structs-h2428-error-timelib_config-h-no-such-file-or-directory/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>PHP Fatal error:  Allowed Memory Size of 20971520 Bytes exhausted (tried to allocate 131072 bytes)  Error and Solution</title><link>http://www.cyberciti.biz/faq/linux-php-fatal-error-allowed-memory-size/</link> <comments>http://www.cyberciti.biz/faq/linux-php-fatal-error-allowed-memory-size/#comments</comments> <pubDate>Mon, 23 Nov 2009 12:31:29 +0000</pubDate> <dc:creator>Vivek Gite</dc:creator> <category><![CDATA[Debian / Ubuntu]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[PHP]]></category> <category><![CDATA[Security]]></category> <category><![CDATA[Troubleshooting]]></category> <category><![CDATA[Ubuntu Linux]]></category> <category><![CDATA[/etc/php5/apache2/php.ini]]></category> <category><![CDATA[/etc/php5/cgi/php.ini]]></category> <category><![CDATA[/etc/php5/conf.d/suhosin.ini]]></category> <category><![CDATA[fatal error allowed memory size]]></category> <category><![CDATA[Freebsd restart apache]]></category> <category><![CDATA[mediawiki]]></category> <category><![CDATA[php5]]></category> <category><![CDATA[restart lighttpd]]></category> <category><![CDATA[security patch]]></category> <category><![CDATA[server apache]]></category> <category><![CDATA[sudo command]]></category> <category><![CDATA[suhosin]]></category> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=5834</guid> <description><![CDATA[<div
style='float:right;margin-top:0px;margin-left:5px;'><a
href='http://www.cyberciti.biz/faq/category/php/' title='See all PHP related FAQ'><img
src='http://files.cyberciti.biz/cbzcache/3rdparty/php-logo.png' border='0' /></a></div> <span
class="drop_cap">I</span>'ve brand new Ubuntu Linux server (Apache + PHP5 FastCGI + Lighttpd image only server)  installed for my wordpress, mediawiki and vBullietin software. I can load forntpage but user cannot edit any wiki pages or post anything and I get the following error in log file:<br
/><br
/><blockquote><strong><span
style='color: rgb(255, 0, 0);'>PHP Fatal error:  Allowed Memory Size of 20971520 Bytes exhausted (tried to allocate 131072 bytes) in /usr/share/mediawiki/includes/OutputHandler.php on line 81</span></strong></blockquote><br
/><br
/> How do I fix this problem?]]></description> <wfw:commentRss>http://www.cyberciti.biz/faq/linux-php-fatal-error-allowed-memory-size/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>PHP Add Captcha Protection To Web Forms</title><link>http://www.cyberciti.biz/faq/php-captcha-class-simple-php-captcha-example/</link> <comments>http://www.cyberciti.biz/faq/php-captcha-class-simple-php-captcha-example/#comments</comments> <pubDate>Wed, 24 Jun 2009 09:37:59 +0000</pubDate> <dc:creator>Vivek Gite</dc:creator> <category><![CDATA[Anti Spam]]></category> <category><![CDATA[Apache]]></category> <category><![CDATA[CentOS]]></category> <category><![CDATA[Debian / Ubuntu]]></category> <category><![CDATA[fedora linux]]></category> <category><![CDATA[FreeBSD]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[PHP]]></category> <category><![CDATA[Programming]]></category> <category><![CDATA[RedHat and Friends]]></category> <category><![CDATA[Security]]></category> <category><![CDATA[Windows]]></category> <category><![CDATA[api library]]></category> <category><![CDATA[challenge response]]></category> <category><![CDATA[php captcha]]></category> <category><![CDATA[php captcha class]]></category> <category><![CDATA[php captcha code]]></category> <category><![CDATA[php captcha download]]></category> <category><![CDATA[php captcha script]]></category> <category><![CDATA[php captcha tutorial]]></category> <category><![CDATA[php forms]]></category> <category><![CDATA[php library]]></category> <category><![CDATA[php script]]></category> <category><![CDATA[public keys]]></category> <category><![CDATA[recaptcha]]></category> <category><![CDATA[simple php captcha]]></category> <category><![CDATA[wget]]></category> <category><![CDATA[wget command]]></category> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=4176</guid> <description><![CDATA[<div
style='float:right;margin-top:0px;margin-left:5px;'><a
href='http://www.cyberciti.biz/faq/category/php/' title='See all PHP related FAQ'><img
src='http://files.cyberciti.biz/cbzcache/3rdparty/php-logo.png' border='0' /></a></div> <span
class="drop_cap">I</span> own a small business website. However, bots started to abusing my forms such as contact.php. How do I stop bots bots from abusing my site? How do I tell if PHP form is submitted by a person or a script?]]></description> <wfw:commentRss>http://www.cyberciti.biz/faq/php-captcha-class-simple-php-captcha-example/feed/</wfw:commentRss> <slash:comments>15</slash:comments> </item> <item><title>Explain: php_self or $_SERVER[&#039;PHP_SELF&#039;] Usage</title><link>http://www.cyberciti.biz/faq/php_self-_serverphp_self-usage/</link> <comments>http://www.cyberciti.biz/faq/php_self-_serverphp_self-usage/#comments</comments> <pubDate>Wed, 18 Mar 2009 21:11:54 +0000</pubDate> <dc:creator>Vivek Gite</dc:creator> <category><![CDATA[CentOS]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[PHP]]></category> <category><![CDATA[Programming]]></category> <category><![CDATA[$_SERVER['PHP_SELF']]]></category> <category><![CDATA[array element]]></category> <category><![CDATA[document root]]></category> <category><![CDATA[execution environment]]></category> <category><![CDATA[html forms]]></category> <category><![CDATA[information server]]></category> <category><![CDATA[php programming]]></category> <category><![CDATA[php script]]></category> <category><![CDATA[predefined variables]]></category> <category><![CDATA[server array]]></category> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=3529</guid> <description><![CDATA[<div
style='float:right;margin-top:0px;margin-left:5px;'><a
href='http://www.cyberciti.biz/faq/category/php/' title='See all PHP related FAQ'><img
src='http://files.cyberciti.biz/cbzcache/3rdparty/php-logo.png' border='0' /></a></div> <span
class="drop_cap">C</span>an you explain usage of predefined variables called $_SERVER['PHP_SELF']?]]></description> <wfw:commentRss>http://www.cyberciti.biz/faq/php_self-_serverphp_self-usage/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>FreeBSD pkg_add: warning: package php5-pcre-5.2.6_2 requires php5-5.2.8, but php5-pcre-5.2.6_2 is installed</title><link>http://www.cyberciti.biz/faq/freebsd-pkg_add-php5-pcre-526-errors/</link> <comments>http://www.cyberciti.biz/faq/freebsd-pkg_add-php5-pcre-526-errors/#comments</comments> <pubDate>Mon, 22 Dec 2008 02:51:59 +0000</pubDate> <dc:creator>Vivek Gite</dc:creator> <category><![CDATA[FreeBSD]]></category> <category><![CDATA[FreeBSD Jails (VPS)]]></category> <category><![CDATA[Package management]]></category> <category><![CDATA[PHP]]></category> <category><![CDATA[Troubleshooting]]></category> <category><![CDATA[freebsd php5]]></category> <category><![CDATA[freebsd php5 errors]]></category> <category><![CDATA[freebsd ports]]></category> <category><![CDATA[freebsd ports collection]]></category> <category><![CDATA[hash]]></category> <category><![CDATA[index references]]></category> <category><![CDATA[json]]></category> <category><![CDATA[pcre]]></category> <category><![CDATA[php 5]]></category> <category><![CDATA[php version]]></category> <category><![CDATA[php5]]></category> <category><![CDATA[ports]]></category> <category><![CDATA[portupgrade]]></category> <category><![CDATA[portupgrade command]]></category> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=2956</guid> <description><![CDATA[<p><div
style='float:right;margin-top:0px;margin-left:5px;'><a
href='http://www.cyberciti.biz/faq/category/squid/' title='See all Squid related FAQ'><img
src='http://files.cyberciti.biz/cbzcache/3rdparty/squid-logo.png' border='0' /></a></div> <span
style='color: rgb(255, 0, 0);'>Q.</span> I'm trying to upgrade my PHP version from 5.2.6 to 5.2.8 using portupgrade command. But I'm getting following errors:<br
/><blockquote>*** Error code 1
Stop in /usr/ports/lang/php5.
*** Error code 1
Stop in /usr/ports/lang/php5.
*** Error code 1
Stop in /usr/ports/lang/php5.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade.42275.0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=php5-pcre-5.2.6_2 UPGRADE_PORT_VER=5.2.6_2 make reinstall
--->  Restoring the old version
pkg_add: warning: package 'php5-pcre-5.2.6_2' requires 'php5-5.2.8', but 'php5-pcre-5.2.6_2' is installed
** Fix the installation problem and try again.
[Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... - 62 packages found (-0 +1) . done]
** Listing the failed packages (-:ignored / *:skipped / !:failed)
! lang/php5 (php5-pcre-5.2.6_2)	(install error)</blockquote> How do I fix this problem and upgrade php5-pcre?</p>]]></description> <wfw:commentRss>http://www.cyberciti.biz/faq/freebsd-pkg_add-php5-pcre-526-errors/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>PHP: Stop Notice and Variable Warnings in Error Log Files</title><link>http://www.cyberciti.biz/faq/php-stop-notice-variable-warnings-errorlogs/</link> <comments>http://www.cyberciti.biz/faq/php-stop-notice-variable-warnings-errorlogs/#comments</comments> <pubDate>Sat, 20 Dec 2008 13:27:33 +0000</pubDate> <dc:creator>Vivek Gite</dc:creator> <category><![CDATA[CentOS]]></category> <category><![CDATA[Debian / Ubuntu]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[PHP]]></category> <category><![CDATA[RedHat and Friends]]></category> <category><![CDATA[Suse]]></category> <category><![CDATA[Troubleshooting]]></category> <category><![CDATA[Ubuntu Linux]]></category> <category><![CDATA[UNIX]]></category> <category><![CDATA[apache web server]]></category> <category><![CDATA[coding standards]]></category> <category><![CDATA[empty string]]></category> <category><![CDATA[error logging]]></category> <category><![CDATA[error messages]]></category> <category><![CDATA[notice message]]></category> <category><![CDATA[production web]]></category> <category><![CDATA[uninitialized variables]]></category> <category><![CDATA[user error]]></category> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=2941</guid> <description><![CDATA[<div
style='float:right;margin-top:0px;margin-left:5px;'><a
href='http://www.cyberciti.biz/faq/category/php/' title='See all PHP related FAQ'><img
src='http://files.cyberciti.biz/cbzcache/3rdparty/php-logo.png' border='0' /></a></div> <span
style='color: rgb(255, 0, 0);'>Q.</span> I'm using <a
href="http://www.cyberciti.biz/tips/php-howto-turn-on-error-log-file.html">error logging</a> in place of error displaying on production web sites. However, I do not want to see error  messages about the use of uninitialized variables. I'd like to see all critical errors, except for notices and coding standards warnings. How do I disable error messages? ]]></description> <wfw:commentRss>http://www.cyberciti.biz/faq/php-stop-notice-variable-warnings-errorlogs/feed/</wfw:commentRss> <slash:comments>6</slash:comments> </item> <item><title>Domain Redirection Using a PHP Script</title><link>http://www.cyberciti.biz/faq/domain-redirection-using-php-script/</link> <comments>http://www.cyberciti.biz/faq/domain-redirection-using-php-script/#comments</comments> <pubDate>Thu, 18 Dec 2008 20:11:48 +0000</pubDate> <dc:creator>Vivek Gite</dc:creator> <category><![CDATA[Apache]]></category> <category><![CDATA[CentOS]]></category> <category><![CDATA[Debian / Ubuntu]]></category> <category><![CDATA[fedora linux]]></category> <category><![CDATA[FreeBSD]]></category> <category><![CDATA[Lighttpd]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[Nginx]]></category> <category><![CDATA[PHP]]></category> <category><![CDATA[Suse]]></category> <category><![CDATA[Troubleshooting]]></category> <category><![CDATA[UNIX]]></category> <category><![CDATA[Windows]]></category> <category><![CDATA[apache web server]]></category> <category><![CDATA[domain name]]></category> <category><![CDATA[domain redirection]]></category> <category><![CDATA[http header]]></category> <category><![CDATA[page script]]></category> <category><![CDATA[php script]]></category> <category><![CDATA[php server side]]></category> <category><![CDATA[server side scripting]]></category> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=2876</guid> <description><![CDATA[<div
style='float:right;margin-top:0px;margin-left:5px;'><a
href='http://www.cyberciti.biz/faq/category/php/' title='See all PHP related FAQ'><img
src='http://files.cyberciti.biz/cbzcache/3rdparty/php-logo.png' border='0' /></a></div> <span
style='color: rgb(255, 0, 0);'>Q.</span> How do I redirect my domain name using a php server side scripting under Apache web server?]]></description> <wfw:commentRss>http://www.cyberciti.biz/faq/domain-redirection-using-php-script/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>PHP Find / Extract Substrings</title><link>http://www.cyberciti.biz/faq/php-extracting-accessing-substrings/</link> <comments>http://www.cyberciti.biz/faq/php-extracting-accessing-substrings/#comments</comments> <pubDate>Sat, 25 Oct 2008 13:42:19 +0000</pubDate> <dc:creator>Vivek Gite</dc:creator> <category><![CDATA[Apache]]></category> <category><![CDATA[Lighttpd]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[Nginx]]></category> <category><![CDATA[PHP]]></category> <category><![CDATA[UNIX]]></category> <category><![CDATA[Windows]]></category> <category><![CDATA[Extracting Substrings in PHP]]></category> <category><![CDATA[occurrence]]></category> <category><![CDATA[PHP Accessing Substrings]]></category> <category><![CDATA[php functions]]></category> <category><![CDATA[PHP Replacing Substrings]]></category> <category><![CDATA[strpos]]></category> <category><![CDATA[substr]]></category> <category><![CDATA[substring]]></category> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=2243</guid> <description><![CDATA[<div
style='float:right;margin-top:0px;margin-left:5px;'><a
href='http://www.cyberciti.biz/faq/category/php/' title='See all PHP related FAQ'><img
src='http://files.cyberciti.biz/cbzcache/3rdparty/php-logo.png' border='0' /></a></div> <span
style='color: rgb(255, 0, 0);'>Q.</span> How do I find out if a string stored in a variable contains a particular substring using PHP? How do I find out (extract) first 5 character of a particular string using Apache and PHP?]]></description> <wfw:commentRss>http://www.cyberciti.biz/faq/php-extracting-accessing-substrings/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>PHP Send Email</title><link>http://www.cyberciti.biz/faq/php-sending-email/</link> <comments>http://www.cyberciti.biz/faq/php-sending-email/#comments</comments> <pubDate>Mon, 20 Oct 2008 17:51:23 +0000</pubDate> <dc:creator>Vivek Gite</dc:creator> <category><![CDATA[AIX]]></category> <category><![CDATA[Apache]]></category> <category><![CDATA[CentOS]]></category> <category><![CDATA[Debian / Ubuntu]]></category> <category><![CDATA[EMail Servers]]></category> <category><![CDATA[fedora linux]]></category> <category><![CDATA[FreeBSD]]></category> <category><![CDATA[Lighttpd]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[Openbsd]]></category> <category><![CDATA[PHP]]></category> <category><![CDATA[Programming]]></category> <category><![CDATA[RedHat and Friends]]></category> <category><![CDATA[Solaris-Unix]]></category> <category><![CDATA[Suse]]></category> <category><![CDATA[Ubuntu Linux]]></category> <category><![CDATA[crlf]]></category> <category><![CDATA[enterprise email]]></category> <category><![CDATA[mail function]]></category> <category><![CDATA[mail functions]]></category> <category><![CDATA[mail php]]></category> <category><![CDATA[mail server]]></category> <category><![CDATA[mail smtp]]></category> <category><![CDATA[php email]]></category> <category><![CDATA[php mail]]></category> <category><![CDATA[php send email attachment]]></category> <category><![CDATA[php send email html]]></category> <category><![CDATA[send mail]]></category> <category><![CDATA[smtp mail]]></category> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=2170</guid> <description><![CDATA[<div
style='float:right;margin-top:0px;margin-left:5px;'><a
href='http://www.cyberciti.biz/faq/category/php/' title='See all PHP related FAQ'><img
src='http://files.cyberciti.biz/cbzcache/3rdparty/php-logo.png' border='0' /></a></div> <span
style='color: rgb(255, 0, 0);'>Q.</span> How do I send an email using PHP and Apache webserver under Linux / UNIX operating systems? How do I send email from a PHP Script?]]></description> <wfw:commentRss>http://www.cyberciti.biz/faq/php-sending-email/feed/</wfw:commentRss> <slash:comments>8</slash:comments> </item> <item><title>PHP Not Accepting &lt;? Tag; Only Accepting &lt;?php and &lt;script&gt; Tag</title><link>http://www.cyberciti.biz/faq/php-allow-short_open_tag/</link> <comments>http://www.cyberciti.biz/faq/php-allow-short_open_tag/#comments</comments> <pubDate>Mon, 06 Oct 2008 11:29:53 +0000</pubDate> <dc:creator>Vivek Gite</dc:creator> <category><![CDATA[Apache]]></category> <category><![CDATA[CentOS]]></category> <category><![CDATA[Debian / Ubuntu]]></category> <category><![CDATA[fedora linux]]></category> <category><![CDATA[FreeBSD]]></category> <category><![CDATA[Lighttpd]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[Nginx]]></category> <category><![CDATA[Openbsd]]></category> <category><![CDATA[PHP]]></category> <category><![CDATA[Troubleshooting]]></category> <category><![CDATA[/etc/php.ini]]></category> <category><![CDATA[apache php]]></category> <category><![CDATA[open tag]]></category> <category><![CDATA[PHP Allow]]></category> <category><![CDATA[php file]]></category> <category><![CDATA[php ini]]></category> <category><![CDATA[php script]]></category> <category><![CDATA[php.ini]]></category> <category><![CDATA[restart apache web server]]></category> <category><![CDATA[service command]]></category> <category><![CDATA[short_open_tag = On]]></category> <category><![CDATA[target server]]></category> <category><![CDATA[webserver]]></category> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=1997</guid> <description><![CDATA[<div
style='float:right;margin-top:0px;margin-left:5px;'><a
href='http://www.cyberciti.biz/faq/category/troubleshooting/' title='See all Troubleshooting related FAQ'><img
src='http://files.cyberciti.biz/cbzcache/3rdparty/configure.png' border='0' /></a></div> <span
style='color: rgb(255, 0, 0);'>Q.</span> I'm using PHP along with latest version of Apache. Only &#60;?php and &#60;script&#62; tags are recognized. Many of my scripts are broken. How do I allow the &#60;? tag also?]]></description> <wfw:commentRss>http://www.cyberciti.biz/faq/php-allow-short_open_tag/feed/</wfw:commentRss> <slash:comments>5</slash:comments> </item> <item><title>FreeBSD: Install PHP xcache Opcode Cacher</title><link>http://www.cyberciti.biz/faq/freebsd-install-php-xcache-opcode-cacher/</link> <comments>http://www.cyberciti.biz/faq/freebsd-install-php-xcache-opcode-cacher/#comments</comments> <pubDate>Sat, 04 Oct 2008 09:00:13 +0000</pubDate> <dc:creator>Vivek Gite</dc:creator> <category><![CDATA[Apache]]></category> <category><![CDATA[FreeBSD]]></category> <category><![CDATA[Lighttpd]]></category> <category><![CDATA[Nginx]]></category> <category><![CDATA[Package management]]></category> <category><![CDATA[PHP]]></category> <category><![CDATA[/usr/local/etc/php/xcache.ini]]></category> <category><![CDATA[freebsd apache]]></category> <category><![CDATA[freebsd install php xcache]]></category> <category><![CDATA[freebsd lighttpd]]></category> <category><![CDATA[freebsd nginx]]></category> <category><![CDATA[freebsd ports]]></category> <category><![CDATA[restart apache web server]]></category> <category><![CDATA[restart lighttpd]]></category> <category><![CDATA[restart nginx]]></category> <category><![CDATA[xcache]]></category> <category><![CDATA[xcache source code installation]]></category> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=1989</guid> <description><![CDATA[<div
style='float:right;margin-top:0px;margin-left:5px;'><a
href='http://www.cyberciti.biz/faq/category/freebsd/' title='See all FreeBSD related FAQ'><img
src='http://files.cyberciti.biz/cbzcache/3rdparty/freebsd_logo_sm.png' border='0' /></a></div> <span
style='color: rgb(255, 0, 0);'>Q. </span>How do I install and configure xcache under FreeBSD operating systems for Apache, lighttpd or ngnix web server?]]></description> <wfw:commentRss>http://www.cyberciti.biz/faq/freebsd-install-php-xcache-opcode-cacher/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>Freebsd makeinfo: not found Error and Solution</title><link>http://www.cyberciti.biz/faq/freebsd-jail-makeinfo-not-found/</link> <comments>http://www.cyberciti.biz/faq/freebsd-jail-makeinfo-not-found/#comments</comments> <pubDate>Fri, 03 Oct 2008 21:22:49 +0000</pubDate> <dc:creator>Vivek Gite</dc:creator> <category><![CDATA[FreeBSD]]></category> <category><![CDATA[FreeBSD Jails (VPS)]]></category> <category><![CDATA[GNU C / C++]]></category> <category><![CDATA[Package management]]></category> <category><![CDATA[PHP]]></category> <category><![CDATA[Troubleshooting]]></category> <category><![CDATA[/etc/make.conf]]></category> <category><![CDATA[/usr/src/gnu/usr.bin/texinfo]]></category> <category><![CDATA[freebsd jail]]></category> <category><![CDATA[freebsd ports]]></category> <category><![CDATA[m4]]></category> <category><![CDATA[make command]]></category> <category><![CDATA[make install  DESTDIR]]></category> <category><![CDATA[man pages]]></category> <category><![CDATA[ports]]></category> <category><![CDATA[texinfo]]></category> <category><![CDATA[usr bin]]></category> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=1976</guid> <description><![CDATA[<div
style='float:right;margin-top:0px;margin-left:5px;'><a
href='http://www.cyberciti.biz/faq/category/freebsd/' title='See all FreeBSD related FAQ'><img
src='http://files.cyberciti.biz/cbzcache/3rdparty/freebsd_logo_sm.png' border='0' /></a></div> <span
style='color: rgb(255, 0, 0);'>Q.</span> I'm trying to build PHP5 under FreeBSD jail and I'm getting an error that read as follows:<br
/><blockquote>m4.info-[0-9][0-9] ./m4.i[0-9] ./m4.i[0-9][0-9]; do  if test -f $f; then mv $f $backupdir; restore=mv; else :; fi;  done;  else :; fi &#038;&  cd "$am__cwd";  if makeinfo --no-split   -I .  -o ./m4.info ./m4.texinfo;  then  rc=0;  cd .;  else  rc=$?;  cd . &#038;&  $restore $backupdir/* `echo "././m4.info" &#124; sed 's&#124;[^/]*$&#124;&#124;'`;  fi;  rm -rf $backupdir; exit $rc <strong>makeinfo: not found</strong> *** Error code 127
Stop in /usr/ports/devel/m4.
*** Error code 1
Stop in /usr/ports/devel/autoconf262.
*** Error code 1
Stop in /usr/ports/lang/php5.
*** Error code 1</blockquote><br
/> How do I get rid of this problem and compile applications?]]></description> <wfw:commentRss>http://www.cyberciti.biz/faq/freebsd-jail-makeinfo-not-found/feed/</wfw:commentRss> <slash:comments>5</slash:comments> </item> </channel> </rss>
