apache - Laravel not working with wamp 2, can't even show home page through /index.php -
I am doing a trainee in a telecommunications company. I am responsible for making back office, so I decided to make it Laravel 4.2 (to make something new).
Actually, I have already done the highest project, but I am having problems when I try to install it in the server. I followed the severel guide and tutorial but nothing worked. )
Server conf.: Apache / 2.2.25 (Win32) mod_jk / 1.2.37 mod_ssl / 2.2.25 OpenSSL / 0.9.8y mod_wsgi / 3.3 python / 2.7.2 PHP / 5.4.33RC1
In addition, I have the mod_rewrite and ssl modules in httpd.conf, and open_ssl is enabled in php.ini
my .htaccess:
ifModule mod_rewrite. C & gt; & Lt; IfModule mod_negotiation.c & gt; Option -multi view & lt; / IfModule & gt; # Redirection rear slash RewriteEngine on ... RewriteRule ^ (. *) / $ / $ 1 [L, R = 301] # Handle Front Controller ... RewriteCond% {REQUEST_FILENAME}! -d RewriteCond% {REQUEST_FILENAME}! -f RewriteRule ^ Index.php [L]
I have installed a similar environment on my personal PC and later in Apache 2.4.9 and PHP 5.4 Has been updated. Sorry for my english
update Chrome returns Net :: ERR_CONNECTION_RESET
PD > Update 2
The problem was actually caused by some blade comment statement ( {{- - comment -}}
) in my master layout. I replaced them with PHP comments ( & lt ;? php // comment & gt;
) and the page is now working on innocent
Connection reset means that your Apache is not running check WAMP log first before you do anything on the Laravel config side.
Use Skype Port 80 so that the WAMP is known in an attempt to shut down its Skype before starting Apache.
In addition, Apache configuration error may be the reason for starting Apache.
Comments
Post a Comment