Questions tagged [php-5.6]

PHP 5.6 was the successor to PHP 5.5. It was released on August 24, 2014 and reached end-of-life on December 31, 2018. Use this tag for version-specific issues relating to specifically to PHP 5.6.

PHP 5.6.0 came with new features such as (incomplete list):

  • Constant scalar expressions
  • Variadic functions
  • Argument unpacking
  • Support for large(>2GiB) file uploads
  • SSL/TLS improvements
  • New command line debugger called phpdbg

See Migrating from PHP 5.5.x to PHP 5.6.x for more information.

Information

  • If you want to talk about PHP or if you have a question, you can come to Chat Room 11: PHP.
  • For global question on PHP, please use the generic tag:
886 questions
5
votes
1 answer

Docker install memcached

I am trying to install memcached in Dockerfile but I keep getting th same error. Everything was working fine but looks like some layers were cached I and the images was being built with no problems at all. But since I cleared the cache I can't build…
user7593291
5
votes
1 answer

PHP-FPM unable to override error_reporting?

I have a problem that's driving me crazy in the last couple of hours: I can't override the default value of error_reporting directive on my development machine (Debian 8 + php-fpm 5.6.29 + Nginx/1.6.2) The php packages i'm using: $ dpkg…
Strae
  • 18,807
  • 29
  • 92
  • 131
5
votes
1 answer

'c:/wamp64/bin/php/php7.0.10/ext/php_oci8_12c.dll' - %1 is not a valid win32 application

In order to access an remote Oracle database from php, I had to activate the extension php_oci8_12c. But when I do, it does not appear in the phpinfo(). On the other hand, I get in the php logs the error message: [13-Jan-2017 08:39:48 UTC] PHP…
terminator
  • 51
  • 1
  • 6
5
votes
1 answer

Laravel 5.2 Cron not working on centos

When I am trying to run Task Schedular on localhost(php version : PHP 5.6.4-4ubuntu6.4 (cli)) it is working perfectly. crontab * * * * * php /home/aishatest/public_html/Aisha/Aisha/artisan schedule:run >> /dev/null…
Rohit shah
  • 833
  • 4
  • 15
5
votes
2 answers

php_oci8_11g.dll is not a valid Win32 application

This topic has been asked several times, but every solution is not working in my machine. I am trying to connect windows 7 with a 10G oracle dabatase, but the oci extension is not loaded. Here some facts: C:\php>php -m PHP Warning: PHP Startup:…
manix
  • 14,537
  • 11
  • 70
  • 107
5
votes
1 answer

Comparision between MongoClient and MongoDB. Why MongoClient is better?

I don't like the new mongo, MongoDB require several libs in PHP7. MongoClient (deprecated) in php 5 is much more comfortable and lightweight! I have decided to launch a script and comparing the two versions and the results are quite…
ephramd
  • 561
  • 2
  • 15
  • 41
5
votes
0 answers

Memcached failing after PHP upgrade

I have been using memcached and I upgraded from PHP 5.4 to 5.6 and now it is failing to connect and store. I have: ini_set('session.save_handler', 'memcached'); ini_set('session.save_path', 'serverAddress:11211'); session_start(); I have also tried…
austinh
  • 1,061
  • 6
  • 13
  • 34
5
votes
1 answer

Activate both, WinCache and OpCache for php 5.6 to improve performance?

We're running a typo3-website on Windows Server using IIS 8.5 and php 5.6.15 via FastCGI. To improve performance and reduce db-load, we enabled the WinCache-Extension, because of it's UserCache capabilities. WinCache's OpCache is disabled, since it…
mjStallinger
  • 192
  • 2
  • 15
5
votes
1 answer

php built-in webserver caching issue

I am working on a test project involving the PHP's built-in web server and I am testing some ideas. I want to implement my own caching mechanism for commonly used resources (png,jpg,json,txt, etc...) to reduce the load on the built-in server in…
Latheesan
  • 23,247
  • 32
  • 107
  • 201
5
votes
3 answers

Symfony Gedmo Blameable not working

Did any one ever find an solution for this issue? I'm having the same issue. My config.yml: # Doctrine Configuration doctrine: dbal: driver: "%database_server%" host: "%database_host%" port: "%database_port%" …
Chris West
  • 741
  • 13
  • 36
5
votes
1 answer

SoapClient in PHP 5.6 when using HTTPS emits warning with "key values mismatch"

After upgrading to Debian 8 with PHP 5.6.9 (change from PHP 5.4) I'm getting this warning when calling SOAP web service with HTTPS endpoint address: Warning: SoapClient::__doRequest(): SSL operation failed with code 1. OpenSSL Error messages:…
Furgas
  • 2,729
  • 1
  • 18
  • 27
5
votes
3 answers

Failed to load resource: net::ERR_INCOMPLETE_CHUNKED_ENCODING

I've been having some problems with my application not loading the views (sometimes). I am running a Debian server with php-fpm and nginx (php5.6.8 and nginx 1.8.0) Both compiled from source. On top of that I am running Lavavel 4.2. So far I've had…
Sander Koenders
  • 176
  • 1
  • 1
  • 10
5
votes
1 answer

Using design patterns in laravel 5

What are the design patterns that we can use in large projects with Laravel 5 ? is there any good tutorials or books to learn those design patterns ?
undefined
  • 161
  • 3
  • 16
5
votes
3 answers

mcrypt_encrypt not working properly on PHP 5.6.9

I have the following code which worked fine on PHP 5.5.9. function index() { echo $this->encryptText_3des('TEST','JHHKJH9879'); } function encryptText_3des($plainText, $key) { $key = hash("md5", $key, TRUE); for ($x=0;$x<8;$x++) { …
Saritha Nair
  • 109
  • 1
  • 11
5
votes
1 answer

Why doesn't suhosin.executor.disable_emodifier work?

I'm running PHP5.6 on ubuntu12.04 as apache 2.4 module Suhosin is installed from sources Suhosin is enabled and I can see it in phpinfo() function output. I have these lines in the suhosin.ini: suhosin.executor.disable_eval =…
Konstantin Bodnia
  • 1,372
  • 3
  • 20
  • 43