Change and Reset MySQL root Password

Other then the ways specified here to reset and change the root password for mySQL database in the case that the password is forgotten or lost, the following instructions explain in details the alternative way at the last part of the guide, where no additional file needs to be created:

Read Me 12 Comments

Google Web Toolkit First Look Review by SitePoint

Google Web Toolkit (GWT) is a Java software development framework that makes writing AJAX applications like Google Maps and Gmail, which similar to Atlas for ASP.NET, Yahoo!’s User Interface Library and Adobe Spry. Google Web Toolkit allows programmers to write the front end in the Java programming language, and the GWT compiler will converts the Java classes to browser-compliant JavaScript and HTML.

Read Me Leave comment

PHP Parse Error: syntax error, unexpected $end

In PHP 5, the following error may appears as an error entry in Apache error log or simply displays on PHP web page, even if calling to php scripts with php_info() works perfectly and successfully returns information on PHP configurations: Parse Error: syntax error, unexpected $end in ….. scripts.php on line …

Read Me 39 Comments

PHP Allowed Memory Size Exchausted Fatal Error

A functional PHP script returns the following error either on the web page or in Apache error log file when it exchausted and used up the default memory requirement of 8 MB memory allocation: PHP Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate … bytes) in …

Read Me 16 Comments

Reset the Root Password of MySQL Server

By default, MySQL Server will be installed with root superuser without any password. You can connect to MySQL server as root without requiring password or by keying in blank password. However, if you have set the password for root and forget or unable to recall the password, then you will need to reset the root password for MySQL.

Read Me 18 Comments

PHP 5 Unable to Open HTTP Request Stream with fopen or fsockopen Functions

With Apache/2.x.x or Apache/2.2.x webserver, with PHP5 as the scripting module, a HTTP communication error may occur within the PHP scripts that are parsing and running via the web server. The errors that generated by PHP include:

Read Me 6 Comments

gmmktime Error in WordPress and MagpieRSS

If you’re running PHP 5.1 with your web server, you may encounter the following error in your Apache web server error log file (i.e. httpd-error.log) whenever there are requests to the RSS feed and the Apache need to parse the RSS in PHP:

Read Me 8 Comments

Installing Web Server in FreeBSD 6.0 with Apache 2.2, MySQL 5.0 and PHP 5 – Part 5

Installing Apache 2.2, MySQL 5 and PHP 5 in FreeBSD 6.0 for a Reliable Web Server Part 5 – Installing PHP Hypertext Preprocessor Scripting Language 5 and PHP 5 Extensions Install by enter the following commands on FreeBSD OS command line, wait for previous command to finish before running the next command: cd /usr/ports/lang/php5 make install clean

Read Me 28 Comments

Installing Web Server in FreeBSD 6.0 with Apache 2.2, MySQL 5.0 and PHP 5 – Part 4

Installing Apache 2.2, MySQL 5 and PHP 5 in FreeBSD 6.0 for a Reliable Web Server Part 4 – Installing Apache HTTPD Web Server 2.2 Install Apache HTTP Server 2.20 by using FreeBSD Ports Collection: cd /usr/ports/www/apache22 make install clean

Read Me 8 Comments

Installing Web Server in FreeBSD 6.0 with Apache 2.2, MySQL 5.0 and PHP 5 – Part 3

Installing Apache 2.2, MySQL 5 and PHP 5 in FreeBSD 6.0 for a Reliable Web Server Part 3 – Installing MySQL Server 5 with FreeBSD Ports Collection Login to the FreeBSD system as root, or su – root to get to super user environment.

Read Me 23 Comments

Installing Web Server in FreeBSD 6.0 with Apache 2.2, MySQL 5.0 and PHP 5 – Part 2

Installing Apache 2.2, MySQL 5 and PHP 5 in FreeBSD 6.0 for a Reliable Web Server Part 2 – Post-Installation Configuration Tasks of FreeBSD 6.0 Select [Yes] and press Enter when prompted the following message to configure Ethernet or PPP/SLIP network devices:

Read Me 2 Comments

Installing Web Server in FreeBSD 6.0 with Apache 2.2, MySQL 5.0 and PHP 5 – Part 1

Installing Apache 2.2, MySQL 5 and PHP 5 in FreeBSD 6.0 for a Reliable Web Server Part 1 – Installing FreeBSD 6.0 with Ports Collection Updating Minimum Requirements: CD-RW or DVD-RW Drive Internet Connection via Ethernet Network Card or Modem Dial-up Sufficient disk space

Read Me Leave comment