Copy your PHP-, HTML-, ... Files to /var/www (as root) and start the apache-server with : apachectl start
Now you can call your pages in Konqueror or Mozilla:
http://localhost/yourfile.php
![]()
hello,
I have a website which uses PHP and mysql...
I have to continue developping it, because I do not know how to use Linux to developp it...
Could someone explain me how can I program my php-mysql website under linux and test it on my machine without connecting the Internet???
Thxs
Ludo
Copy your PHP-, HTML-, ... Files to /var/www (as root) and start the apache-server with : apachectl start
Now you can call your pages in Konqueror or Mozilla:
http://localhost/yourfile.php
![]()
You have to start MySql as well, the command is 'mysqld' as root.
If you use include() you have to edit the /etc/php4/apache/php.ini file to set the include_path.
And you might have to add the user and pw you use to connect in your scripts to MySql. See the manpage for 'mysqladmin' for this.
- - Edwin
If you haven't heard of VMWare to test applications, may I be the first to suggest it. We, the place I work, currently run VMWare to test desktop scenarios, both Windoze and Linux, and Servers, both Windoze and Linux. It gives you the absolute biggest bang for the buck. We are constantly realizing new and innovative ways of utilizing VMWare. Hummmm, sounds like Knoppix doesn't it. Maybe that is why I am here.....C Ya.
thxs all!
especially peip and edwin!
Regards,
ludo

Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2680 v3 | 32gb Ram | 2x 1600W
$449.99
DELL POWEREDGE R340 Server | Xeon E-2126G 64GB RAM PERC H330 (Onboard)
$399.95
Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram 2x 550W PSU No HDD
$275.00
Dell EMC VxRail E560F 10-SFF 2*Gold 6230R 2.1GHz No RAM HBA330 iDrac Ent Server
$349.99
Dell EMC PowerEdge R740 8 Bay Server w/ 32GB RAM 2x GOLD 6132 2x 1600W PSU H730p
$499.88
Dell Poweredge R730xd 12LFF 2*2660v4 4*1Gbe h730 2x 750W Server CTO
$308.00
Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Cores / 64gb / Raid / 2x 1Tb
$374.99
Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 32GB RAM No HDD
$381.93
VMware vCenter Server 8 STANDARD Perpetual License Key VC-STD-C (Legacy Pack)
$1599.95
Broadcom 9600-24i Tri-Mode RAID Controller 4.0 NVMe SAS SATA NEW 05-50111-01003
$639.69