On 25 Aug 2010, at 21:26, Xenio wrote:

Well that's that. Thanks for the clarification. So now thats out the
picture, what about this?

Is there a way to have php execute within a Ruby App. Can I put a php
file in the public directory that can access the DB in its default
directory?

Why would you need to do that? Just make sure the permissions on the SQLite database file allow both your PHP app and your Rails app to access it. Then connect to the SQLite from your PHP app using the path. But again, this is no different than putting it on a network share: you access the same file with two processes, which is a bad idea. Compare it to throwing one bone to two dogs, they'll fight over it and eventually damage it.

It's been said once, and it will be said again: if you want multiuser access to your database, use a database that supports it, i.e. MySQL or PostgreSQL.


Best regards

Peter De Berdt

--
You received this message because you are subscribed to the Google Groups "Ruby on 
Rails: Talk" 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/rubyonrails-talk?hl=en.

Reply via email to