Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12

Thread: MySQL on 12.04

  1. #11
    Join Date
    Sep 2012
    Beans
    30

    Re: MySQL on 12.04

    Thanks will look into this. Not really worried about how clunky, just want to assess the lie of the land so to speak.

  2. #12
    Join Date
    Nov 2008
    Location
    Boston MetroWest
    Beans
    16,326

    Re: MySQL on 12.04

    Quote Originally Posted by Lagbehind View Post
    1. How do I install php to work on a single pc is it as straight forward as Mysql and workbench?
    Code:
    sudo apt-get install php5 libapache2-mod-php5 php5-mysql
    The second package provides support to push files with .php extensions through the PHP parser. The third package includes the driver that lets PHP talk to MySQL servers.

    The installation is simple, but you'll need to learn how to write PHP code.

    After you have installed PHP, check out the installation by first creating the file /var/www/info.php like this:

    Code:
    sudo echo '<?php phpinfo()?>' > /var/www/info.php
    Then visit http://localhost/info.php with a browser. You should see a complete listing of PHP and its installed modules and services.
    Last edited by SeijiSensei; January 8th, 2013 at 01:58 AM.
    If you ask for help, do not abandon your request. Please have the courtesy to check for responses and thank the people who helped you.

    Blog · Linode System Administration Guides · Android Apps for Ubuntu Users

Page 2 of 2 FirstFirst 12

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •