یلدا ادامه داره... ❤️ ۴۰ درصد تخفیف همه دورهها
استفاده از تخفیفها@ali.bayat
@milad
@hosseinshirinegad98
من یک پروژه ای که در گیت لب بهم دادن رو میخوام php artisan serve کنم اما ارور میده
require(/home/netwons/proj/vhotel-master/vhotel/vendor/autoload.php): failed to open stream: No such file or directory in /home/netwons/proj/vhotel-master/vhotel/artisan on line 18
composer update هم میزنم باز مشکل وجود دارد
Problem 1
- Installation request for simplesoftwareio/simple-qrcode ^4.1 -> satisfiable by simplesoftwareio/simple-qrcode[4.1.0].
- simplesoftwareio/simple-qrcode 4.1.0 requires ext-gd * -> the requested PHP extension gd is missing from your system.
To enable extensions, verify that they are enabled in your .ini files:
- /etc/php/7.4/cli/php.ini
- /etc/php/7.4/cli/conf.d/10-mysqlnd.ini
- /etc/php/7.4/cli/conf.d/10-opcache.ini
- /etc/php/7.4/cli/conf.d/10-pdo.ini
- /etc/php/7.4/cli/conf.d/15-xml.ini
- /etc/php/7.4/cli/conf.d/20-bcmath.ini
- /etc/php/7.4/cli/conf.d/20-calendar.ini
- /etc/php/7.4/cli/conf.d/20-ctype.ini
- /etc/php/7.4/cli/conf.d/20-curl.ini
- /etc/php/7.4/cli/conf.d/20-dom.ini
- /etc/php/7.4/cli/conf.d/20-exif.ini
- /etc/php/7.4/cli/conf.d/20-ffi.ini
- /etc/php/7.4/cli/conf.d/20-fileinfo.ini
- /etc/php/7.4/cli/conf.d/20-ftp.ini
- /etc/php/7.4/cli/conf.d/20-gettext.ini
- /etc/php/7.4/cli/conf.d/20-iconv.ini
- /etc/php/7.4/cli/conf.d/20-json.ini
- /etc/php/7.4/cli/conf.d/20-mbstring.ini
- /etc/php/7.4/cli/conf.d/20-mysqli.ini
- /etc/php/7.4/cli/conf.d/20-pdo_mysql.ini
- /etc/php/7.4/cli/conf.d/20-phar.ini
- /etc/php/7.4/cli/conf.d/20-posix.ini
- /etc/php/7.4/cli/conf.d/20-readline.ini
- /etc/php/7.4/cli/conf.d/20-shmop.ini
- /etc/php/7.4/cli/conf.d/20-simplexml.ini
- /etc/php/7.4/cli/conf.d/20-sockets.ini
- /etc/php/7.4/cli/conf.d/20-sysvmsg.ini
- /etc/php/7.4/cli/conf.d/20-sysvsem.ini
- /etc/php/7.4/cli/conf.d/20-sysvshm.ini
- /etc/php/7.4/cli/conf.d/20-tokenizer.ini
- /etc/php/7.4/cli/conf.d/20-xmlreader.ini
- /etc/php/7.4/cli/conf.d/20-xmlwriter.ini
- /etc/php/7.4/cli/conf.d/20-xsl.ini
- /etc/php/7.4/cli/conf.d/20-zip.ini
You can also run `php --ini` inside terminal to see which files are used by PHP in CLI mode.
مشکل حل شد با این کد در ویندوز
sudo apt-get install php7-curl
sudo apt-get install php7-gd
در لینوکس به این شکل میشه
sudo apt-get install php-curl
sudo apt-get install php-gd
چک کن ببین توی server.php آدرس پوشه public با آدرسی که توی server.php نوشته یکیه یا ن؟
if ($uri !== '/' && file_exists(__DIR__ . '/public' .$uri)) {
return false;
}
require_once __DIR__ . '/public/index.php';
مشکل حل شد با این کد در ویندوز
sudo apt-get install php7-curl
sudo apt-get install php7-gd
در لینوکس به این شکل میشه
sudo apt-get install php-curl
sudo apt-get install php-gd
آیا مایل به ارسال نوتیفیکیشن و اخبار از طرف راکت هستید ؟