PDA

View Full Version : [Solved][PHP-mySQL] How can I developp under Knoppix??



Coume
07-28-2003, 08:45 AM
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

peip
07-28-2003, 03:35 PM
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

:D

Edwin
07-28-2003, 06:51 PM
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

rkebo
07-29-2003, 03:26 AM
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.

Coume
07-29-2003, 06:43 AM
thxs all!
especially peip and edwin! :)

Regards,
ludo