PDA

View Full Version : Php Mysql


Scrumpers
12th July 2004, 08:07 PM
Hi All Noob to Linux here want to move away from Windows/Apache2/PHP/MYSQL and Run Linux/Apache2/PHP/MYSQL I have got Linux/Apache2 running but struggling with PHP/MYSQL cannot seem to find them or thier config programs they appear to be running in services

abruces
12th July 2004, 09:39 PM
theres a nifty lil program thats been in linux for years called MC in term, type MC and use it to search for the dir's your looking for

httpd.conf

/var/www/ is main web dir
not shure about sql

Scrumpers
12th July 2004, 09:56 PM

I can sort out the http side of things with httpd.conf but would like to use phpmyadmin or something similar to create my databases ?

triplehead
25th July 2004, 06:20 AM
I can sort out the http side of things with httpd.conf but would like to use phpmyadmin or something similar to create my databases ?

just download latest phpmyadmin (http://www.phpmyadmin.net/home_page/), put it inside your httpd documentroot and edit config.inc.php inside phpmyadmin folder ;)

Jman
25th July 2004, 11:21 AM
Most people use php as a module loaded with Apache. It's config file is /etc/php.ini. To test if it works create a file /var/www/html/phpinfo.php containing the following: <? phpinfo(); ?> start httpd and visit [url=http://localhost/phpinfo.php[/url] You should get a long status report from php.

I highly recommend phpmyadmin when you get php running.