Support the ongoing development of Laravel.io →
Requests Input
Last updated 2 years ago.
0

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?

Last updated 2 years ago.
0

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.

Last updated 2 years ago.
0

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;
Last updated 2 years ago.
0

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;
}
Last updated 9 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.