Im using ubuntu and XAMPP for linux and I have a problem when I try to upload an extension greater than 500kb in Joomla, I get an "HTTP Error 500"
http://s4.postimage.org/7wgxcfveq/error500.jpg
My php.ini file is configured following the joomla recomendations:
"display_errors=Off"......
here is my error log
[Mon Jun 06 14:12:45 2011] [notice]
suEXEC mechanism enabled (wrapper:
/opt/lampp/bin/suexec) [Mon Jun 06
14:12:45 2011] [warn] RSA server
certificate is a CA certificate
(BasicConstraints: CA == TRUE !?) [Mon
Jun 06 14:12:45 2011] [warn] RSA
server certificate CommonName (CN)
localhost' does NOT match server
name!? [Mon Jun 06 14:12:46 2011]
[notice] Digest: generating secret for
digest authentication ... [Mon Jun 06
14:12:46 2011] [notice] Digest: done
[Mon Jun 06 14:12:47 2011] [warn] RSA
server certificate is a CA certificate
(BasicConstraints: CA == TRUE !?) [Mon
Jun 06 14:12:47 2011] [warn] RSA
server certificate CommonName (CN)
localhost' does NOT match server
name!? [Mon Jun 06 14:12:48 2011]
[notice] Apache/2.2.17 (Unix) DAV/2
mod_ssl/2.2.17 OpenSSL/1.0.0c
PHP/5.3.5 mod_apreq2-20090110/2.7.1
mod_perl/2.0.4 Perl/v5.10.1 configured
-- resuming normal operations [Mon Jun 06 14:15:34 2011] [error] [client
192.168.56.1] PHP Fatal error: Maximum execution time of 30 seconds
exceeded in
/opt/lampp/htdocs/csu/libraries/joomla/filesystem/archive/tar.php
on line 154, referer:
http://192.168.56.101/csu/administrator/index.php?option=com_installer&view=install
The PHP Fatal error is "Maximum execution time of 30 seconds exceeded".
You could try increasing this by altering the max_execution_time in the php.ini file or create a .htaccess file containing..
php_value max_execution_time 60
Should the installation of an extension take longer than 30 seconds?
There might be a script issue, such as an endless loop, that's causing problems.
Related
I tried to update PHP7.3 to PHP7.4 for my XAMPP Apache on Windows 10. Now Apache won't start...
I'm using a self-signed security certificate for development.
The error message I'm getting from Apache is:
10:30:53 AM [Apache] Attempting to start Apache app...
10:30:53 AM [Apache] Status change detected: running
10:30:54 AM [Apache] Status change detected: stopped
10:30:54 AM [Apache] Error: Apache shutdown unexpectedly.
10:30:54 AM [Apache] This may be due to a blocked port, missing dependencies,
10:30:54 AM [Apache] improper privileges, a crash, or a shutdown by another method.
10:30:54 AM [Apache] Press the Logs button to view error logs and check
10:30:54 AM [Apache] the Windows Event Viewer for more clues
10:30:54 AM [Apache] If you need more help, copy and post this
10:30:54 AM [Apache] entire log window on the forums
These are the latest error log entries:
[Thu Jun 18 09:50:08.253500 2020] [ssl:warn] [pid 3120:tid 520] AH01906: www.example.com:443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Thu Jun 18 09:50:08.253500 2020] [ssl:warn] [pid 3120:tid 520] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Thu Jun 18 09:50:08.278953 2020] [mpm_winnt:notice] [pid 3120:tid 520] AH00354: Child: Starting 150 worker threads.
I followed this tutorial:
https://medium.com/oceanize-geeks/how-to-upgrade-lower-version-to-latest-php-version-in-xampp-on-windows-f7be9a70bbb0
download Thread Safe PHP version from http://windows.php.net
unzip, rename folder to PHP
rename php folder in XAMPP (so mine is now php_7.3)
insert new php folder
inside this new php folder, I renamed php.ini.development to php.ini
then I replaced the PHP module lines in my httpd-xamp.conf as follows:
LoadFile "D:/xampp/php/php7ts.dll"
LoadFile "D:/xampp/php/libpq.dll"
LoadModule php7_module "D:/xampp/php/php7apache2_4.dll"
I'm not sure what to do and concerned that I will just mess it up even more... Help is very much appreciated! I really need Apache to work...
EDIT:
Here's today's complete error log:
[Thu Jun 18 09:50:07.558720 2020] [ssl:warn] [pid 17248:tid 512] AH01906: www.example.com:443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Thu Jun 18 09:50:07.559723 2020] [ssl:warn] [pid 17248:tid 512] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Thu Jun 18 09:50:07.611001 2020] [core:warn] [pid 17248:tid 512] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Thu Jun 18 09:50:07.613027 2020] [ssl:warn] [pid 17248:tid 512] AH01906: www.example.com:443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Thu Jun 18 09:50:07.613027 2020] [ssl:warn] [pid 17248:tid 512] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Thu Jun 18 09:50:07.648936 2020] [mpm_winnt:notice] [pid 17248:tid 512] AH00455: Apache/2.4.41 (Win64) OpenSSL/1.1.1c PHP/7.3.11 configured -- resuming normal operations
[Thu Jun 18 09:50:07.648936 2020] [mpm_winnt:notice] [pid 17248:tid 512] AH00456: Apache Lounge VC15 Server built: Aug 11 2019 12:20:04
[Thu Jun 18 09:50:07.648936 2020] [core:notice] [pid 17248:tid 512] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Thu Jun 18 09:50:07.655110 2020] [mpm_winnt:notice] [pid 17248:tid 512] AH00418: Parent: Created child process 3120
[Thu Jun 18 09:50:08.205628 2020] [ssl:warn] [pid 3120:tid 520] AH01906: www.example.com:443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Thu Jun 18 09:50:08.206625 2020] [ssl:warn] [pid 3120:tid 520] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Thu Jun 18 09:50:08.253500 2020] [ssl:warn] [pid 3120:tid 520] AH01906: www.example.com:443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Thu Jun 18 09:50:08.253500 2020] [ssl:warn] [pid 3120:tid 520] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Thu Jun 18 09:50:08.278953 2020] [mpm_winnt:notice] [pid 3120:tid 520] AH00354: Child: Starting 150 worker threads.
EDIT 2:
The result of running httpd.exe and httpd.exe -t command via the Windows command prompt:
"httpd.exe: Syntax error on line 537 of C:/xampp/apache/conf/httpd.conf: Syntax error on line 17 of C:/xampp/apache/conf/extra/httpd-xampp.conf: Cannot load D:/xampp/php/php7ts.dll into server: The specified module could not be found."
Line 537 in httpd.confis:
# XAMPP settings
Include "conf/extra/httpd-xampp.conf"
Line 17 in http-xampp.conf is:
LoadFile "D:/xampp/php/php7ts.dll"
Further research led me to this question about php7ts.dll: php7ts.dll cannot load into server
So I ran the commands httpd.exe -v and php.exe -v.
The result is that they're both the 64-bit version, I think:
C:\xampp\apache\bin>httpd.exe -v
Server version: Apache/2.4.41 (Win64)
Apache Lounge VC15 Server built: Aug 11 2019 12:20:04
C:\xampp\apache\bin>php.exe -v
PHP 7.4.7 (cli) (built: Jun 9 2020 13:36:15) ( ZTS Visual C++ 2017 x64 )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
Confirm your confirm php7ts.dll file location and use same in apache httpd configuration file.
You can check if the settings of apache are correct:
Open command prompt and navigate to your apache installation bin folder: cd C:/xampp/apache/bin
Then run the following command to see if the syntax is OK:
httpd.exe -t
I've trying to start httpd 2.4 on OSX with SSL installed from
brew install httpd24 --with-privileged-ports
and I'm trying to start it with an SSL certificate generated from letsencrypt. However, it's not starting. I've upped the log levels to see if they help. The error.log has
[Thu Oct 06 21:33:18.256058 2016] [ssl:trace3] [pid 39588] ssl_engine_init.c(506): Creating new SSL context (protocols: TLSv1, TLSv1.1, TLSv1.2)
[Thu Oct 06 21:33:18.256159 2016] [ssl:trace1] [pid 39588] ssl_engine_init.c(768): Configuring permitted SSL ciphers [ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-DSS-AES128-GCM-SHA256:kEDH+AESGCM:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA:ECDHE-ECDSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA:DHE-DSS-AES128-SHA256:DHE-RSA-AES256-SHA256:DHE-DSS-AES256-SHA:DHE-RSA-AES256-SHA:!aNULL:!eNULL:!EXP]
[Thu Oct 06 21:33:18.256340 2016] [ssl:debug] [pid 39588] ssl_engine_init.c(949): AH01904: Configuring server certificate chain (1 CA certificate)
[Thu Oct 06 21:33:18.256345 2016] [ssl:debug] [pid 39588] ssl_engine_init.c(412): AH01893: Configuring TLS extension handling
[Thu Oct 06 21:33:18.256482 2016] [ssl:error] [pid 39588] AH02566: Unable to retrieve certificate www.myserver.com:443:0
and the ssl_engine.log has
[Thu Oct 06 21:33:18.256029 2016] [ssl:trace2] [pid 39588] ssl_engine_rand.c(125): Init: Seeding PRNG with 144 bytes of entropy
[Thu Oct 06 21:33:18.256050 2016] [ssl:info] [pid 39588] AH01887: Init: Initializing (virtual) servers for SSL
AH00016: Configuration Failed
I've got openssl installed via homebrew as well as the openssl on OSX (OpenSSL 0.9.8zh 14 Jan 2016).
and the output from the libexec in httpd24/2.4.23_2
otool -L mod_ssl.so
mod_ssl.so:
/usr/local/opt/openssl/lib/libssl.1.0.0.dylib (compatibility version 1.0.0, current version 1.0.0)
/usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib (compatibility version 1.0.0, current version 1.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1238.0.0)
which I've checked is there and is in 1.0.2j version.
The output from
sudo apachectl configtest
Syntax OK
Any ideas what I've done wrong?
I got it to restart in the end.
Somehow I had commented out the
Listen 443
so it wasn't listening on 443, which I guess was what it was trying to tell me with
Thu Oct 06 21:33:18.256482 2016] [ssl:error] [pid 39588] AH02566: Unable to retrieve certificate www.myserver.com:443:0
I'm setting up this OSX Mavericks following this guide but I cannot get http://localhost/~giulio to work ('giulio' is this mac username).
Looks like it doesn't find the /users/giulio.conf
This is what's inside the /private/var/log/apache2/error_log
[Thu Feb 27 13:54:41 2014] [notice] caught SIGTERM, shutting down
[Thu Feb 27 13:54:48 2014] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
httpd: Could not reliably determine the server's fully qualified domain name, using iMac-di-Giulio.local for ServerName
[Thu Feb 27 13:54:48 2014] [notice] Digest: generating secret for digest authentication ...
[Thu Feb 27 13:54:48 2014] [notice] Digest: done
[Thu Feb 27 13:54:48 2014] [notice] Apache/2.2.24 (Unix) DAV/2 PHP/5.4.17 mod_ssl/2.2.24 OpenSSL/0.9.8y configured -- resuming normal operations
[Thu Feb 27 13:54:55 2014] [error] [client ::1] File does not exist: /Library/WebServer/Documents/index-maintenance.html
Solved redoing the whole process and adding Servername Localhost
and adding the follwing code into giulio.conf file into users folder.
<Directory "/Users/giulio/Sites/">
Options FollowSymLinks
AllowOverride None
Order deny,allow
Allow from all
</Directory>
When I try to upload a new template in Joomla 3.2 (in my computer with apache, XAMPP), I get a white screen, without any error. I check the log file error, and I found these errors. Wish some of you can solve it. I don't understant what it means.
Thank you.
[Mon Jan 06 01:54:14.346499 2014] [ssl:warn] [pid 4328:tid 256] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name
[Mon Jan 06 01:54:14.530510 2014] [core:warn] [pid 4328:tid 256] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Mon Jan 06 01:54:15.234550 2014] [ssl:warn] [pid 4328:tid 256] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name
[Mon Jan 06 01:54:15.456563 2014] [mpm_winnt:notice] [pid 4328:tid 256] AH00455: Apache/2.4.7 (Win32) OpenSSL/0.9.8y PHP/5.4.22 configured -- resuming normal operations
[Mon Jan 06 01:54:15.456563 2014] [mpm_winnt:notice] [pid 4328:tid 256] AH00456: Apache Lounge VC10 Server built: Nov 26 2013 16:07:35
[Mon Jan 06 01:54:15.456563 2014] [core:notice] [pid 4328:tid 256] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Mon Jan 06 01:54:15.461563 2014] [mpm_winnt:notice] [pid 4328:tid 256] AH00418: Parent: Created child process 5132
[Mon Jan 06 01:54:17.442676 2014] [ssl:warn] [pid 5132:tid 268] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name
[Mon Jan 06 01:54:18.459734 2014] [ssl:warn] [pid 5132:tid 268] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name
[Mon Jan 06 01:54:18.613743 2014] [mpm_winnt:notice] [pid 5132:tid 268] AH00354: Child: Starting 150 worker threads.
This error might be appearing probably because Apache checks the domain name for the certificate and the key. This is a warning message but you can disable SSL in the httpd.conf file
#Include conf/extra/httpd-ssl.conf
Comment out the line using # like shown above.
I have website already and wanted to do many changes in website. So I took the akeeba backup and created site locally.
When I created website, I got error as Internal Server Error. To solve that error I removed whatever was there in .htaccess file. Now website is working locally, however administrator is not working.
I followed the answer of same question, however it is not working.
Can anyone point, where I am going wrong? I need this to be done anyhow.
Edit 1
Below is what I have in apache_error.log
[Thu Nov 29 10:22:34 2012] [notice] Digest: generating secret for digest authentication ...
[Thu Nov 29 10:22:34 2012] [notice] Digest: done
[Thu Nov 29 10:22:34 2012] [notice] Apache/2.2.21 (Unix) mod_ssl/2.2.21 OpenSSL/0.9.8r DAV/2 PHP/5.3.6 configured -- resuming normal operations
[Thu Nov 29 10:23:29 2012] [error] [client ::1] (2)No such file or directory: Could not open password file: /home5/smartkwc/public_html/administrator/.htpasswd
[Thu Nov 29 11:02:33 2012] [error] [client ::1] (2)No such file or directory: Could not open password file: /home5/smartkwc/public_html/administrator/.htpasswd
[Thu Nov 29 11:03:28 2012] [error] [client ::1] (2)No such file or directory: Could not open password file: /home5/smartkwc/public_html/administrator/.htpasswd
I solved the problem!!!
Earlier I had removed content of .htaccess from root folder only. Now when I removed everything from .htaccess from administrator folder, all is working perfectly. :) :) :)
Yipeee!!!