I typically use vhosts and add the various sites to the XAMPP httpd- 
vhosts.conf file.  So, for you:

<VirtualHost *:80>
     ServerAdmin [email protected]
     DocumentRoot "/Users/jcoby/src/jobeet/web"
     ServerName localhost
     ServerAlias jobeet
     ErrorLog "logs/jobeet-error_log"
     CustomLog "logs/jobeet-access_log" common
</VirtualHost>

And then in /etc/hosts I would put:
127.0.0.1 jobeet

You may also need to edit httpd.conf to include the vhosts.conf and to  
turn on name based virtual hosts.

As for the database, xampp has its own MySQL install as part of the  
package.  You can point phpMyAdmin at that install or you can ignore  
MySQL included with XAMPP and use your existing install.

If you want to use your old database with the XAMPP sites, add the  
unix_socket param to your DSN in your databases.yml:

dsn: 'mysql:host=localhost;dbname=jobeet_dev;unix_socket=/tmp/ 
mysql.sock'

On Aug 2, 2009, at 9:43 AM, Charles W Downing wrote:

>
> People,
>
> I am running Ubuntu 8.04 KDE.  I have installed xampp, instead of
> separate apps.  I have several important MySQL databases already on my
> system, which I access with phpmyadmin.  When I try to follow the  
> book,
> "Practical symfony", I can access the jobeet database and project in
> Firefox 3.x, but it cuts off my access to my other databases.
>
> I have tried putting the jobeet files as a part of /opt/lampp/ 
> htdocs, as
> well as in my home directory in sfprojects/jobeet.  Neither case  
> solves
> the problem.  What am I missing?
>
> -- 
> Chuck Downing
> Highlands Ranch, Colorado USA
>
>
>
> >

--
Jacob Coby







--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to