Questions tagged [php-7.3]

Use this tag for version-specific issues relating specifically to PHP 7.3.Use with the [php] tag

319 questions
0
votes
1 answer

Upgrade laravel project from 5.3 to 5.8

I'm working on a project and i'm trying to upgrade my current version of php 5.6 to 7.3, laravel 5.3 to 5.8 and backpack 0.7 to final version, then ran composer update but all I got was the error below: Problem 1: - Conclusion: don't install…
0
votes
1 answer

Installing cmark PECL module without root

I'm trying to install the cmark PECL module on a shared web host. I do not have sudo privileges. I was able to get cmark compiled and installed to my home directory. The libcmark.so file is in /home/XXX/progs/lib. The cmark.h file (and other header…
Daniel Wolfe
  • 662
  • 1
  • 8
  • 19
0
votes
1 answer

Error displaying the error page: Application Instantiation Error: Failed to start the session

I'm getting the white screen of death on my joomla site. I am using php7.3. I have added this to my htaccess file # php -- BEGIN cPanel-generated handler, do not edit # Set the “ea-php70” package as the default “PHP” programming language.
D.Davis
  • 15
  • 1
  • 10
0
votes
1 answer

Looping through files with foreach(); need to remove duplicate results before printing

I'm writing some code to automate fontfaceobserver.js. For each font file in a directory I need to get the font family name so I can print it in the javascript. Some of the fonts share the same family name followed by a style name, e.g,…
0
votes
1 answer

"continue" targeting switch is equivalent to "break" error under php 7.3

I install laravel 5.8 on new Ubuntu 16 instance under Digital Ocean. I need to install php 7.2 and for this I run commands: sudo add-apt-repository ppa:ondrej/php sudo apt-get update sudo apt-get remove php7.0 sudo apt-get install php7.2 I was…
mstdmstd
  • 2,195
  • 17
  • 63
  • 140
0
votes
0 answers

Substr erroring datatables after upgrading to PHP 7.3

I have recently upgraded from PHP5.6 to 7.3.4 , on my website I have a page containing a datatables with a lot of vacancies. I load my DataTables using AJAX. In this function I have the following piece of code: if (strlen($vac->name) > 19) { …
Dennis
  • 3,044
  • 2
  • 33
  • 52
0
votes
0 answers

php api rewrite not working XAMPP going to dashboard

I'm running XAMPP and am trying to catch all requests to my Directory http://localhost/api works and serves index.php in the api-folder I don't know if the rewrite is working at all since all requests to http://localhost/api/whatever ends up at…
Asken
  • 7,679
  • 10
  • 45
  • 77
0
votes
0 answers

How to execute php shell commands from browser?

I'm trying to execute some shell commands from browser. But whenever i do so, I get "php is not recognized as external or internal command" error whereas it works fine in the terminal. I tried looking for it on the web and found something related to…
Abhishek Prakash
  • 496
  • 5
  • 18
0
votes
1 answer

Date Picker not displaying calendar on click in laravel

I am trying to create a booking system with a date picker input but the control does not display the calendar when clicked. I have copied all the files as they are in matrix and added them to my project but nothing works. Here is my design blade…
user8990420
0
votes
0 answers

Xdebug 2.7.0 does not work on PhpStorm with Laravel Homestead

I try to make Xdebug work on my machine for over a month now and its driving me crazy. I have the following configuration: A Vagrant box with Laravel Homestead (PHP 7.3, Xdebug 2.7.0rc1 on Ubuntu 18.04.1) On my own computer I have the most recent…
Koen Hollander
  • 1,687
  • 6
  • 27
  • 42
0
votes
0 answers

After updating Ubuntu, the request began to hang when the listener is enabled in PhpStorm Xdebug

All settings are normal. I went through https://xdebug.org/wizard.php. phpize matched. I decided to reinstall it. My phpize with PHP 7.3 coincided with wizard. In phpinfo() Xdebug is displayed. In php -v as well. Even more, in PhpStorm it catches…
0
votes
4 answers

Install ssh2 extension having homebrew and php 7.3

I am facing the following error while trying to install ssh2 extension with pecl: 17 warnings and 3 errors generated. make: *** [ssh2_fopen_wrappers.lo] Error 1 ERROR: `make' failed Here is what I've done: brew install php brew install…
Vitalii Isaenko
  • 941
  • 1
  • 14
  • 37
0
votes
1 answer

TCPDF each() is deprecated function under PHP 7.3

You may have an error back using TDPDF, error saying each() function is deprecated, error in fpdi.php line 562
Patriboom
  • 41
  • 5
0
votes
1 answer

Use MacPorts PHP-FPM instead of from build

I've used MacPorts to install apache2, php73 and php73-fpm on MacOS Mojave. I've updated by .bash_profile to reflect the new MacPorts paths like so: export PATH="/opt/local/bin:/opt/local/sbin:$PATH" I've refreshed my .bash_profile by running: .…
HWD
  • 1,547
  • 7
  • 36
  • 72
0
votes
1 answer

How to Take input in PHP-CLI (version 7.3) for a switch case variable?

My code looks like this : switch ($input) { case "hello": .......code1..... ; break; case "bye" : ......code2 .....; break; case "xoxo": .......code3.....; break; default: .......code4.....; } And I am using…
Just Khaithang
  • 1,217
  • 1
  • 14
  • 24