I am having a problem with opencart installation in xampp went through all steps from google and youtube and neither worked. My PHP version is 8.1.4 and one and the only problem is that mCrypt is turned off and I can't enable it.
https://i.stack.imgur.com/qznM1.png
Related
I have a Ubuntu server 22.04 and I have installed PHP 8.1.2 fpm, MySQL 8, and nginx
After I installed WordPress and active a new theme (Harika) then I get this error:
Then I installed the ionCube from the ionCube wizard and now it is installed on my server:
But it is not working and when I browse my wordpress website I get 500 error
please make sure IonCube module is installed and enabled in your web server(Nginx, Apache,...), and if it is not fixed, see your web server logs for more details.
refer to the links below:
how-to-install-ioncube-loader-on-ubuntu
similar question
I replaced my 2.1 version of WampServer with the 3.1.4 64 bit version. Everything worked after the installation. But I need to have php 5.4 and that doesn't come with this version of WS. So I downloaded that version, made the changes to the various files as mentioned here and other places. But when I switch to 5.4 it doesn't start.
I ran the "Check State of Services" tool and it said this
State of services:
The service 'wampapache64' is NOT started EXIT error code:1066 Help
message for error code 1066 is: The service has returned a
service-specific error code.
The service 'wampmysqld64' is started
The service 'wampmariadb64' is started
The service 'dnscache' is started
WampServer (Apache, PHP and MySQL) will not function properly if any
service 'wampapache64' 'wampmysqld64' 'wampmariadb64' 'dnscache' is
not started.
And the "Check http.conf" tool said
httpd.exe: Syntax error on line 195 of
C:/wamp64/bin/apache/apache2.4.35/conf/ht tpd.conf: Cannot load
c:/wamp64/bin/php/php-5.4.9/php5apache2_4.dll into server: %1 is not
a valid Win32 application.
And line 195 of that file is
LoadModule php5_module
"${INSTALL_DIR}/bin/php/php-5.4.9/php5apache2_4.dll"
Is it failing because the dll file is for the wrong version or do to something else? I've tried to locate a php5apache2_4.dll file for 32 bit but I couldn't find one.
I've spent most of the weekend on this and if I can't get it going I will need to go back to my previous version since I work on more sites using 5.4 than later versions. I hope I don't have to do that.
If you are using WAMPServer 3 or greater then there are a multitude of versions of PHP that can be downloaded as ADDONS. In other words installed into WAMPServer with a simple download and click to install.
I suggest you remove the manually installed version of PHP and use the provided downloads.
They are available from SourceForgce, but they are a LOT EASIER to find on the WAMPServer backup repo
It looks like you may need to use the 32bit WAMPServer 3.1.4 as there does not appear to be a 64bit PHP5.4 available in the ADDON list.
You may also find that you need to download an older version of Apache to get PHP5.4 to run as Apache and PHP have to be installed to versions that are compatibly compiled.
But with WAMPServer 3 there are 16 versions of Apache and 50 or so versions of PHP.
EDIT: In answer to your comment
If you uninstall the 64bit WAMPServer (after backing up site code and any databases) and install the 32bit WAMPServer V3.1.4.
The version of Apache i.e. V2.4.35 that comes with WAMPServer3.1.4 will run PHP5.4.45. So once you have WAMPServer 3.1.4 installed and working (check it works before continuing) you can download and install the ADDON for PHP5.4.45
Then using the wampmanager menu, switch to PHP5.4.45.
The version of MySQL is not directly link to Apache/PHP so the version that comes with WAMPServer V3.1.4 will work just fine.
It would also be a good idea to apply the WAMPServer 3.1.5 upgrade to WAMPServer 3.1.4 so you are totoally upto date with WAMPServer
I tried to upgrade Joomla version from 3.3.6 to 3.4.1 which ended up in "could not open joomlaupdate.xml for writing" error. I had to upgrade php from version 5.3 to 5.5 which ended up in the https site not working.http site works fine.Now I've downgraded to 5.3 and still the same issue. I have my site configured in Amazon AWS. I see that openssl is enabled in my php configuration.Need help in solving the issue
All the httpd configurations have been overwritten.Had to recopy the configurations and restart the service and everything was fine.
I have Apache version 2.2.22 and PHP 5.3.13. When I try to install Magento it just keeps telling me that curl must be loaded. I have tried to troubleshoot the problem but nothing has solved it. I've done the following:
uncomment php_curl.dll in php.ini file (both in php/ext and the apache/bin folders)
When that didn't work I downloaded two versions of php_ curl fix files (5.3.13 and 5.4.3) and used each to replace the original php_curl.dll file in php/ext.
With 5.4.3 I got the error message that "curl failed to start because the side-by-side configuration is incorrect". Now the 5.3.13 version is in the folder but I get two error messages "Program can't start because php5.dll is missing from your computer" and "ext/php_curl.dll - the specified module could not be found'.
Could someone give me further advice, because at this point I'm clueless on what to do next? I am using wampserver 2.2 and Windows 7.
It seems that more people are having this problem - php_curl.dll is badly compiled and doesn't work under Win7/8 64-bit versions.
I found this topic in official Wamp Server forums and it looks like people provided some answers there:
Wamp Server 2.2 Windows 7 64-bit and curl not working side-by-side configuration incorrect
Update your PHP version to 7.0 or higher.
They have fix the php-curl in >7.0 version see the artical php Chang log
My website is using Xampp version 1.7.1 and it contains apache 2.2 and php 5.2.9,
I got a requirement from client, to change apache 2.2 to 2.4.
Our application is a product and it is delivering as an installation package to clients.And we are using Xampp standalone version in the installation
So i used latest Xampp 1.8.1 which already have this apache 2.4.But the latest Xampp version using the latest php engine(php 5.4) .So our site is not working with this latest version (earlier it was php 5.2.9).
To fix this issue i replaced php folder in latest Xampp with older version php.
and used patch delivered by the Apache Lounge
[ https://www.apachelounge.com/download/ ] - https://www.apachelounge.com/download/win32/modules-2.4/php5apache2_4.dll-php-5.2-win32.zip
Everything working fine now but there is an issue with mcrypt extension
I have enabled the mcrypt extension in the php.ini. But this is not getting enabled. I am getting error while using the mcrypt_decrypt() in php.
You need to download mcrypt from sourceforge.net
You may find additional details on requirements and installation link
Do ensure that file php_mcrypt.dll is in xampp/php/ext/ directory alongwith libmcrypt.dll in xampp/apache/bin in case you are using windows..