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

(New) AMD Ryzen 7 5700X 8 Core 16 Thread AM4 Unlocked 3.4 GHz CPU OEM Tray
$174.99
OPNsense Firewall 8-Core Atom C3758 4GB DDR4 RAM 64GB SSD 8x 1Gbe QAT AES-NI VPN
$95.00
Lenovo ThinkSmart Hub 500 10V50000US All-in-One i5 8GB 128GB Win10 NEW SEALED
$259.00
Intel Core i7-11700 11th Gen 8-Core 16-Thread LGA1200 CPU *CANADA*
$150.80
Dell - XPS 13.4" 3K Touchscreen Laptop - Intel Core 5 Series 3 320 2026 - 8GB...
$599.99
AMD Ryzen 7 9800X3D 8-Core 16-Thread AM5 Zen 5 Desktop Processor NEW
$395.00
HP - OmniBook 3 - 14" 2K OLED Laptop - Snapdragon X (8-Core CPU) - 8GB Memory...
$399.99
AMD Ryzen 7 5800X3D 8-Core 3.4GHz Socket AM4 CPU Processor….
$309.99
Apple Mac Pro Late 2013 A1481 3.0GHz 8-Core Xeon 32GB RAM 251GB SSD Dual FirePro
$269.00
Apple MacBook Air 2019 13.3” Retina Intel Core i5 8GB RAM 128GB SSD Gold
$200.00