Page 1 of 4 123 ... LastLast
Results 1 to 10 of 34

Thread: PHP Development

  1. #1
    Join Date
    Oct 2007
    Location
    The Milky Way
    Beans
    174
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Arrow PHP Development

    Hello Guys

    After doing some Research I found out that in order to do PHP Development on Ubuntu I would need to type the following in a terminal:


    Code:
    sudo apt-get install php5 mysql-server apache2 phpmyadmin
    I have done that. But now I do not know how to start the System, also where the [ public_html ] folder is !!

    I would greatly appreciate any help with this.

    Thank You.
    Two hands working can do more than a thousand clasped in prayer

  2. #2
    Join Date
    Mar 2009
    Beans
    132

    Re: PHP Development

    your web server folder is at /var/www
    you can access phpmyadmin at http://localhost/phpmyadmin
    note that you will have to change the permission of your php script to make them runnalbe I guess.

  3. #3
    Join Date
    Mar 2008
    Location
    Birmingham, UK
    Beans
    Hidden!

    Re: PHP Development

    Quote Originally Posted by H4F View Post
    note that you will have to change the permission of your php script to make them runnalbe I guess.
    I don't think a permission change is necessary. As long as the .php files are in /var/www or some subdirectory thereof, they will be executed when called by the server? I don't remember having to change their permissions before, but I've not tried for quite a while.
    Desktop: Phenom 955 BE | GA-MA790XT-UD4P | 8GB TG Elite 1600 | BFG GTX 275
    Conky Screenshots | Last.fm | New to Ubuntu?

  4. #4
    Join Date
    Feb 2009
    Location
    Perundurai, Erode, India
    Beans
    81
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: PHP Development

    I started the apache server. It shows It works!

    This is the default web page for this server.

    The web server software is running but no content has been added, yet.

    but when i try to start phpmyadmin i got the following message:
    The requested URL /phpmyadmin was not found on this server.

    I already installed the phpmyadmin using sudo apt-get install phpmyadmin

  5. #5
    Join Date
    May 2009
    Location
    North West England
    Beans
    2,675
    Distro
    Ubuntu Development Release

    Re: PHP Development

    Hi, from your browser ..

    type in http://localhost/phpmyadmin/ Or, just click on the link, if you're feeling lazy

    That should fire phpmyadmin up for you.

    Regards,

    Phill.

  6. #6
    Join Date
    Feb 2009
    Location
    Perundurai, Erode, India
    Beans
    81
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: PHP Development

    this time also i got the same message only

  7. #7
    Join Date
    May 2009
    Location
    North West England
    Beans
    2,675
    Distro
    Ubuntu Development Release

    Re: PHP Development

    Hmmm..

    Can you go into System --> Administration --> Synaptics Package Manager

    Then type in phpmyadmin in the search window and see if you have a little green square next to the entry for phpmyadmin

    Thanks,

    Phill.

  8. #8
    Join Date
    Feb 2009
    Location
    Perundurai, Erode, India
    Beans
    81
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: PHP Development

    Ya, i ve that green filled square

  9. #9
    Join Date
    Jul 2006
    Location
    Calgary, Alberta
    Beans
    1,114
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: PHP Development

    It'd probably be easier to just get cheap hosting somewhere else for $5 a month.

  10. #10
    Join Date
    May 2009
    Location
    North West England
    Beans
    2,675
    Distro
    Ubuntu Development Release

    Re: PHP Development

    Hmmm....

    Code:
     ps -ef | grep apache
    Should be about 10 entries

    Code:
     ps -ef | grep mysql
    Should have a line starting with mysql and ending with /usr/sbin/mysqld

    Phill.

Page 1 of 4 123 ... LastLast

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
  •