Xenio wrote:
> Also I have apache running off port 84 and my ROR app running off port
> 3000. I can only get PHP to execute using the apache port.
>
> The issue is that I need to access the ROR db using the PHP file.
>
> How would I go about doing this so that the PHP script can "see" the
> ROR db file located in its default directory within my ROR app?
Presumably by giving the PHP application the appropriate SQLite
connection information. But you shouldn't do that if this is a
production solution: SQLite is not suitable for production use due to
its lack of concurrency support. Use a real multiuser DB such as
PostgreSQL.
Best,
--
Marnen Laibow-Koser
http://www.marnen.org
marnen@marnen.org
Sent from my iPhone
--
Posted via http://www.ruby-forum.com/.
--
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
No comments:
Post a Comment