Jump to content

Recommended Posts

Hello

 

I have being using MAMP for php I am now trying out symfony framework. 

 

I am trying to install it i do everything the website says but when I  come to test the url it don't work says can't connect to server.

 

I don't think php is enabled on my iMac 

 

wondering if anyone can help me install the framework

 

thanks

Link to comment
https://forums.phpfreaks.com/topic/289196-installing-php-on-imac/
Share on other sites

Not a mac user, But if you have MAMP installed and have gone through the installation steps here then Apache, PHP and MySQL should be set up and ready to go.

 

To install symfony, just download it and extract the archive to your web directory (default path is /Applications/MAMP/htdocs - according to the docs liked above).

This pretty much covers the way I've upgraded php and other components of a MAMP stack under osx  -> https://trac.macports.org/wiki/howto/MAMP

 

As an alternative, let me suggest investigating a few vagrants.  Pretty much any lamp or nginx based distro of your choosing could be located, or there are some pre-packaged vagrants you could try, that popped up in google:

 

https://github.com/irmantas/symfony2-vagrant

 

https://github.com/kleiram/vagrant-symfony

 

Vagrant is a great way to develop without having to mess with your host OS.  The only issue I have had in the past is that sometimes composer can be hinkey under virtual box, but I'd still recommend looking into it.

This is what happens

 

Hello

Ok I have an iMac running PHP 5.3.27 (found from phpinfo file)

I am trying to instal Symfony framework.

I have followed the instructions where adding the scripts for composer in terminal the first one (curl -sShttps://getcomposer.org/installer | php) says successful the second one (sudo mv composer.phar /usr/local/bin/composer) asks for my password which I enter but nothing happens, When I try running Symfony 2 by using cd my project/ then php app/check.php Shows the details as ok.
But when i try accessing the host url on my browser it says unable to connect to server.

I don;t know what I have done. Wondering if anyone can help me

Thanks

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.