Regarding php-wsdl not supporting php 8 - php

I was working on php-wsdl everything was running fine till php 7.4 version upgrade, but as I upgraded the server configuration to php 8 it started giving issues and 'SOAP WebService interface description' page was not loaded.
Earlier Version screenshot:
This image is screenshot when I was using 'php-wsdl' on version php 7.4
New Version screenshot:
This image is screenshot when I was using 'php-wsdl' on version php 8.1
Should I use this or I have to use other alternative

Related

How can I force a file to use a specific version of php?

I have a file which ran perfectly using php v5.6. When I upgraded my cpanel to php version 7.4 it stopped working. Is there any way of telling cpanel to run this file using php v5.6?
Thanks.

Prestashop can't connect to database "An error ocurred:" while trying to test connection

this is happening to me while installing PrestaShop 1.7 on my localhost using PHP 8 and xamp 3.2.4. I have tried creating an user and password to access my db also differents db names and still gives me this error. I tried even installing and old version of PrestaShop (1.6) and still the same.
Cant find much info about this on the web. Seems to be a new error but if everyone has some insight I take it.
Cheers
Prestoshop is still not compatible with php 8 wich the latest xampp version have so you need to install older version or at least install php 7.4 side by side with php 8.
Here the official supported php version page: https://devdocs.prestashop.com/1.7/basics/installation/system-requirements/#php-compatibility-chart
First time i instaled the latest version of xampp and I had the same problem with prestashop database connection error .Second time i instaled an older version of XAMPP and it worked.

MAMP 4.1 on Mac OSX only shows PHP 7.0.13 and 7.1.0 - Unable to load PHP 5.6.28?

I've been using MAMP for a while now and the LITE version of MAMP has always shown 2 options for PHP versions and they have always been the latest of different versions, IE PHP 5.5.X and 5.6.X.
MAMP 4.1 only shows PHP 7.0.13 and PHP 7.1.0 - neither of which I'm able to use as I'm currently working with SilverStripe 3.5.2 which requires PHP 5.3.3 or higher, but lower then PHP 7.
Is there any way to disable at least 7.0.13 to get 5.6.28 to show up as an option to work with? I'd also rather not have to do a hacky solution so as to edit the httpd.conf or otherwise. I was looking for a more official way to change it ASIDE from upgrading to MAMP 4 PRO.
The documentation at the MAMP website doesn't seem to mention a way to do this - and I have tried changing the directory name under "/MAMP/bin/php/add-x-in-front-of-php-version-directory-here".
I am aware that XAMPP solves this problem for me, but I wanted to see if there is a solution for MAMP 4.1 before making the switch.
This problem was solved by instead renaming the directories from the other end as suggested by PhilS in the comments from my original post above.
Renaming the directory from the 'right hand side' seems to do the trick as shown here in the image:
Now when choosing a PHP version it will skip over 7.0.13 and show 5.6.28 instead:

A codeigniter application migrated from WAMP to LAMP stopped working

I developed an application using codeigniter php 5.3 Apache and mysql with WAMP server on Windows 7 using WAMP. Recently, I started moving the application to Ubantu 14 with apache2, php 5.5 and mysql. It is dead now. I am able to access simple php script under www but my application is showing only blank page. (mozilla debugger shows error 500). Logs are not showing anything. What could be the reason?.. is it a common problem? It's the first time I am using Ubantu.
Well codeigniter is supported to php version 5.4 currently so won't work on php 5.5 but if you want it to work then downgrade php version or else the below link might help you.
https://dillieodigital.wordpress.com/2014/05/30/quick-tip-how-to-running-codeigniter-on-php-5-5-and-mysql-5-6/

WAMPSERVER - Only upgrade PHP Version from 5.4.3 to 5.5.4

Can i upgrade the PHP version under wampserver instead of whole?
Because current latest version of wampserver gives 5.4.3 version, but the latest version of php is 5.5.4.
How can i upgrade it?
EDIT :
Wampserver provides either 5.4.3 or older version. What I'm trying to do is Download latest PHP version from php's official site and than copy that into the wampserver. So that i can select toggle between newer and older version.
This is how wampserver control panel will look like after adding a version of php
http://i.stack.imgur.com/0pOx3.png
http://i.stack.imgur.com/joSf3.png
I GOT MY ANSWER :
A type of handler is required to handle PHP 5.5, which is not built current handler supports 5.4 < versions. The handler is provided by IONCUBE.
This is what i found -
"Ioncube for PHP5.5 is not yet released as of 13/09/2013, they say they are waiting for PHP 5.5 to become stable and secure and hosting providers to adopt PHP 5.5 before they release their upgrade. They comment that it can take a year or more for hosting companies to adopt new versions of PHP and this I guess is their schedule."
Thanks https://stackoverflow.com/users/2310830/riggsfolly !!
Thank you all for active commenting and help!
Check out this thread on the wampserver.com forum site
HOW TO MANUALLY INSTALL A NEW RELEASE OF PHP INTO THE WAMP ENVIRONMENT
You can find the versions of PHP addons on wamps page
Where you can download and install them from.

Categories