-2
It is possible to install the Laravel in any shared accommodation? Or the requirements for installation are very specific.
-2
It is possible to install the Laravel in any shared accommodation? Or the requirements for installation are very specific.
1
According to the documentation just take the version 5.3.7
php and the extension MCrypt
qualified.
The Laravel framework has a few system:
PHP >= 5.3.7
Mcrypt PHP Extension
As of PHP 5.5, some OS distributions may require you to Manually install the PHP JSON Extension. When using Ubuntu, this can be done via apt-get install php5-json.
1
At the moment, I am developing an application with Laravel 4, and the client has provided me access to shared hosting on "Hostgator".
I had to enable the correct version of PHP on the provider (the version default is 5.2) - this was done via .htaccess
I’m developing locally using Git and Composer, normally. I created a Git repository in the plan free of Beanstalk (and named it after remote "Beanstalk" location), and set up there a deploy automatic via FTP.
Locally, I believed a branch called "deploy", where I removed the directory vendor
of .gitignore
, so that folders in vendor
enter the repository.
So after testing my code well, and doing the commit, with a simple command...
git push beanstalk deploy
...behold:
The deploy of the Beanstalk upload of the modified files, automatically, via FTP. Jewelry!
J. Bruni, could you tell us which command you used in . htaccess and which directory you left it in to enable PHP on the server? I’m having a problem that when I use PHP 5.5 it reads php.ini from the default directory and not what I can configure(/home/cpaneluser/php.ini)
-2
You can install Laravel on any machine using the command:
composer create-project laravel/laravel --prefer-dist
If the composer
not globally available, you can download it in the current folder to do the installation by composer.phar
, thus:
curl -sS https://getcomposer.org/installer | php
Or in case you don’t have the curl
:
php -r "readfile('https://getcomposer.org/installer');" | php
If you still can’t do the installation, you can develop on your local machine and do the deploy on another machine through Capifony (which can transfer the files via rsync
), for example.
Browser other questions tagged php laravel
You are not signed in. Login or sign up in order to post.
Just to complement, if I am correct, just I take the whole code from my machine to the server, if it has the support due will run.
– 2madera
You can check the server settings by creating a php file with this code
<?php phpinfo()
see if version is 5.3.7 and if Mcrypt is enabled and should work.– rray