Does your server have all the requirements that laravel needs (PHP 5.4)? Does the server support mod_rewrite
and is it activated?
Can the test page be reached at all? Is for example a
echo ("Test"):
displayed?
thank for your reply. yes, the server runs on PHP5.4.10. i try to echo and it was displayed.
the only different is, im running nginx on the server instead apache on local.
Is this something to do with rewrite? Here is my site configuration,
location / {
root /usr/local/www/maysite;
index index.php index.html index.htm;
try_files $uri $uri/ /index.php?q=$request_uri;
i finally came across the answer after a month, just modify the above nginx rewrite to this
location / {
# Pretty URLs. Allows removal of "index.php" from the URL.
# Useful for frameworks like Laravel or WordPress.
try_files $uri $uri/ /index.php?$query_string;
}
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community