Use this tag for version-specific issues relating specifically to PHP 7.3.Use with the [php] tag
Questions tagged [php-7.3]
319 questions
0
votes
1 answer
RPM php_mbstring installation on RHEL 7.4 and PHP 7.3 | Call to undefined function mb_substr()
May i know how to install php-mbstring. Here are my server version:
OS:NAME="Red Hat Enterprise Linux Server"VERSION="7.4 (Maipo)"
PHP:
PHP 7.3.4 (cli) (built: Apr 2 2019 13:48:50) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine…

iccy
- 51
- 2
- 6
0
votes
0 answers
Zend framework 3 form issue with binding entities that use return type hinting
As I'm upgrading my application to PHP 7.3, I decided to add return type hinting to my entities methods.
An example would be something like this:
class User {
private $username;
public method getUsername(): string { return…

Systemfreak
- 327
- 7
- 13
0
votes
0 answers
AWS: PHP Code is visible instead of executing it in virtual host
I am setting up Laravel on EC2. After setting initial permissions and groups,when I tried then I got Forbidden error. The log showed following errors:
[Sun Oct 20 08:02:10.648091 2019] [autoindex:error] [pid 29325] [client 39.48.136.176:51852]…

Volatil3
- 14,253
- 38
- 134
- 263
0
votes
1 answer
Apache Cassandra Driver for PHP 7.3 on Windows 10, With Laravel 5.8
I want to use Apache Cassandra No-SQL with Laravel 5.8 on windows 10 operating system.
Currently I am having PHP 7.3 installed on windows, but i am not able to find Apache Cassandra PHP driver for windows. Where can I get Apache Cassandra PHP 7.3…

Qazi
- 5,015
- 8
- 42
- 62
0
votes
0 answers
Codeigniter allowed french uri charicters
So I have this unfortunate file manager app that accesses files by passing a file path to an api. Now I need to support the scenario where file paths and names could have french characters. So the url can look…

SpeedOfRound
- 1,210
- 11
- 26
0
votes
0 answers
Call to undefined function mysqli_init() codeigniter with php hmvc
hello I have a PHP error
Message: Call to undefined function mysqli_init()
/public_html/system/database/drivers/mysqli/mysqli_driver.php
I checked my MySQLi in server and it is working good and I tried to install packages in the server but the…

ahmed althalgy
- 73
- 2
- 9
0
votes
2 answers
restore() throws InvalidArgumentException
This works fine:
$post->comments()->withTrashed()->get()->each->delete();
Since it does indeed delete the 6 rows the each returns as a Collection.
However, this throws an exception:
$post->comments()->withTrashed()->get()->each->restore();
I…

Musa
- 1,334
- 1
- 11
- 21
0
votes
1 answer
How to send email to multiple user email in PHP by set date and hour automatically
I want to send email to multiple user email in PHP automatically by setting a date by the user I mean the user choose a date and hour from input date and I save it on a database then I want to send an email on that date is there any way to PHP do…

Amir Hossein
- 916
- 2
- 13
- 38
0
votes
1 answer
Doctrine Migrations doesn't find generated version
I am trying to fill a database with tables, but I cant migrate to it after generating it.
I am using Zend Framework 3 and added doctrine-orm-module and migrations with the composer.phar file.
Strangely enough generating a new version works without…

s47c953
- 3
- 1
- 4
0
votes
1 answer
Optional routing params passed to controller
In Laravel 6.x, how do I get optional parameters to my controller? For example, my route:
Route::get('/videos/{limit?}/{channel?}, VideosController@index);
And in my VideosController I have a method:
public function index($limit=20,…

Mark D
- 327
- 1
- 9
- 15
0
votes
1 answer
How to get delivery report from PHP mail function?
I trying to send email using the PHP mail function but when I use fake email and it gives me no error and I cannot find out the email was sent or not I try all the ways from other similar question answers but I don't get what I want
I need to get a…

Amir Hossein
- 916
- 2
- 13
- 38
0
votes
0 answers
Upgrading from PHP 5.6 to 7.3, $_COOKIE['myusername'] is not working
Upgrading to PHP 7.3 from 5.6, and this line of code is causing my webpage not to load:
$sql="SELECT * FROM $tbl_name WHERE email = '".$_COOKIE['myusername']."'";
THE PAGE LOADS when I replace the '".$_COOKIE['myusername']."' with…

Jon
- 1
- 3
0
votes
1 answer
A non-numeric value encountered in PHP 7.3.8
My following code returns 0 as expected on my production server having PHP 7.0 but returns "A non-numeric value encountered" on my localhost - PHP 7.3.8.

anjanesh
- 3,771
- 7
- 44
- 58
0
votes
0 answers
How to allow text after a url
Im having trouble with my XAMPP website. I want to make a sort of profile like thing where users type (for example) https://howcoolitis.net/profile/useridhere
but that ends up just giving an error.
To be sincere, for the i have tried thing, There is…

frionx
- 15
- 7
0
votes
2 answers
Can't download php modules inside the docker container
I can't download any php extensions inside my docker container, when trying
yum install php7.3-mysql it gives me error
"No package php7.3-zip available."
And when trying with docker-php-ext-install it gives me
"bash: docker-php-ext-install:…

t2149573
- 335
- 1
- 3
- 10