I've installed Ubuntu 12.04 LTS Precise a few days ago. I tried installing LAMP Server as I've been done in last four Ubuntu versions, simply by using these commands:
$ sudo apt-get install lamp-server^
$ sudo apt-get install phpmyadmin
First command seems to install all needed packages for LAMP to work. It installs and configures Apache Server, PHP Modules and MySQL server, all in one.
When I use netstat command it shows..
tcp 0 0 localhost:18056 localhost:mysql TIME_WAIT
tcp 0 0 localhost:16683 localhost:mysql TIME_WAIT
tcp 0 0 localhost:16701 localhost:mysql TIME_WAIT
tcp 0 0 localhost:16888 localhost:mysql TIME_WAIT
tcp 0
I've got MySQL Connector/ODBC 5.1 installed on my Windows Vista laptop. I have MySQL 5.5.19 installed on the laptop, and was able to connect to it via the Windows Data Source Administrator app and the MySQL Connector/ODBC using a TCP/IP connection to 'localhost'.
My question is simple. I have already installed apache in my debian lenny. I need mysql and php. I am not sure but maybe php is also installed([1]by the way how to check it?)
[2]Which is better to install mysql stand alone or to install LAMP?
My previous installation get in dependency hell or incompatibility and i reinstalled it.
So,
I tried installing LAMP but messed up on the MySQL bit.
Here is the tutorial I used:
http://www.howtoforge.com/ubuntu_lamp_for_newbies
Here is what Step 3 says:
Step 3. This is where things may start to get tricky. Begin by typing the following into Terminal:
mysql -u root
That's exactly where it gets tricky.
Hi,
I have install MySQL serve in Fedora 16 32 bi distro that I have on my pc, but I can't start MySQL from command line. Can you please help?
yum install httpd php mysql-server php-mysql
service httpd restart
service mysqld restart
setup
system services
httpd
mysqld
mysql -u root
set password = password ( 'password');
mkdir /var/www/html/php
chown user /var/www/html/php
ln-s /var/www/html/php /home/user/Desktop
I am running Fedora 12 32 bit version. I have httpd running, but in a browser when I go to http://localhost, it gives me the apache page. When I put in http://localhost/html, I get a 404 error. In the httpd.conf file for the ServerName, I have localhost:80.
I tried to configure LAMP on Ubuntu 12.04 following this guide (http://www.howtoforge.com/installing-apache2-with-php5-and-mysql-support...). But when I point to localhost/phpmyadmin/index.php in the browser, it just downloads the index.php file to my downloads folder.
As mentioned in the guide, I made a info.php file and its working properly. How can I fix this error?