Development

#485 (Possibility to install symfony globally but outside pear)

You must first sign up to be able to contribute.

Ticket #485 (closed enhancement: invalid)

Opened 3 years ago

Last modified 3 years ago

Possibility to install symfony globally but outside pear

Reported by: chtito@free.fr Assigned to:
Priority: minor Milestone:
Component: Version:
Keywords: Cc:
Qualification:

Description

I would like to be able to checkout the symfony folder by svn and just drop it under a php include path, possibly run a script that fixes a few path constants for symfony.

Currently, as seen in the apps/app/config/config.php that is automatically created along new application, the only possible installs are local (in lib/symfony) or global via pear. I'd like the possibility of a global install outside pear.

The problem with pear is that upgrading wipes out all the changes that can have been written by the user.

Right now the simplest way to install symfony globally outside pear seems to have symbolic links "lib" and a "data" folder that mimic the pear installation. It'd be great to have a better solution. Thanks!

Attachments

svn.sh (505 bytes) - added by chtito on 05/14/06 17:33:49.

Change History

04/28/06 19:33:00 changed by brujahRg

symbolic links are for mimicing sandbox installation (framework bundled with one project). For smth. like a pear installation you can make a simple addition to the include_path like in the new wikipage. But i admit the guide is somewhat obscure so I'll work on it to clarify these things. But I again say that with a folder structure like a pear installation it's only the set_include_path needed to make it work.

04/28/06 20:30:20 changed by fabien

  • status changed from new to closed.
  • resolution set to invalid.

I don't see what kind of "better" solution you can have. 2 symbolic links and you can do whatever you want with symfony.

05/14/06 17:33:49 changed by chtito

  • attachment svn.sh added.

05/14/06 17:35:02 changed by chtito

Here is a shell script that transforms a svn installation into a working one.

The Sensio Labs Network

Since 1998, Sensio Labs has been promoting the Open-Source software movement by providing quality web application development, training, consulting, and supporting several large Open-Source projects.