> The requested URL /viewcvs.cgi/pear-core/PEAR.php was not found on this > server.
I got the heads up about Uniform Server, an open-source WAMP-based web development test bed server from The World's Easiest PHP/MySQL Testing Server, a brief but informative article by Rob Williams at Community MX. What caught my eye in the article was this paragraph pregnant with the promise of total ease of use:
You do NOT have to install it, configure it, or in fact make any change at all to the downloaded files in order to have a fully functioning test server up and running! One of the goals of Uniform is to create a standalone server that does not alter or affect the local machine in any way at all. Once you've downloaded the package, all you need to do is extract them to a folder and double-click the "start server" batch file; a full-fledged Apache 2 server with the latest version of PHP, MySQL and Perl already installed and pre-configured will then start up. When you're done with your testing, simply double-click the "stop server" batch file and the entire server shuts down, packs itself up and disappears from existence again leaving no remnants in memory or registry files!
There is not one word of exaggeration in that description. Download it, extract it, click the server_start.bat file in the "Uniform Server" folder to crank it up … and from your local Windows desktop you have a fully functioning and customizable web server test bed with all the files automatically placed in the default locations you would expect in a typical Linux server. Click the stop.bat and it all unloads from memory. And this wonderfully self-contained web server test bed is fully portable to a flash drive, whatever. Take your test bed with you, people. Sweet, to the max.
Uniform Server is a total freebie you can download from SourceForge. It works.
Run "Server Start.vbs" or "Start.bat" (and you will have by default the W:\ disk which is the server).
It should automatically open up a browser that will connect to http://localhost/apanel/ or by IP address http://127.0.0.1/apanel/.
To start as service on NT run plugins\Services\Run.bat (!!! be sure you know what you are doing).
To correctly shutdown, run Stop.bat.
Admin Panel link also works.
Download the file at http://go-pear.org/ as go-pear.php and run it as a php script. Don't forget to remove your old PEAR first.
> The requested URL /viewcvs.cgi/pear-core/PEAR.php was not found on this > server.
Are you behind a proxy or corporate firewall? I have a filter at my place of work which rejects tgz files, and had to use a different proxy to get it to work.
> no I'm not behind any firewall or a proxy.
Try finding a verbose mode or some other options in the go-pear script; it worked for me on Windows XP, Windows 2000 Server and Windows 2003 Server.
> A friend told me that if I want to use sandbox, I can stop using PEAR. Is > that right?
Yes, the sandbox is available as an option, but it's not as upgradeable as the PEAR version. I'd persist with PEAR, personally.
documented on: 05 July 2007, halfer
I have done symfony with mysql and Apache and found have no problem(I used wamp) but when I install it with MSSQL and IIS I found some problem and It's very hard to fix it.Now ,I think I can share with you some experience
any question: ndthi_gk@yahoo.com
Attachment: symfony_IIS_MSSQL.doc http://www.symfony-project.org/forum/index.php?t=getfile&id=311&[] (Size: 111.50KB, Downloaded 57 time(s))
> I want to install Symfony on Windows 2003/IIS 6.0/MSSQL
Sorry for the brevity, but it is clear you've not read the docs:
On the installation page
http://www.symfony-project.org/book/trunk/03-Running-Symfony (and it is covered extremely well in this forum)
Please do read the manual and search the fora, there is *loads* of info available. You'll find this much quicker than waiting for a reply when your issue is urgent.
halfer
> Is there a way that I can just copy and paste the files and start using the > Symfony?
If you have symfony running on another machine (I deploy to a production win2k3 machine, but develop on a winxp box) you can just copy the entire php directory over.
You have to then setup iis to run php files (using the isapi extension), and setup the virtual directory that symfony needs (sf).
After that you can just put your project where ever you want and map the web directory as the sites root.
All the symfony commands might not work from the command line (unless you add the php and pear directories that you copied over to the path). But I don't want that stuff runable on the production box any way.
I have found the easiest way is to actually install and use Pear to get smyfony going on any box. And then copy it to where ever you need it.
chris.
documented on: 05 July 2007, pyjamasam
I don't think i want to go through all that just to test and it might not work then. I was looking for a download and run type of framework.
I think it's time to pursue my second option. Zend. I do hope it's simple one.
you should simply use the sandbox : this is the perfect download and run framework. No hassle during installation (a copy/paste)
Upgrading is also just a matter of copy/paste (providing that you do not hack the core files of symfony)
do not be heretic, do not use zend
cblin
I think you are missing one of the most important parts of it.
It is a download and run option.
You are just choosing to ignore the download part.
Really after installing php, typing go-pear and then following the instructions to install pear, and then typing pear install symfony/symfony is about as easy as it gets (well also doing a pear channel-discover or what ever, but all thats documented in the install instructions that are VERY well laid out on the symfony site).
Once you have it installed once its easy to copy around. And it will work. Done it many times.
You are leaving out the part where having the support libraries is important. Pear is like the MSI you would get from zend. Just a few more steps. But a lot cleaner, and it works just as well.
Don't give up on the pony. It is a VERY good framework.
Scroll down to the "Installing the Symfony PEAR Package" part.
Pear is PART of php. It can provide you with SO many different libraries that are useful when developing stuff, that not installing it or including it almost is a shame.
chris.
documented on: 05 July 2007, pyjamasam
i have installed symfony on iis ( winxp )… and loaded askeet tutorial … installed from tar and not using pear so my symfony files are in c:/symfony…
in my settings.yml i have
all: .settings: relative_url_root: /askeet path_info_key: HTTP_X_REWRITE_URL
since i am trying to set it up to use isapi_rewrite.
i followed this tutorial http://trac.symfony-project.org/trac/wiki/symfonyOnIIS
so i've got two virtual directories, one called askeet and the other called sf. askeet points to D:\code\askeet\web and sf points to C:\symfony-stable\symfony-1.0.4\data\web\sf
when i go to localhost/askeet i see the congratulations screen but the sf default css/images are being searched for in localhost/askeet/sf and not in localhost/sf so they don't load
I checked the source of the page and all the images/css for default sf are being searched for in /askeet/sf/
Please help. My symfony version is 1.0.4
documented on: 25 June 2007, ques
If anyone runs into this… I figured out the problem:
The instructions said : "create a new virtual directory on the root of your WEBSITE" Smile…. and i was creating the sf virtual directory as a separate entity. So i deleted that, created the sf virtual directory inside the askeet virtual directory… and pointed to right location and now works fine.
Feelings of stupidity overwhelm me but at least it works now Smile.
documented on: 25 June 2007, ques