Medavidcook Posted June 18, 2014 Share Posted June 18, 2014 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 Quote Link to comment https://forums.phpfreaks.com/topic/289196-installing-php-on-imac/ Share on other sites More sharing options...
Ch0cu3r Posted June 18, 2014 Share Posted June 18, 2014 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). Quote Link to comment https://forums.phpfreaks.com/topic/289196-installing-php-on-imac/#findComment-1482846 Share on other sites More sharing options...
Medavidcook Posted June 18, 2014 Author Share Posted June 18, 2014 That didn't work, totally confused now Quote Link to comment https://forums.phpfreaks.com/topic/289196-installing-php-on-imac/#findComment-1482847 Share on other sites More sharing options...
Ch0cu3r Posted June 18, 2014 Share Posted June 18, 2014 Explain what you by that? Are you referring to installing MAMP or Symfony? Quote Link to comment https://forums.phpfreaks.com/topic/289196-installing-php-on-imac/#findComment-1482854 Share on other sites More sharing options...
Medavidcook Posted June 18, 2014 Author Share Posted June 18, 2014 Symfony, already installed MAMP Quote Link to comment https://forums.phpfreaks.com/topic/289196-installing-php-on-imac/#findComment-1482857 Share on other sites More sharing options...
trq Posted June 19, 2014 Share Posted June 19, 2014 So, is php working on your machine? You hint at using mamp already, so why is this question in the "PHP Installation & Configuration" board? Are you simply stuck getting Symfony working? Quote Link to comment https://forums.phpfreaks.com/topic/289196-installing-php-on-imac/#findComment-1482880 Share on other sites More sharing options...
gizmola Posted June 19, 2014 Share Posted June 19, 2014 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. Quote Link to comment https://forums.phpfreaks.com/topic/289196-installing-php-on-imac/#findComment-1482881 Share on other sites More sharing options...
Medavidcook Posted June 19, 2014 Author Share Posted June 19, 2014 So, is php working on your machine? You hint at using mamp already, so why is this question in the "PHP Installation & Configuration" board? Are you simply stuck getting Symfony working? Yes stuck getting symphony working Quote Link to comment https://forums.phpfreaks.com/topic/289196-installing-php-on-imac/#findComment-1482914 Share on other sites More sharing options...
trq Posted June 19, 2014 Share Posted June 19, 2014 Yes stuck getting symphony working So where exactly are you stuck? The install process is pretty straight forward. Quote Link to comment https://forums.phpfreaks.com/topic/289196-installing-php-on-imac/#findComment-1482917 Share on other sites More sharing options...
Medavidcook Posted June 20, 2014 Author Share Posted June 20, 2014 This is what happens HelloOk 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 meThanks Quote Link to comment https://forums.phpfreaks.com/topic/289196-installing-php-on-imac/#findComment-1482958 Share on other sites More sharing options...
trq Posted June 22, 2014 Share Posted June 22, 2014 Have you installed Symfony's dependencies using composer? Have you created a vhost on your http server for this project? Quote Link to comment https://forums.phpfreaks.com/topic/289196-installing-php-on-imac/#findComment-1483039 Share on other sites More sharing options...
Medavidcook Posted June 24, 2014 Author Share Posted June 24, 2014 tbh i am not sure as i followed everything on there website and not working, thinking will need to look at it again Quote Link to comment https://forums.phpfreaks.com/topic/289196-installing-php-on-imac/#findComment-1483161 Share on other sites More sharing options...
trq Posted June 25, 2014 Share Posted June 25, 2014 Yeah, you're going to need to provide more information than "not working". Quote Link to comment https://forums.phpfreaks.com/topic/289196-installing-php-on-imac/#findComment-1483187 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.