I am seeing a 500 error when running cmsms-2.1.6-install.php
What I have tried so far:
Checked error logs. They show the 500 error on the hit. The description is simlply "-"
Verified PHP at required version (5.6)
Tried previous version of CMSMS (2.1.5)
CHMOD installers - 777
Uploaded a PHPINFO and ran it - Returned as expected. Used this to verify PHAR enabled
Hosting is running PHP on Linux.
Verified its not the .htaccess file by deleting it - Still throws 500 Server Error
Any ideas/suggestions appreciated.
Thanks.
I have now solved this. The CMS Made Simple installation PHP file needs to be uploaded in FTP Binary mode as it contains compressed sections.
Related
I am getting a blank screen and nothing in the error logs for a php program I am trying to get up and running (it happens to be yourls). What do I need to do to get error logging enabled or to otherwise get an indicate of why the page is not loading (I know there are multiple postings on this but none of the fixes suggested in this posts seems to generate any output and don't seem to work for this specific implementation)?
I'm running php from this install: php-8.0.0-nts-Win32-vs16-x64.zip
I'm running Apache HTTPD from this install: httpd-2.4.46-o111i-x64-vc15.zip
Turns out this was a behavior of the yourls software I was trying to run. It had a flag that turned error logging/messaging off AND it was not compatable with php 8. I switched to php 7 and switched to the php.ini-development config (by renaming it to php.ini) and I am now seeing error messages (the driver for the database is missing).
I am trying to install Magento 2.4 on my (Ubuntu) Linux environment. But it gives me the localhost is currently unable to handle this request error on the webpage.
I try to resolve by giving folder permission following this article magento2-folder-permission but nothing works. My old Magento 2 Projects of version (2.3<) works fine but I only face this issue at 2.4 version installation.
I tried to change the php.ini file memory_limit variable setting to 2G, but not get any result.
I tried to install it several times but every time I wind up with this error
Error occur when Website open
We have EasyApache3 installed on Apache (Bluehost is the service provider).
Overnight all our php files stopped working. Running a php file from the browser yields error message
[an error occurred while processing this directive]
Running any php file from the command line, including php --version, yields
“ea-php54” is not an EA4 SCL PHP
Which is an EasyApache4-related error message. PHP 5.4 is the correct installed version, though Bluehost recently made PHP 7.1 available. They claim they haven't touched our configuration.
EasyApache3 (which we don't actually use for custom configuration, for the most part - we use custom includes in the apache config files) is no longer supported, but we haven't upgraded to EasyApache4. So I don't know why we're seeing an EA4 error message, or why the server is referencing EA4 in an error message.
The two main questions:
What would cause this behaviour to start?
Should we just go ahead and install EasyApache4? Will that help or hinder?
I'm reluctant to start doing new installations and config changes on top of the error when we don't know what the existing issue is.
We have setup a Wordpress Website on IIS 10 which was working fine. But suddenly it stops working and i got this error
"FASTCGI process has failed frequently recently. Try the request again
in a while"
Restarting IIS fixed this problem.
Anybody tell me why this issue has occurred and how we can fix this ?
Thanks
Open command prompt as administrator and navigate to the php-cgi.exe
folder.
Execute any PHP file from your application to know the exact error. In my case, I created a simple phpinfo.php page and executed
following command.
C:\Program Files (x86)\PHP\v7.4.5>php-cgi.exe E:\Websites\mysite\phpinfo.php
It showed me the exact error saying 'vcruntime140.dll is not
compatible with this PHP build' & I have updated to 'Microsoft Visual C++ Redistributable for Visual Studio 2019'. You can download it from here.
Once you identified and resolved the error(point 3), you need to restart IIS server and run your website. It will work as expected.
If you're running PHP 8 turn track_errors Off in php.ini . Track_errors have been deprecated since 7.2 and can cause a fatal error in IIS
Finally, i found the solution to the issue, It is due to the low value given to "Rapid Fails PerMinute" - see above image posted by German Martin.
From Microsoft's website the default value for "Rapid Fails PerMinute" is 90 but i reduced it 10 and then the error "FASTCGI process has failed frequently recently...." started showing up.
Once i set it back to the default value of 90 , the error stopped. This is what worked for me, in my case.
You need to maximize "Instance MaxRequest" at FASTCGI Configuration. Just clic en IIS root -> FastCGI Settings, select you php-cgi.exe for WP and clic Edit. Then increise Instance MaxRequests
[IIS FastCGI Settings]
I am trying to make PHP5 work over IIS 6.0 on Windows server 2003 and i am following this steps:
http://www.iisadmin.co.uk/?p=4
The thing is, there's no file named "php5isapi.dll" inside the php folder, so I am using php5isapi.dll instead. Is it correct? Or should I try to download the php5isapi.dll from somewhere.
Well, then, I keep following the steps and when I try to execute my php file, I get this message:
The specified procedure could not be found.
What am I doing wrong?
Thanks.
UPDATE
I downloaded php5isapi.dll and tried to make it work with it but i am getting this error:
The specified module could not be found.
Also, after any change, i restart the Default Web Site clicking on stop and play.
UPDATE 2
Now, after rebooting, when trying to access the PHP file, the browser shows a 500 error:
The page cannot be displayed
I noticed that "php5isapi.ll" is no longer available for the last versions of PHP as pointed in here:
Why is php5isapi.dll missing after installing PHP for Windows?
Therefor, what i did was following this tutorial in order to do it with FastCGI
http://www.iis.net/learn/application-frameworks/install-and-configure-php-applications-on-iis/using-fastcgi-to-host-php-applications-on-iis-60
I found it on this comment:
Why is php5isapi.dll missing after installing PHP for Windows?
After restarting the server, it finally worked.