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

TP-Link TL-SG105 5-Port Gigabit Ethernet Unmanaged Metal Desktop Network Switch
$19.99
NETGEAR GS308EP Essential Series 8-Port Gigabit PoE+ Unmanaged Switch
$39.99
D-Link DGS-1210-28P 28-Port PoE Gigabit Web Smart Switch With Cord
$49.99
NETGEAR 5-Port Gigabit Ethernet Unmanaged Switch (Gs305) - Desktop Quiet Fanless
$22.00
10-Port Gigabit PoE Network Switch with 8 PoE+ Ports with 2 Combo SFP Slots 125W
$39.99
TP-Link TL-SG105, 5 Port Gigabit Unmanaged Ethernet Switch, Network Hub, Ethern
$15.25
Arista DCS-7010T-48-R 48P 1GbE 4P 10GbE SFP+ RA Switch with rack mounts
$69.00
TP-Link Omada SG3428 24-Port Gigabit L2+ Managed Switch 4x SFP w/ Ears
$99.99
~NIB~ Netgear GS728TPP-300NAS V3 24 PORT GIGABIT POE MNGD W. 4 SFP PORTS
$349.95
Extreme Networks 10GE X440-G2-24P-10GE4 16533 24Plus-Ports POE+ Switch UP
$127.00