PDA

View Full Version : how to run php4 on knoppix 3.3



jselman
12-04-2003, 10:42 PM
I've found various items for php4 on this cd but cannot seem to run it.

Is there anything I need to setup?

Perl seems to run just fine as it is but no luck with php4.

Thanks,
Jim..

jselman
12-04-2003, 11:26 PM
ok, think I found something pertaining to this.

I cannot run php from command line like I do in Winders and full blown unix.

but if I start apache and create a file with .php extension it runs fine thru the web browser.

maybe everything concerning php is not on this cd that I'm accustomed to but I still like it...

yep, that php binary is needed on this cd....

jim..

segraves
12-05-2003, 12:52 AM
I've found various items for php4 on this cd but cannot seem to run it.

Is there anything I need to setup?

Perl seems to run just fine as it is but no luck with php4.

Thanks,
Jim..

Jim, in a root shell:

cd /var/www
cat > php_info.php
<? phpinfo() ?>
ctl-D
chmod 755 php_info.php
apache

and then point your browser (I used Mozilla) to:

http://localhost/php_info.php

Cheers.

Bill Segraves