Hello guys i’m trying to buildstart a PHP existing web app made with Laravel. I made this: 1.Installed XAMPP for PHP version 7.4, also configure Apache Server and tested with localhost and that is working 2.Installed Composer and connected with PHP version 7.4 3.Intalled Node.js 4.npm install in the project 5.composer install in the project ..
Inside every module created with nWidart/laravel-modules there is a Config directory that ships with a config.php file: <?php return [ ‘name’ => ‘Contracts’ ]; Now, the documentation states that you should write your module’s configuration inside this directory, so I placed a database.php file inside with a custom connection for my module, called module1: <?php ..
I am working on my local server right now and trying to get rid of ‘/public/index.php’ from http://localhost/example/public/index.php/ in the url. I have followed content from the site: https://www.tutsmake.com/how-to-remove-public-from-url-in-laravel/ and added the config file laravelex.conf with the following content: <VirtualHost *:80> ServerName localhost ServerAdmin [email protected] DocumentRoot /var/www/example/public <Directory /var/www/example> Options Indexes FollowSymLinks MultiViews AllowOverride All ..
I configured second database in laravel with name Test. but when i used to insert data in second database’s table. It shows me an error, database not configured please help me to find where is my mistake? I already make configuration to add new database in project. i changed .env file and database.php file in ..
It looks like I cannot upload more than 2mb file with heroku. I can upload 3mb file on my local but I can’t upload the same file after pushing to heroku. (Using storage S3) I updated the htaccess file and I have added ini_set(‘upload_max_filesize’, ’64M’); to my controller but it doesn’t work. Is there a ..