PDA

View Full Version : php how to!!!



zlibre
07-28-2004, 05:41 PM
Hi,

I want to compile code in php under knoppix, but need help. I do this

1 - apt-get install apache
2 - apt-get install mysql
3 - apt-get install php4

but, next, what??? were are the directories, y have fallow the tutorials of php, but they install php in "specific directories", where is installed php trought APT-GET??

I just want run php code in console o in a browser to put him in my web page..... or is better install manually with the sources of the web??

I need help, link anything!!

PD: Sorry for my poor english.

T H A N K S !!!!!!!!!

user unknown
07-28-2004, 05:45 PM
run:
updatedb

Which generates an index for quickly finding files, man-pages, libs, executables.

(this may take a few minutes)

whereis php4
locate php4
which php4

mzilikazi
07-28-2004, 08:26 PM
apt-cache search phpmyadmin
eskuel - A MySQL databases administration interface in PHP-scripts
phpmyadmin - A set of PHP-scripts to administrate MySQL over the WWW

You can also install webmin for Apache administration although AFAIK it doesn't have a php module.

false-hopes
07-29-2004, 12:43 AM
just store your scripts in /var/www and then load localhost in your browser :D

gr00vy
07-30-2004, 11:04 PM
Hi!

Try this: Get to the root shell and type in: (or copy & paste)
apachectl start

Then enter.
After that, type:
chmod 777 /var/www

This worked for me... at least for the apache and php... I'm not sure about the database.
Save your docs in /var/www. :)

Have fun ;)