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

Windows XP, Vista, 8.1, Linux Knoppix, Office XP, (6 CDS)
$10.00
KNOPPIX 9.1 Linux Install & Live DVD 32bit & 64bit
$19.99
KNOPPIX USB DVD OS , BEST OF ALL HIGHLY RECOMENDED
$11.99
Knoppix Live GNU Linux System 9.1 on Bootable CD / DVD / USB Flash Drive
$5.99
Knoppix Linux Bootable OS v8.6 "Original Live Operating System" 16G USB Stick
$20.85
$8.00
VINTAGE SOFTWARE | KNOPPIX STD 0.1 (SECURITY TOOLS DISTRIBUTION)
$7.57
Knoppix Linux Bootable OS v8.6 "Original Live Operating System" 32G USB Stick
$21.42
$7.00
Knoppix 5.0.1 ULTRA RARE Linux DVD - Linux Pro Extra August 2006
$33.98