similar to: Rails & PHP

Displaying 20 results from an estimated 6000 matches similar to: "Rails & PHP"

2006 Mar 28
6
Deploying rails...
Hi, I thought I''d give lighttpd and FastCGI a go but the latest version I''ve found for fastcgi is 2.4.0 which was released in January 2003. Is this the right version? Can anyone recommend the versions I should use for FastCGI et al and where to find them? I''m not sure I''ve really found what I''m looking for... -- Posted via
2006 Apr 15
6
Good image API for RoR?
Hi, I need a relatively simple image api for the app I''m writing. I need to copy photos, rename them, and re-size them to put them in a standard format. I tried using RMagick/Imagemagick, but the photos would be corrupted on re-size, so I''m looking for some suggestions. -- Posted via http://www.ruby-forum.com/.
2006 Mar 28
4
1.1 won''t install!
I get this result in Terminal (10.4.latest) pb12-olivier:~ ambush$ gem install rails --include-dependencies Attempting local installation of ''rails'' Local gem file not found: rails*.gem Attempting remote installation of ''rails'' ERROR: While executing gem ... (Errno::EACCES) Permission denied - /usr/local/lib/ruby/gems/1.8/cache/activesupport-1.3.0.gem
2006 Mar 28
3
Routing Error after upgrade
I successfully upgraded to Rails 1.1., but now when I point my browser to localhost:3000, I get a the following: Routing Error Recognition failed for ?/rails_info/properties? What?s the best fix for this? -- Posted via http://www.ruby-forum.com/.
2006 Jun 16
12
FastCGI times out?
Hello there, So I''m still struggling with this fastcgi stuff. I''m trying to upload and process a decent sized ZIP file, but the request dies before it finishes and I get the following error: FastCGI: comm with (dynamic) server "/Users/ryan/Workspace/rails/photos/public/dispatch.fcgi" aborted: (first read) idle timeout (30 sec), referer: http://photos/album/new/4
2006 Sep 07
4
Install config: lighttpd dead but pid file exists
I''m trying to run rails on RHED (centos 4) by following this tutorial: http://wiki.rubyonrails.org/rails/pages/RailsOnRHEL and something is gone a bit astray during the install process that is not allowing lighttpd \ apache to run rails on the web. Since i''m running Centos, I should mention I''m NOT running SELinux. As it is, i''m at a total loss as to why
2006 Jun 15
6
Problem with lighttpd
I have a problem with lighttpd on OSX. Everything builds fine (and webrick runs just fine) but lighttpd barfs: edward-kenworthys-computer:~/Development/Ruby/pricematic/trunk edward$ script/server => Booting lighttpd (use ''script/server webrick'' to force WEBrick) => Rails application started on http://0.0.0.0:3000 => Call with -d to detach => Ctrl-C to shutdown
2006 Feb 08
5
Mysql::Error: Lost connection to MySQL server during query:
Hi, I am having Mysql connection problem for my first AddressBook application (which I took it from http://www-128.ibm.com/developerworks/linux/library/l-rubyrails/) I have gem installed the latest ruby, rails, lighttpd, fastcgi, mysql-4.1.14 on linux. Everything looks good. When I do: mysql -h localhost -u test -ptest -D AddressBook mysql> SELECT COUNT(*) FROM contacts; +----------+ |
2006 Jan 19
10
Where to place uploaded files for later download?
Hi there, I am working in a RoR application which allows certain users to upload files. Currently I store these files in a directory called "files". This directory is located in the RoR application directory: rails/rails_application/files So users don''t have access to them. Now I want users to be able to download some of these files (they will search based on some
2010 Dec 18
2
Best way to set up for PHP websites
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I am looking to set up a CentOS server for hosting a high traffic PHP site (specifically Drupal 6). I am trying to figure out what's the best way of setting up PHP. The standard mod_php seems to not be a good solution, as it requires apache to be in the prefork configuration, due to PHP not being thread safe. Something like mod_fcgi seems to be
2006 Apr 03
11
Rails VPS Business Hosting
Greetings, Does anyone have experience with Rails VPS hosting? I''m basically looking for a hosting reseller option so I can have control of my clients domains and hosting. I''m looking for something easy to use; although I like learning it all, and am learning a lot, I am most definitely not a command line linux user type as of yet. The one that I''ve looked at
2006 May 17
2
Caching doesn''t work at all...
Installed RoR under lighttpd and noticed that caching some actions didn''t accelerate page serving. The following little example of class TestscriptController < ApplicationController caches_page :index def index @string = Time.now.to_s end end and <html> <head> <title>Test</title> </head> <body> <p>Test</p> <p><%=
2006 Jun 06
11
Instant Rails speed on my puter..
Hi. I''ve installed Instant Rails, and when testing my rails apps, I''m noticing the load time is quite noticable. I''m concerned when I convert to real produciton, going live, if there''s going to be the same delay, plus additional bandwith traveling time. I am running on a pentium 4.. Insights on speed.. Thanks Dominic Son -- Posted via
2006 Apr 17
7
Serve static XML files how?
Hi, a Javascript in one of my Rails templates needs to load a static XML file. I tried several places to put the actual XML file, and I also tried to make the file a rails template (tried both .rhtml and .rxml) and access it via a controller action. None of these ways worked. Does the lighttpd server know how to serve XML files, or do I need to configure it first? Or, is there a good workaround?
2006 Jun 15
2
FastCGI can''t find rubygems?
Hi all, I''m trying to use Apache 2.0.52 and FastCGI on Mac OS 10.4.6 and I''m having some trouble. The server starts up fine, but I get the error at the bottom of this post once I make a request to the rails app. I was curious if anyone had an idea as to why it wasn''t working. I have everything installed correctly (rubygems, fastcgi, ruby bindings, etc). I had this
2006 Jan 17
3
file_column :root_path question.
I''m developing on Windows and deploying to FreeBSD+lighttpd using Switchtower and I''ve got things generally working. My problem now is that file_column data gets zapped every time I deploy, because Switchtower creates a whole new myapp/public directory with each rev. I looked through the file_column docs and found the :root_path option, which I use in my models as follows:
2006 Apr 03
12
scgi?? do i need it for ruby?
This might be obvious to everyone but it is something that i haven''t been able to find an answer to. Do I need to have either scgi/fastcgi/cgi running on either lighttpd/apache for ruby scripts to work? If yes, why? I have installed the scgi server and i can get the service to run, i have also installed the following mod_fastcgi/2.4.2 mod_ruby/1.2.4 Ruby/1.8.2(2004-12-25) mod_scgi,
2006 Sep 06
1
31K failed stat64's when viewing a simple (no db) rhtml page?
I''m trying to help the sys admins of my server figure out what is up with our Rails installation (debian sarge - completely up to date). Hitting a simple page yields 31,000 failed stat64''s and takes anywhere from 8 - 44 seconds. They #! for ruby is correct everywhere, but it''s like it can''t find Rails. These are box stock standard installs. Here''s
2006 May 31
19
Rails Deployment: Book recommendation?
Hello, I''m seeking a book on rails deployment (I think a general deployment on nix book can helps too) I need in depth information about Apache, FastCGI, (LightTPD maybe). I was thinking always I know what a web server is! but when I think more deeply about it (after reading Capistrano doc) it seems I need more info about app, web and db servers. stuff like how to config the app server
2009 Oct 24
5
BUG? $name inside a definition 'method signature' different to within a body ?
If I have something like this: ---------------------------------------- define bar($thing="/tmp/$name") { file { $thing: ensure => present } } class foo { somedef{ "bar": } } ---------------------------------------- puppet will try to create a file called ''/tmp/foo'' , not /tmp/bar. It seems like if I try to access $name inside the ''default