Use this tag for questions specific to PHP version 7.
Questions tagged [php7]
350 questions
-1
votes
2 answers
How do I set up php 7 to use a different php.ini for cli and apache2?
When I installed php5 using apt-get, it seemed to be configured to use:
/etc/php5/cli/php.ini for the cli binary
/etc/php5/apache2/php.ini when running through apache
I cannot find anything in any configuration files that seems to set up this…

Cameron Ball
- 205
- 1
- 5
- 14
-1
votes
2 answers
crypt(): No salt parameter was specified. You must use a randomly generated salt and a strong hash function to produce a secure hash function
I'm getting the following password error. I have PHP 7.2 variant(to php version 5.5 does not appear to me this problem ), the following code :
function make_key($length)
{
$valid_chars =…
-2
votes
1 answer
PHP 7 and Centos/Redhat
My experience with web servers has been: Total Noob -> Working for a cPanel hosting provider.
About a year ago, I set myself a fun challenge of configuring a webserver as closely as I would a cPanel server... without cPanel. I was level 1 at this…

Will
- 14
- 2
-2
votes
1 answer
Upgrading PHP 7.04 to 7.06 Ubuntu Xenial
I am using Xenail Ubuntu 16.04 64bit.
I've PHP 7.04 , How can I update that too 7.06 ? Cant seem to work with apt-get upgrade ?

Sohaib Khan
- 101
- 2
-2
votes
2 answers
what the meaning of #!/usr/bin/php -q
I look at some php script in centos,I notice there is #!/usr/bin/php -q
What is the meaning of this option? because I cannot see it in php --help

tree em
- 99
- 3