so i had laravel 4 project running at my current shared hosting and everything works fine i just need to adjust a few things but it just works perfectly fine.
now i am upgrading my project to laravel 5.2 and i expect to get some adjusting to... and i already did... i follow every instruction on the forum like changing something in public/index.php
require DIR.'/../laravel/bootstrap/autoload.php';
$app = require_once DIR.'/../laravel/bootstrap/app.php';
and add this to the top of index.php file
ini_set('eaccelerator.enable', 0);
i also changed .htaccess file with something like this
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{REQUEST_URI} !^public
RewriteRule ^(.*)$ public/$1 [L]
</IfModule>
i also changed folder structure to match the configuration. but none of them working i always getting this error
Warning: require(/home/puskopdi/project/vendor/composer/../symfony/polyfill-mbstring/bootstrap.php): failed to open stream: No such file or directory in /home/puskopdi/project/vendor/composer/autoload_real.php on line 66
Fatal error: require(): Failed opening required '/home/puskopdi/project/vendor/composer/../symfony/polyfill-mbstring/bootstrap.php' (include_path='.:/opt/alt/php70/usr/share/pear') in /home/puskopdi/project/vendor/composer/autoload_real.php on line 66
as far as i can read it just need something in composer and my shared hosting not allowed me to instal that... they demand me to change into vps account and i don't want to do that....
so maybe there is something that i can do to make it work? because as far as i can tell composer is just something to do instaling laravel and laravel packages....
and with laravel 4 working fine in there.. i supposed there is not gonna be a big different...
and most of the sites that have solved this issue not saying i need to have composer instaled onto that.. most off them are fine with the configuration i made up there...
so maybe i was missing something....
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire