Skip to content
Advertisement

Tag: apache

How work for RewriteRule in .htaccess (laravel 5.3)

I have made a virtual host as school-laravel.dev My project .htaccess file is as I want if user enters school-laravel.dev/whatever it should be redirect to school-laravel.dev/students How to rewrite this rule above in .htaccess i tried as but its not working Thanks in advance Answer You can use following code in htaccess for redirect. This will #Redirect from old domain

PHP Startup: Unable to load dynamic library `curl.so` Ubuntu

PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib/php/20131226/curl.so’ – /usr/lib/php/20131226/curl.so: undefined symbol: zend_unset_property in Unknown on line 0 I am using Ubuntu 14.04 LTS and PHP v5.6 There are other versions in same machine php5 and php7 but php5.6 has been enabled. I tried to install cURL by Now I am getting Unable to load dynamic library curl.so

Error starting userland proxy: listen tcp 0.0.0.0:3306: bind: address already in use

I have to make Laravel app and to deliver a Dockerfile, but I’m really stuck with this. Before that I had a nightmare wile installing laravel on my machine. I’m trying to get dockervel image and following the steps here: http://www.spiralout.eu/2015/12/dockervel-laravel-development.html But when I run dartisan make:auth it gives this error below: I have tried to Change the default port

how to set environment variables in apache xampp ?

I would like to add some environment variables in apache xampp in windows. I already tried the following : adding this in httpd.conf or, run this script but that doesn’t seem to work when I echo phpinfo(), there isn’t ENVIRONMENT variable in the environment section Answer I know this is an old post and the OP already may has solved

WAMP 403 forbidden from external sources

I have read a ton of threads here and elsewhere but none of the suggestions have worked. I installed the latest version of WAMP 64 bit on a fresh install of Windows Server 2012 R2. I created a subdirectory within the www directory called andrew. In that is an index.html file. I added the following to the hosts file: I

Laravel – 404 Not found every page except homepage

I’m newbie on Laravel. I’m using Laravel 5 – Wamp on Windows 8. Every page on my localhost have 404 not found error except homepage. Although I can access them with index.php . For example URL is : http://localhost/mpr/public/index.php/register is okay. Actually http://localhost/mpr/public/register has an error (404 not found). I’ve checked rewrite_module but it was not changed. Any suggestion? Answer

Advertisement