Results 1 to 5 of 5

Thread: php how to!!!

  1. #1
    Junior Member registered user
    Join Date
    Apr 2004
    Posts
    16

    php how to!!!

    Hi,

    I want to compile code in php under knoppix, but need help. I do this

    1 - apt-get install apache
    2 - apt-get install mysql
    3 - apt-get install php4

    but, next, what??? were are the directories, y have fallow the tutorials of php, but they install php in "specific directories", where is installed php trought APT-GET??

    I just want run php code in console o in a browser to put him in my web page..... or is better install manually with the sources of the web??

    I need help, link anything!!

    PD: Sorry for my poor english.

    T H A N K S !!!!!!!!!

  2. #2
    Senior Member registered user
    Join Date
    Mar 2004
    Location
    Berlin
    Posts
    436
    run:
    updatedb

    Which generates an index for quickly finding files, man-pages, libs, executables.

    (this may take a few minutes)
    Code:
    whereis php4
    locate php4
    which php4

  3. #3
    Senior Member registered user
    Join Date
    Mar 2004
    Posts
    900
    Code:
    apt-cache search phpmyadmin
    eskuel - A MySQL databases administration interface in PHP-scripts
    phpmyadmin - A set of PHP-scripts to administrate MySQL over the WWW
    You can also install webmin for Apache administration although AFAIK it doesn't have a php module.

  4. #4
    Junior Member registered user
    Join Date
    Apr 2004
    Posts
    13
    just store your scripts in /var/www and then load localhost in your browser

  5. #5
    Hi!

    Try this: Get to the root shell and type in: (or copy & paste)
    apachectl start

    Then enter.
    After that, type:
    chmod 777 /var/www

    This worked for me... at least for the apache and php... I'm not sure about the database.
    Save your docs in /var/www.

    Have fun

Posting Permissions

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


Gigabyte 4U AI Server 10x Nvidia GPU 2x Xeon Gold 6150 36 Core 2.7GHz DDR4 RAM picture

Gigabyte 4U AI Server 10x Nvidia GPU 2x Xeon Gold 6150 36 Core 2.7GHz DDR4 RAM

$1499.00



Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram  2x 550W PSU No HDD picture

Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram 2x 550W PSU No HDD

$275.00



Dell PowerEdge R530 2x E5-2630v4 H330 iDRAC8 Port Card Riser No PSU/RAM/HDD picture

Dell PowerEdge R530 2x E5-2630v4 H330 iDRAC8 Port Card Riser No PSU/RAM/HDD

$99.99



867959-B21 HPE ProLiant DL360 G10 CTO Server W/ 2x 865414-B21 1x 840140-001 picture

867959-B21 HPE ProLiant DL360 G10 CTO Server W/ 2x 865414-B21 1x 840140-001

$245.00



Dell Poweredge R730xd 12LFF 2*2660v4 4*1Gbe h730 2x 750W Server CTO picture

Dell Poweredge R730xd 12LFF 2*2660v4 4*1Gbe h730 2x 750W Server CTO

$308.00



Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2690 v3 | 64gb Ram | 2x 1600W picture

Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2690 v3 | 64gb Ram | 2x 1600W

$524.99



Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2680 v3 | 32gb Ram | 2x 1600W picture

Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2680 v3 | 32gb Ram | 2x 1600W

$409.99



Supermicro 2U GPU Server SYS-2029GP-TR 2x Xeon 6130 32C 6x PCIe 3.0 x16 Slots picture

Supermicro 2U GPU Server SYS-2029GP-TR 2x Xeon 6130 32C 6x PCIe 3.0 x16 Slots

$745.00



Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Cores / 64gb / Raid / 2x 1Tb picture

Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Cores / 64gb / Raid / 2x 1Tb

$374.99



Dell PowerEdge FX2s + 8x FC430 Blades 16x E5-2630v4 160 Cores Rails No PSU/RAM picture

Dell PowerEdge FX2s + 8x FC430 Blades 16x E5-2630v4 160 Cores Rails No PSU/RAM

$699.00