Configure Xampp to use GMAIL/Hotmail

1. Change “php ini”
Search for the “string sendmail_path” and remove the semicolon

2. Add your desired account into “sendmail.ini”

3.  Set the mail account to the default one

No Comments »

admin on December 19th 2010 in PHP

PHP5 Interpreter Missing

Use following command in your shell:
#sudo apt-get install php5-cli

No Comments »

admin on February 25th 2010 in IT, Linux

Install PHP Programing Environment for Mac

Install Apache, PHP and MySQL (MAMP)
1. Download/Install MAMP http://www.mamp.info/
2. Edit httpd.conf in MAMP/conf/apache folder
3. Change port from 8888 to 80
4. Install Widget in MAMP Folder

Install Development IDE (PHP Eclipse)
1. Download/Install PHP Eclipse http://www.eclipse.org/downloads/
2. Run PHP Eclipse and put the workspace directory to MAMP/htdocs
3. Go to Help/Install new Software
4. Work with put: http://downloads.zend.com/pdt
5. Select and install ZEND debugger
6. Restart Eclipse

No Comments »

admin on July 26th 2009 in MAC, PHP

Install Webserver with apt-get

apt-get commands
My source.list for “/etc/apt/source.list”

Update Apt Database

Upgrades Installed Packages

Install Package

Remove Package

Check if there are no broken dependencies

1. Installing Apache Webserver

To test this create a textfile

Put this code in it:

Open your browser and go to: http://ip.address/test.php or http://domain/test.php. Now you should get a generated webpage with all the information about apache/php settings.

2. Enable GD Library with PHP

3. Installing MySQL Database Server

4. Change root password on mysql

5. PhpMyAdmin Installation

The phpmyadmin configuration file is located at: /etc/phpmyadmin folder.
To setup under apache all you need to do is include the following line in /etc/apache2/apache2.conf

Point your browser to: http://domain/phpmyadmin

This is a shortcut of the detailed described installation in:
www.mysql-apache-php.com

No Comments »

admin on January 20th 2009 in Linux, MySQL, PHP

PHP Pear

I just had to do a project in php and I used pear for the form validation and email authentication. I need to say that I had some difficulty to start with but these pages helped me a lot.

Forum:
www.pear-forum.org

Tutorials:
www.midnighthax.com/quickform.php
pear.php.net

No Comments »

admin on July 30th 2008 in PHP

Install Debian Web Server

I don’t have a lot of experience in Linux environment but anyway I got the job to install a new webserver at my work. The old server was running on debian already so I decided to take the same linux distribution.

The newest ISO you get from here from here:
www.debian.org

For my installation I just needed the CD1. Because I wanted to try it out first I decided to install debian on VMWare Server. So I booted the ISO file in VMWare and did the standard installation without the GUI. We don’t really need a GUI (Graphic User Interface) for a web server. The installation is actually straight forward.

So now we are logged in as root and are in the command line. So what now???

Follow the instructions on this webpage:
www.mysql-apache-php.com

I actually got some error when I tried to install apache and php with apt-get. To add some more sources to the apt source.list file solved the problem.

To edit the source do following:

You might want to use your own source list. This one worked for me:

No Comments »

admin on May 7th 2008 in IT, Linux




Check out new movies online website. Download and buy movies now.
1