Sample Header Ad - 728x90

How to install laravel on xampp?

0 votes
0 answers
1419 views
I'm using the latest version of manjaro 64 bit and latest version of xampp. I want to install composer and laravel; I tried many solutions on stackoverflow and askubuntu. Every time I see a different error, like openssl and phar are missing and stuff like that. But in fact nothing is missing; I enabled them from php.ini So are there any manjaro user/archer who got Laravel to work on xampp? How? **Edit** php -i | grep ini outputs ▶ php -i | grep ini PHP Warning: PHP Startup: Unable to load dynamic library '/opt/lampp/lib/php/extensions/no-debug-non-zts-20151012/mcrypt.dll' - /opt/lampp/lib/php/extensions/no-debug-non-zts-20151012/mcrypt.dll: cannot open shared object file: No such file or directory in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/opt/lampp/lib/php/extensions/no-debug-non-zts-20151012/php_openssl.dll' - /opt/lampp/lib/php/extensions/no-debug-non-zts-20151012/php_openssl.dll: cannot open shared object file: No such file or directory in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/opt/lampp/lib/php/extensions/no-debug-non-zts-20151012/php_phar.dll' - /opt/lampp/lib/php/extensions/no-debug-non-zts-20151012/php_phar.dll: cannot open shared object file: No such file or directory in Unknown on line 0 Configuration File (php.ini) Path => /opt/lampp/etc Loaded Configuration File => /opt/lampp/etc/php.ini Scan this dir for additional .ini files => (none) Additional .ini files parsed => (none) user_ini.cache_ttl => 300 => 300 user_ini.filename => .user.ini => .user.ini Supported handlers => gdbm cdb cdb_make inifile flatfile init_command_executed_count => 0 init_command_failed_count => 0 com_init_db => 0 Classes => AppendIterator, ArrayIterator, ArrayObject, BadFunctionCallException, BadMethodCallException, CachingIterator, CallbackFilterIterator, DirectoryIterator, DomainException, EmptyIterator, FilesystemIterator, FilterIterator, GlobIterator, InfiniteIterator, InvalidArgumentException, IteratorIterator, LengthException, LimitIterator, LogicException, MultipleIterator, NoRewindIterator, OutOfBoundsException, OutOfRangeException, OverflowException, ParentIterator, RangeException, RecursiveArrayIterator, RecursiveCachingIterator, RecursiveCallbackFilterIterator, RecursiveDirectoryIterator, RecursiveFilterIterator, RecursiveIteratorIterator, RecursiveRegexIterator, RecursiveTreeIterator, RegexIterator, RuntimeException, SplDoublyLinkedList, SplFileInfo, SplFileObject, SplFixedArray, SplHeap, SplMinHeap, SplMaxHeap, SplObjectStorage, SplPriorityQueue, SplQueue, SplStack, SplTempFileObject, UnderflowException, UnexpectedValueException open sourced by => Epinions.com PHPRC => /opt/lampp/etc/php.ini $_SERVER['PHPRC'] => /opt/lampp/etc/php.ini 1. This is exactly how I installed composer. I did what both answers said 2. My /opt/lampp/etc/php.ini as you can see, everything needed is loaded. 3. This php-mcrypt is installed , it comes with its own php version but I'm not using that, I'm using Xampp's version 4. I'm using newest version of xampp 64 bit, the one that comes with PHP 7, same issue with previous versions. 5. In my zshrc I have > export PHPRC=/opt/lampp/etc/php.ini > export PATH=$PATH:/opt/lampp/bin If I manage to correctly load openssl, mcrypt and phar, I think all my problems will be solved. Composer seems to install without problems but issues start to pop up when I install laravel. It also installs without problems but displays warnings shown above.
Asked by Lynob (4434 rep)
Dec 21, 2015, 08:07 AM
Last activity: Aug 16, 2019, 12:48 AM