PDA

View Full Version : Whats the EASIEST PHP/MySQL Installation (for testing on hard drive)


jream
09-06-2006, 07:48 AM
I tried XAMPP by apachefriends and WAMP too.

I want several virtual hosts, example: http//localhost, http//jream, http//ls

Anyone know the EASIEST way to do this? I get headaches doing it by hand!

In MySQL if you dont have PHPmyAdmin installed, where can you view your tables of data?
I dont understand where the database is stored! Is the only way to view it in CMD prompt?

schleppel
09-06-2006, 11:21 PM
I doubt there's anything that'll set it up for you, what problems are you having?

It should be as easy as adding this to the end of your httpd.conf file:
NameVirtualHost *:80

<VirtualHost *:80>
ServerName 127.0.0.1
ServerAlias localhost
DocumentRoot "C:/path/to/localhost/document/root"
</VirtualHost>

<VirtualHost *:80>
ServerName jream
DocumentRoot "C:/path/to/jream/document/root"
</VirtualHost>
<Directory "C:/path/to/jream/document/root">
Options All
AllowOverride All
Order allow,deny
Allow from all
</Directory>

<VirtualHost *:80>
ServerName ls
DocumentRoot "C:/path/to/ls/document/root"
</VirtualHost>
<Directory "C:/path/to/ls/document/root">
Options All
AllowOverride All
Order allow,deny
Allow from all
</Directory>
(You need to change all the paths in red.)

And adding the following to the bottom of your windows hosts file:
127.0.0.1 jream
127.0.0.1 ls
Mine is located in the C:\WINDOWS\system32\drivers\etc directory.

In MySQL if you dont have PHPmyAdmin installed, where can you view your tables of data?
I dont understand where the database is stored! Is the only way to view it in CMD prompt?
You have to access the data with SQL, it doesn't come with a GUI by default. You can get GUIs though, search Google for "MySQL GUI".