Results 1 to 4 of 4

Thread: apache+php+postgresql

  1. #1
    Junior Member
    Join Date
    May 2004
    Posts
    2

    apache+php+postgresql

    hi, i got knoppix 3.3 and i like start to work with dinamyc web pages but i don't have idea whou start???

    first how i know if i got installed in my pc?

    second how i link every module???

    Third Heeeeelp

    please help.
    Pd Any idea for a manual ....???
    Bye


  2. #2
    Member registered user
    Join Date
    Nov 2003
    Posts
    90
    You will need 2 big steps:

    INSTALLATION

    You need to configure your server. If you have the Live CD version, then Knoppix includes Apache + PHP and MySQL. You only have to start them. Launch one console and type:

    sudo /etc/init.d/apache start
    sudo /etc/init.d/mysql start (knoppix 3.4 doesn't include mysql but older versions yes)

    EXECUTION

    And you will have a web server fully operational. Then you only well need your php scripts and your mysql dump database and you are ready to work


    pd: There exists one Knoppix customization called Live-Zope focused on web server programation. I think this one includes postgresSQL. In this live CD you wll get a fully operational web server with databases included

    ftp://ftp.texmacs.org/pub/TeXmacs/knoppix

  3. #3
    Senior Member registered user
    Join Date
    Mar 2004
    Location
    Berlin
    Posts
    436
    You get postgresql at

    www.postgresql.org

    postgresql-7.4.2.tar.bz2, about 10 MB.
    The INSTALL file explains the next steps.

  4. #4
    Member registered user
    Join Date
    Jun 2003
    Posts
    68
    I cannot remember how I configure postgresql with php but you should be able to do a google search on this to get it working.

    To know if you've got postgresql install, do the following (as root user) to start/restart postgresql.

    /etc/init.d/postgresql start or /etc/init.d/postgresql restart

    From the error message you should be able to tell if postgresql is installed.

    If not install, apt-get install postgresql should install and configure postgresql

    You will have to edit pg_hba.conf and postgresql.conf to allow tcp connection and who can connect.

    To test if php is running, put a index.php file in /var/www directory and then use a browser to call it. If it is displayed, then php is working.

    The best php file to test is the following:-

    <?
    phpinfo();
    ?>

Similar Threads

  1. apache 1.3 --> 2.0
    By jpiranha in forum Networking
    Replies: 2
    Last Post: 10-04-2004, 01:57 AM
  2. apache 2.0
    By jpiranha in forum Hdd Install / Debian / Apt
    Replies: 0
    Last Post: 09-28-2004, 11:49 PM
  3. Apache is cranky.
    By deps in forum Networking
    Replies: 8
    Last Post: 11-07-2003, 09:21 PM
  4. Question about installing postgresql
    By MattT in forum The Lounge
    Replies: 0
    Last Post: 08-06-2003, 04:23 AM
  5. imp with imap, ldap, mysql / postgresql
    By sweetzip in forum General Support
    Replies: 3
    Last Post: 04-22-2003, 01:45 PM

Posting Permissions

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


1600GB 25x64GB lot tray PC5-4800 RDIMM DDR5 ECC RAM KSM48R40BD4-64MD kingston picture

1600GB 25x64GB lot tray PC5-4800 RDIMM DDR5 ECC RAM KSM48R40BD4-64MD kingston

$70000.00



RAMAXEL Lenovo 32GB LPDDR5X CAMM2 7500MHz Laptop RAM | UNTESTED picture

RAMAXEL Lenovo 32GB LPDDR5X CAMM2 7500MHz Laptop RAM | UNTESTED

$445.00



A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G picture

A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G

$21.68



Crucial DDR3L 16GB 2 x 8GB 1600 MHz PC3L-12800 Laptop RAM Sodimm Memory 1.35V picture

Crucial DDR3L 16GB 2 x 8GB 1600 MHz PC3L-12800 Laptop RAM Sodimm Memory 1.35V

$41.00



Intel Optane NMA1XXD128GPS DDR4 2666 4Rx4 ECC 128GB Server Ram picture

Intel Optane NMA1XXD128GPS DDR4 2666 4Rx4 ECC 128GB Server Ram

$80.00



Corsair Vengeance RGB Pro 32GB (2x16GB) RAM DDR4 3200MHz CMW32GX4M2C3200C16 picture

Corsair Vengeance RGB Pro 32GB (2x16GB) RAM DDR4 3200MHz CMW32GX4M2C3200C16

$169.99



Major Brand 16GB (2x8GB) PC3-12800U DDR3-1600MHz DDR3-12800 DESKTOP RAM NON-ECC picture

Major Brand 16GB (2x8GB) PC3-12800U DDR3-1600MHz DDR3-12800 DESKTOP RAM NON-ECC

$29.99



Major Brand 8GB PC3L-12800 (DDR3-1600) 2Rx8 DDR3L SDRAM Desktop Memory picture

Major Brand 8GB PC3L-12800 (DDR3-1600) 2Rx8 DDR3L SDRAM Desktop Memory

$12.99



Kingston HyperX Fury 32GB 16GBx2 DDR4 2666MHz RAM HX426C16FBK2/32 picture

Kingston HyperX Fury 32GB 16GBx2 DDR4 2666MHz RAM HX426C16FBK2/32

$130.00



Samsung 16GB DDR4 2666MHz PC4-21300 SODIMM RAM M471A2K43CB1-CTD Tested Working picture

Samsung 16GB DDR4 2666MHz PC4-21300 SODIMM RAM M471A2K43CB1-CTD Tested Working

$70.99