Step 1. List of libraries needed for Apache2, Php5 and MySql for Ubuntu: apt-get update apt-get install apache2 libapache2-mod-php5 mysql-server libapache2-mod-auth-mysql php5-mysql php5 Step 2. Turn on php module to work with Apache: a2enmod php5 Step 3. If you have .phtml or .pl file, remember to add to the follwing line to apache configuration file …
Tag Archive: MySql
Permanent link to this article: http://lindaocta.com/?p=290
Jan
08
Enabling Apache, PHP and MySql in Mac Leopard
Just got my first Mac yesterday and try to get PHP and Mysql to work so I can start to do my assignment. PHP is disabled by default and the value of mysql.default_socket is empty. Let’s start with PHP: Open /etc/apache2/httpd.conf using text editor with root account. e.g. sudo vi /etc/apache2/httpd.conf Search for LoadModule php5_module …
Permanent link to this article: http://lindaocta.com/?p=36