{ 1 comment }
PHP Tutorials & HowTos
PHP is an open-source server-side scripting language and one of the most popular in web development. This section includes PHP programming related syntax, questions and answers ( rss feed ).
{ 0 comments }
One of my php script called setoptions.php is hosted on my new vps server. However, it is not working so I setup php error log as described here and, and I see the following warning repeated in my log file:
PHP Warning: fread(): Length parameter must be greater than 0 in /var/www/html/scripts/setoptions.php on line 311
The line no # 311 is as follows in my php script:
$fname = 'myappconfig.php';
$content = fread($fhandle,filesize($fname));
How do I fix this problem under Unix/Apache/php5 server?
{ 1 comment }
How do I install phpMyAdmin to handle the administration of MySQL database server over the World Wide Web under Fedora / Scientific / CentOS / RHEL / Red Hat Enterprise Linux 6.x server systems?
{ 8 comments }
[01-Jul-2012 10:50:49] PHP Warning: require_once(): Unable to allocate memory for pool. in /var/www/html/includes/admin.php on line 57
[18-Jul-2012 17:00:08] PHP Warning: include_once(): Unable to allocate memory for pool. in //var/www/html/includes/xmlrpc.php on line 55
[18-Jul-2012 17:00:40] PHP Warning: require(): Unable to allocate memory for pool. in /var/www/html/includes/geshi.php on line 2307
How do I fix these php warnings?
{ 4 comments }
I‘m using GeSHi under php to highlight a source code. How do I turn on or off line numbers using GeSHi?
{ 0 comments }
{ 0 comments }



