Compiling Apache Module Error
Jan 28, 2007
I have recently installed the latest version of apache which is version 2.2.4 and it seems many modules were left out so I decided to add one of my favorite modules myself
I have DirectAdmin install so here is what I did
I edited this file: configure.apache_2
and at the end of the file added --enable-expires
After adding normally we would recompile apache I was doing that and I got this error
Code:
/usr/local/directadmin/customapache/configure.apache_2: line 24: --enable-expires: command not found
*** There was an error while trying to configure Apache 2. Check the configure.apache_2 file
Not sure what I'm doing wrong if someone could help me I would be greatful.
View 2 Replies
ADVERTISEMENT
Feb 7, 2013
I tried to compile apache in cygwin windows 7 home basic x64
running ./configure fine then
make
full of errors
Code :
Basel@Basel-PC /cygdrive/c/apachescr/httpd-2.4.3$ makeMaking all in srclibmake[1]: Entering directory `/cygdrive/c/apachescr/httpd-2.4.3/srclib'Making all in aprmake[2]: Entering directory `/cygdrive/c/apachescr/httpd-2.4.3/srclib/apr'make[3]: Entering directory `/cygdrive/c/apachescr/httpd-2.4.3/srclib/apr'/bin/sh /cygdrive/c/apachescr/httpd-2.4.3/srclib/apr/libtool --silent --mode=compile gcc -g -O2 -DHAVE_CONFIG_H -DCYGWIN -I./include -I/cygdrive/c/apachescr/httpd-2.4.3/srclib/apr/include/arch/unix -I.
[Code] ....
View 1 Replies
View Related
May 1, 2013
How to compile ... I used this steps
cd "to apache folder"
perl srclibaprbuildlineends.pl
perl srclibaprbuildcvtdsp.pl -2005
devenv "Apache.dsw" /upgrade
View 1 Replies
View Related
Apr 13, 2008
I am experiencing this problem right now. None of my website is running. But httpd status says running. What's wrong?
[root@cent cron]# apachectl restart
[Mon Apr 13 20:10:11 2008] [warn] module php5_module is already loaded, skipping
[root@cent cron]# service httpd restart
Stopping httpd: [ OK ]
Starting httpd: [Mon Apr 13 20:10:55 2008] [warn] module php5_module is already loaded, skipping
[root@cent cron]# service httpd status
httpd (pid 24100 24099 24098 24097 24096 24094) is running...
View 13 Replies
View Related
Mar 21, 2008
I recently tried upgrading my test VPS to run PHP 6.0, and it worked.
However I wasn't able to get MySQL to compile with PHP.
Hence I just reinstalled MySQL and tried recompiling PHP (from source) again. However I still get errors when compiling PHP:
checking for MySQL support... yes
checking for specified location of the MySQL UNIX socket... no
checking for MySQL UNIX socket location... /var/tmp/mysql.sock
configure: error: Cannot find libmysqlclient under /usr/local.
Note that the MySQL client library is not bundled anymore!
No matter what ./configure command I run, I can't seem to get this working. For example, the PHP INSTALL documentation (comes with the source files) actually says running:
./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql
Will work fine. However it doesn't. I've also tried specifying the MySQL directory, to no success.
Just as some extra information, libmysqlclient is at:
-bash-3.00# find /usr -name libmysqlclient*
/usr/lib/libmysqlclient.so.6
/usr/lib64/libmysqlclient.so
/usr/lib64/libmysqlclient.so.14
/usr/lib64/libmysqlclient_r.so
/usr/lib64/mysql/libmysqlclient.a
/usr/lib64/mysql/libmysqlclient.la
/usr/lib64/mysql/libmysqlclient_r.a
/usr/lib64/mysql/libmysqlclient_r.la
/usr/lib64/mysql/libmysqlclient.so
/usr/lib64/mysql/libmysqlclient_r.so
/usr/lib64/libmysqlclient.so.15
/usr/lib64/libmysqlclient.so.15.0.0
/usr/lib64/libmysqlclient_r.so.15
/usr/lib64/libmysqlclient_r.so.15.0.0
/usr/local/lib64/libmysqlclient.so.14
/usr/local/cpanel/lib64/libmysqlclient.so.14
However specifying the MySQL directories as "/usr/lib64, /usr/bin, /usr/lib64/mysql, /usr/local/lib64 or /usr/lib" doesn't seem to work.
The complete configure command I've tried running is: "./configure --with-apxs2=/usr/local/apache/bin/apxs --prefix=/usr/local/ --with-icu-dir=/usr/local/icu --with-pspell --with-mysql"
View 6 Replies
View Related
Jul 6, 2007
Compiling mod_perl 1.30 on x64 CentOS4.5 gives an error when make:
(cd ./apaci && PERL5LIB=/home/.cpan/build/mod_perl-1.30-bUyCBp/lib: make)
make[1]: Entering directory `/home/.cpan/build/mod_perl-1.30-bUyCBp/apaci'
cc -fpic -O2 -I/usr/lib/perl5/5.8.8/x86_64-linux/CORE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -I/usr/include/gdbm -DMOD_PERL_VERSION="1.30" -DMOD_PERL_STRING_VERSION="mod_perl/1.30" -I/usr/local/apache/include -DMOD_PERL -DLINUX=22 -DHAVE_SET_DUMPABLE -I/usr/include/gdbm -DMOD_SSL=208128 -DUSE_HSREGEX -DEAPI -c mod_perl.c && mv mod_perl.o mod_perl.lo
/usr/bin/perl -MExtUtils::Embed -e xsinit -- -o perlxsi.c -std Apache Apache::Constants Apache::ModuleConfig Apache::Log Apache::URI Apache::Util Apache::Connection Apache:erver Apache::File Apache::Table
cc -fpic -O2 -I/usr/lib/perl5/5.8.8/x86_64-linux/CORE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -I/usr/include/gdbm -DMOD_PERL_VERSION="1.30" -DMOD_PERL_STRING_VERSION="mod_perl/1.30" -I/usr/local/apache/include -DMOD_PERL -DLINUX=22 -DHAVE_SET_DUMPABLE -I/usr/include/gdbm -DMOD_SSL=208128 -DUSE_HSREGEX -DEAPI -c perlxsi.c && mv perlxsi.o perlxsi.lo
cc -fpic -O2 -I/usr/lib/perl5/5.8.8/x86_64-linux/CORE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -I/usr/include/gdbm -DMOD_PERL_VERSION="1.30" -DMOD_PERL_STRING_VERSION="mod_perl/1.30" -I/usr/local/apache/include -DMOD_PERL -DLINUX=22 -DHAVE_SET_DUMPABLE -I/usr/include/gdbm -DMOD_SSL=208128 -DUSE_HSREGEX -DEAPI -c perl_config.c && mv perl_config.o perl_config.lo
cc -fpic -O2 -I/usr/lib/perl5/5.8.8/x86_64-linux/CORE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -I/usr/include/gdbm -DMOD_PERL_VERSION="1.30" -DMOD_PERL_STRING_VERSION="mod_perl/1.30" -I/usr/local/apache/include -DMOD_PERL -DLINUX=22 -DHAVE_SET_DUMPABLE -I/usr/include/gdbm -DMOD_SSL=208128 -DUSE_HSREGEX -DEAPI -c perl_util.c && mv perl_util.o perl_util.lo
cc -fpic -O2 -I/usr/lib/perl5/5.8.8/x86_64-linux/CORE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -I/usr/include/gdbm -DMOD_PERL_VERSION="1.30" -DMOD_PERL_STRING_VERSION="mod_perl/1.30" -I/usr/local/apache/include -DMOD_PERL -DLINUX=22 -DHAVE_SET_DUMPABLE -I/usr/include/gdbm -DMOD_SSL=208128 -DUSE_HSREGEX -DEAPI -c perlio.c && mv perlio.o perlio.lo
cc -fpic -O2 -I/usr/lib/perl5/5.8.8/x86_64-linux/CORE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -I/usr/include/gdbm -DMOD_PERL_VERSION="1.30" -DMOD_PERL_STRING_VERSION="mod_perl/1.30" -I/usr/local/apache/include -DMOD_PERL -DLINUX=22 -DHAVE_SET_DUMPABLE -I/usr/include/gdbm -DMOD_SSL=208128 -DUSE_HSREGEX -DEAPI -c mod_perl_opmask.c && mv mod_perl_opmask.o mod_perl_opmask.lo
/usr/bin/perl /usr/lib/perl5/5.8.8/ExtUtils/xsubpp -nolinenumbers -typemap /usr/lib/perl5/5.8.8/ExtUtils/typemap Apache.xs >Apache.c
cc -fpic -O2 -I/usr/lib/perl5/5.8.8/x86_64-linux/CORE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -I/usr/include/gdbm -DMOD_PERL_VERSION="1.30" -DMOD_PERL_STRING_VERSION="mod_perl/1.30" -I/usr/local/apache/include -DMOD_PERL -DLINUX=22 -DHAVE_SET_DUMPABLE -I/usr/include/gdbm -DMOD_SSL=208128 -DUSE_HSREGEX -DEAPI -c Apache.c && mv Apache.o Apache.lo
/usr/bin/perl /usr/lib/perl5/5.8.8/ExtUtils/xsubpp -nolinenumbers -typemap /usr/lib/perl5/5.8.8/ExtUtils/typemap Constants.xs >Constants.c
cc -fpic -O2 -I/usr/lib/perl5/5.8.8/x86_64-linux/CORE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -I/usr/include/gdbm -DMOD_PERL_VERSION="1.30" -DMOD_PERL_STRING_VERSION="mod_perl/1.30" -I/usr/local/apache/include -DMOD_PERL -DLINUX=22 -DHAVE_SET_DUMPABLE -I/usr/include/gdbm -DMOD_SSL=208128 -DUSE_HSREGEX -DEAPI -c Constants.c && mv Constants.o Constants.lo
/usr/bin/perl /usr/lib/perl5/5.8.8/ExtUtils/xsubpp -nolinenumbers -typemap /usr/lib/perl5/5.8.8/ExtUtils/typemap ModuleConfig.xs >ModuleConfig.c
cc -fpic -O2 -I/usr/lib/perl5/5.8.8/x86_64-linux/CORE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -I/usr/include/gdbm -DMOD_PERL_VERSION="1.30" -DMOD_PERL_STRING_VERSION="mod_perl/1.30" -I/usr/local/apache/include -DMOD_PERL -DLINUX=22 -DHAVE_SET_DUMPABLE -I/usr/include/gdbm -DMOD_SSL=208128 -DUSE_HSREGEX -DEAPI -c ModuleConfig.c && mv ModuleConfig.o ModuleConfig.lo
/usr/bin/perl /usr/lib/perl5/5.8.8/ExtUtils/xsubpp -nolinenumbers -typemap /usr/lib/perl5/5.8.8/ExtUtils/typemap Log.xs >Log.c
cc -fpic -O2 -I/usr/lib/perl5/5.8.8/x86_64-linux/CORE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -I/usr/include/gdbm -DMOD_PERL_VERSION="1.30" -DMOD_PERL_STRING_VERSION="mod_perl/1.30" -I/usr/local/apache/include -DMOD_PERL -DLINUX=22 -DHAVE_SET_DUMPABLE -I/usr/include/gdbm -DMOD_SSL=208128 -DUSE_HSREGEX -DEAPI -c Log.c && mv Log.o Log.lo
/usr/bin/perl /usr/lib/perl5/5.8.8/ExtUtils/xsubpp -nolinenumbers -typemap /usr/lib/perl5/5.8.8/ExtUtils/typemap URI.xs >URI.c
cc -fpic -O2 -I/usr/lib/perl5/5.8.8/x86_64-linux/CORE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -I/usr/include/gdbm -DMOD_PERL_VERSION="1.30" -DMOD_PERL_STRING_VERSION="mod_perl/1.30" -I/usr/local/apache/include -DMOD_PERL -DLINUX=22 -DHAVE_SET_DUMPABLE -I/usr/include/gdbm -DMOD_SSL=208128 -DUSE_HSREGEX -DEAPI -c URI.c && mv URI.o URI.lo
/usr/bin/perl /usr/lib/perl5/5.8.8/ExtUtils/xsubpp -nolinenumbers -typemap /usr/lib/perl5/5.8.8/ExtUtils/typemap Util.xs >Util.c
cc -fpic -O2 -I/usr/lib/perl5/5.8.8/x86_64-linux/CORE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -I/usr/include/gdbm -DMOD_PERL_VERSION="1.30" -DMOD_PERL_STRING_VERSION="mod_perl/1.30" -I/usr/local/apache/include -DMOD_PERL -DLINUX=22 -DHAVE_SET_DUMPABLE -I/usr/include/gdbm -DMOD_SSL=208128 -DUSE_HSREGEX -DEAPI -c Util.c && mv Util.o Util.lo
/usr/bin/perl /usr/lib/perl5/5.8.8/ExtUtils/xsubpp -nolinenumbers -typemap /usr/lib/perl5/5.8.8/ExtUtils/typemap Connection.xs >Connection.c
cc -fpic -O2 -I/usr/lib/perl5/5.8.8/x86_64-linux/CORE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -I/usr/include/gdbm -DMOD_PERL_VERSION="1.30" -DMOD_PERL_STRING_VERSION="mod_perl/1.30" -I/usr/local/apache/include -DMOD_PERL -DLINUX=22 -DHAVE_SET_DUMPABLE -I/usr/include/gdbm -DMOD_SSL=208128 -DUSE_HSREGEX -DEAPI -c Connection.c && mv Connection.o Connection.lo
/usr/bin/perl /usr/lib/perl5/5.8.8/ExtUtils/xsubpp -nolinenumbers -typemap /usr/lib/perl5/5.8.8/ExtUtils/typemap Server.xs >Server.c
cc -fpic -O2 -I/usr/lib/perl5/5.8.8/x86_64-linux/CORE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -I/usr/include/gdbm -DMOD_PERL_VERSION="1.30" -DMOD_PERL_STRING_VERSION="mod_perl/1.30" -I/usr/local/apache/include -DMOD_PERL -DLINUX=22 -DHAVE_SET_DUMPABLE -I/usr/include/gdbm -DMOD_SSL=208128 -DUSE_HSREGEX -DEAPI -c Server.c && mv Server.o Server.lo
/usr/bin/perl /usr/lib/perl5/5.8.8/ExtUtils/xsubpp -nolinenumbers -typemap /usr/lib/perl5/5.8.8/ExtUtils/typemap File.xs >File.c
cc -fpic -O2 -I/usr/lib/perl5/5.8.8/x86_64-linux/CORE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -I/usr/include/gdbm -DMOD_PERL_VERSION="1.30" -DMOD_PERL_STRING_VERSION="mod_perl/1.30" -I/usr/local/apache/include -DMOD_PERL -DLINUX=22 -DHAVE_SET_DUMPABLE -I/usr/include/gdbm -DMOD_SSL=208128 -DUSE_HSREGEX -DEAPI -c File.c && mv File.o File.lo
/usr/bin/perl /usr/lib/perl5/5.8.8/ExtUtils/xsubpp -nolinenumbers -typemap /usr/lib/perl5/5.8.8/ExtUtils/typemap Table.xs >Table.c
cc -fpic -O2 -I/usr/lib/perl5/5.8.8/x86_64-linux/CORE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -I/usr/include/gdbm -DMOD_PERL_VERSION="1.30" -DMOD_PERL_STRING_VERSION="mod_perl/1.30" -I/usr/local/apache/include -DMOD_PERL -DLINUX=22 -DHAVE_SET_DUMPABLE -I/usr/include/gdbm -DMOD_SSL=208128 -DUSE_HSREGEX -DEAPI -c Table.c && mv Table.o Table.lo
rm -f libperl.so
cc -shared -L/usr/local/lib -o libperl.so mod_perl.lo perlxsi.lo perl_config.lo perl_util.lo perlio.lo mod_perl_opmask.lo Apache.lo Constants.lo ModuleConfig.lo Log.lo URI.lo Util.lo Connection.lo Server.lo File.lo Table.lo -Wl,-E -L/usr/local/lib /usr/lib/perl5/5.8.8/x86_64-linux/auto/DynaLoader/DynaLoader.a -L/usr/lib/perl5/5.8.8/x86_64-linux/CORE -lperl -lnsl -ldl -lm -lcrypt -lutil -lc
/usr/bin/ld: /usr/lib/perl5/5.8.8/x86_64-linux/auto/DynaLoader/DynaLoader.a(DynaLoader.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/usr/lib/perl5/5.8.8/x86_64-linux/auto/DynaLoader/DynaLoader.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[1]: *** [libperl.so] Error 1
make[1]: Leaving directory `/home/.cpan/build/mod_perl-1.30-bUyCBp/apaci'
make: *** [apxs_libperl] Error 2
View 2 Replies
View Related
Feb 9, 2007
I'm wondering if there are special notes on compiling sever softwares under x86_64 (CentOS 4.4 64bit, Pentium D)? Are there any specific flags for extra optimizations? Or the regular "./configure" will compile things in x86_64 by default?
View 2 Replies
View Related
Nov 20, 2007
What are the advantages/disadvantages of running PHP as Apache module vs. running PHP as CGI module on your server?
View 5 Replies
View Related
May 20, 2009
I just try to restart csf in my Centos server with Direct Admin and i got this error:
Quote:
*WARNING* Since the Virtuozzo VPS iptables ip_conntrack_ftp kernel module is currently broken you have to open a PASV port hole in iptables for incoming FTP connections to work correctly. See the csf readme.txt under 'A note about FTP Connection Issues' on how to do this if you have not already done so.
I think i don't have that module at all or not?
How can i add it?
View 7 Replies
View Related
Mar 25, 2009
Code:
root@host [~]# yum
Traceback (most recent call last):
File "/usr/bin/yum", line 4, in ?
import yum
File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 42, in ?
import config
File "/usr/lib/python2.4/site-packages/yum/config.py", line 27, in ?
from parser import ConfigPreProcessor
File "/usr/lib/python2.4/site-packages/yum/parser.py", line 3, in ?
import urlgrabber
File "/usr/lib/python2.4/site-packages/urlgrabber/__init__.py", line 53, in ?
from grabber import urlgrab, urlopen, urlread
File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 406, in ?
import keepalive
File "/usr/lib/python2.4/site-packages/urlgrabber/keepalive.py", line 339, in ?
class HTTPSHandler(KeepAliveHandler, urllib2.HTTPSHandler):
AttributeError: 'module' object has no attribute 'HTTPSHandler'
I've tried RPM installs, downloading and configuring...
View 11 Replies
View Related
Jul 4, 2007
I would like to know is there any module for Apache which can collect information like who is surfing our website and how many pages they have accessed in last one hour. I know awstats or webalizer can do this but i need some thing realtime on apache level.
View 4 Replies
View Related
Mar 12, 2015
I found a script that updated php to 5.5, however it's only enabling me to run it as a CGI script, if I want to run PHP an Apache module, it's still only 5.3. How can I upgrade the Apache version?
View 3 Replies
View Related
Mar 8, 2007
What wil be the best way to protect an Apache server from a DDoS attack? Is there an Apache module for this type of problem?
View 14 Replies
View Related
Jan 22, 2007
I have a server running Apache 2 with PHP as an Apache module. There are a few php scripts that use lots of cpu when they run and have lots of hits, but Apache is still running fine and pages and php scripts load pretty fast. I was just wondering if running PHP as fastcgi would use less cpu or make php scripts load faster.
View 0 Replies
View Related
Aug 18, 2014
Running task: C:ParallelsPleskadmininphp.exe -c "C:ParallelsPleskadminconfphp.ini" -dauto_prepend_file=sdk.php "C:ParallelsPleskadminplibmodulesservershieldscriptsaggregate-stats.php"
Result: ERROR - Module context is not defined
View 3 Replies
View Related
Aug 7, 2014
I am receiving below email everyday ....
Subject : Cron <aioftp@main> /usr/bin/php -q /var/www/vhosts/domain.com/subdomains/somedir/httpdocs/dir/cron.php
Failed loading /usr/lib64/php/modules/ioncube_loader_lin_5.4.so: /usr/lib64/php/modules/ioncube_loader_lin_5.4.so: cannot open shared object file: No such file or directory
PHP Warning: Module 'soap' already loaded in Unknown on line 0
PHP Warning: PHP Startup: XCache: Unable to initialize module
Module compiled with module API=20090626
PHP compiled with module API=20100525
These options need to match
in Unknown on line 0
View 1 Replies
View Related
Jan 19, 2008
i have a dedicated server that i use for stream flv files. In this server i have apache.
Do you know any apache solution for prevent streaming of flv files to others domain name ? I want to stop leeching and permit stream of files only for my domain name. The htaccess solution in my case don't works...
View 3 Replies
View Related
Mar 22, 2015
I have some questions about the LDAP authentication module.I have a LDAP authentication with this config:
<AuthnProviderAlias ldap ldap-account>
AuthLDAPBindDN "CN=directory search,OU=Service-User,DC=company,DC=ch"
AuthLDAPBindPassword "xxxxx"
AuthLDAPURL "ldap://ldap.company.ch/ou=Users,dc=company,dc=ch?sAMAccountName?sub?(objectClass=*)"
</AuthnProviderAlias>
If a User logs in with username only, all works correct. If a user use the DomainUsername format, the login is rejected with "user not found".Should it not work with both login styles ? Or is there a option to reformat or rewrite the username before authentication without the "Domain part ?
View 1 Replies
View Related
Apr 7, 2015
I am trying to migrate a VPS with:
- Plesk 12 (v12.0.18 Update #40) and
- Linux CentOS 6.6 (v2.6.32-504.12.2.el6.x86_64)
to another VPS with:
- Plesk 12 (v12.0.18_build1200140606.15) and
- Linux CentOS 6.6 (v2.6.32-504.12.2.el6.x86_64)
I tried to do the following:
- Tools & Settings / Tools & Resources / Migration & Transfer Manager / Start New Migration
- Data source: Transfer data from another server
- Transfer the following data / Migrate the whole server
Following error/warrning message is recieved then:The following Apache modules are disabled on the destination server: sysenv. Please enable these modules to prevent possible problems.
View 2 Replies
View Related
Mar 10, 2008
I have been a web developer using PHP for years now, and my work laptop runs CentOS with PHP5 as an Apache Module. This suits me just fine for development, but now I want to setup a web server that runs PHP 4.4.8 and PHP 5.2.5 and offer hosting to people. I know PHP4 is very old, but I am looking to offer my users the freedom of choice, as there are still third party applications out there that may need to be run on PHP4.
I will want PHP 5 to be the default, and allow PHP 4 to be used if either the file extension is .php4, or they have a line in their .htaccess file. I have seen various tutorials in search engine results saying to run both, I can either do one of the following:
1. Install PHP5 as a module, and run PHP4 using FastCGI
2. Install PHP5 and PHP4 and run both using FastCGI
3. Install PHP4 as a module, and run PHP5 using FastCGI
In the future I will also be looking to support PHP6 once a stable version has been released, though that will probably be optional to begin with and require a line in the .htaccess file too - like PHP4. I will be using Apache 2.2.8 on CentOS 5.1. I am also looking to install Ruby on Rails and Django too, which I think use FastCGI.
What's the difference between running as an Apache Module, or using FastCGI? This will be for a shared hosting environment so performance over lots of connections, stability and security are my concerns. Should I run everything using FastCGI, if not, would the default PHP version be better off installed as an Apache Module?
View 5 Replies
View Related
May 26, 2013
How to be able to fix my problem that is related to the https using apache2 (enabling https in apache2) at opensuse:
By the way, my opensuse version is:
openSUSE 12.1 (x86_64)
VERSION = 12.1
CODENAME = Asparagus
1) At the /etc/apache2/vhosts.d/vhost-ssl.conf, and if I do not have a name (as the server will be accessed using its IP address), can I place in the ServerName 192.168.0.5? Do I have to place it 192.168.0.5:443 or it is enough to be 192.168.0.5?
2) Is there a relation between the SSLCipherSuite values and the used method to generate the certificate?
3) I am afraid from the way that I am using to generate the certificate and the ssl module that is coming with apache2 at my machine which has opensuse. How can I select the right way?
Actually I used following commands to generate the .crt, .key and the .csr:
openssl genrsa -des3
openssl req -new -x509
openssl x509 -req
And that was from this link: [URL] .... But did not work with me !
Meanwhile I am placing:
SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
4) Do I have to configure the virualhost? Do I have to create files under the directory /etc/apache2/vhosts.d? Because I will have one application to be browsed .. nothing more.
View 2 Replies
View Related
Jun 1, 2014
Is there a possibility to enable php-fpm serverwide and to disable running php as apache on the server?
This for both existing subscriptions as for new subscriptions ?
View 6 Replies
View Related
Feb 26, 2008
to install mod_evasive module on our Apache2 that runs on Fedora server. However, for that we need Apache's apxs to compile it. We found out that we can do that by running the
yum install httpd-devel
However, when we run that, we get the following:
=============================================================================
Package Arch Version Repository Size
=============================================================================
Installing:
httpd-devel i386 2.2.8-1.fc7 updates 144 k
Updating:
httpd i386 2.2.8-1.fc7 updates 1.0 M
openldap i386 2.3.34-7.fc7 updates 291 k
Installing for dependencies:
apr-devel i386 1.2.8-6 fedora 170 k
apr-util-devel i386 1.2.10-1.fc7 updates 54 k
cyrus-sasl-devel i386 2.1.22-8.fc7 updates 351 k
db4-devel i386 4.5.20-5.fc7 fedora 2.3 M
expat-devel i386 1.95.8-9 fedora 129 k
openldap-devel i386 2.3.34-7.fc7 updates 1.5 M
Updating for dependencies:
httpd-manual i386 2.2.8-1.fc7 updates 821 k
mod_ssl i386 1:2.2.8-1.fc7 updates 85 k
openldap-clients i386 2.3.34-7.fc7 updates 179 k
Transaction Summary
==========================================
Install 7 Package(s)
Update 5 Package(s)
Remove 0 Package(s)
Total download size: 7.0 M
We're kind of cautios, because we have never updated Apache on our live server. We'd prefer if we could download and install just the httpd-devel module. Is this possible?
If not, would this mess up any of our existing configuration? Could we expect any problems? And do we need to shut Apache down, then run the updates and only then restart it?
View 5 Replies
View Related
Jul 17, 2015
Hosting Settings
There is no php support - so i can´t change or choose running as apache module or cgi application (s. screenshot)...
OS Ubuntu 12.04.5 LTS
Panel version 11.5.30 Update #50, last updated at July 17, 2015 03:46 AM
View 4 Replies
View Related
Jun 19, 2009
I have windows 2008 server with plesk 9.2 and whmcs installed, it worked well for 10-15 days but now when ever i click on create account module it just gives me "INTERNAL SERVER ERROR 500" i contact whmcs and they replied the following
------------------------------------------
I am getting an internal server error - this is being returned from your Plesk server. you should check the server error logs for the issue,
Regards,
Andrew
----------------------------------------------------
but i checked every thing looks fine example time out etc what can be the real problem? please help
View 1 Replies
View Related
Oct 10, 2012
- Apache version : 2.2.21
- operating system : MAC OS Lion Server
- mod_ssl : 2.2.21
I have a certain area on a homepage which is protected by an .htaccess file. The code of the .htaccess file is the following:
Code:
AuthType Digest
AuthName "Password Required"
Options +Indexes
# code for HTTPS
RewriteEngine On
RewriteCond
%{SERVER_PORT} !^443$
RewriteRule (.*) https://%{SERVER_NAME}%{REQUEST_URI}
Require valid-user
Usually everything has been working fine with this .htaccess-file until today. There hasn't been any change on the system.
If you click on the hyperlink to the restricted area the login window appears where you need to type in your username and a password. After typing in these data the following message appears in the browser:
500 Internal Server Error
The server encountered an internal error or
misconfigruation and was unable to complete your request. (…)
The apache error log file contains the following message:
Request exceeded the limit of 10 sub request nesting levels due to probable configuration error.
Use 'LimitInternalRecursion' to increase the limit if necessary.
Use 'LogLevel debug' to get a backtrace.
The increase of the LimitInternalRecursion does not solve the problem. So I switched the LogLevel in the httpd.conf file from warn to debug and looked again on the entries of the error log.
The following appeared (I have replaced ip addresses, usernames and URL by xyz or <URL>) :
Code:
[error] [client xyz]
mod_digest_apple: Client is using a nonce not issued by this server for this context:/rb/Vorlesung/WS12/Downloads/, referer:
http:<URL>
[Code] ....
View 3 Replies
View Related
Aug 7, 2007
I was recently faced with a problem, i had to install some extensions which were not included by default with php (libcurl being one of them). I didn't have a clue what to do, but because my dedicated server is running debian, i had to force myself to learn.
Anyway, back to the point. I already have php5 running (but it needs to be re-compiled) and i have downloaded libcurl. I used apt-get install php5-curl and that took care of it. The questions are:
To recompile do i need to remove the old installation of PHP before compiling it again to add the extensions?
Do i need enable the extensions like mysql and stuff or do they install as default if not specified, im guessing i would need to specify everything?
Im used to downloading a pre compiled package, running the installer and away we go, actually its MAMP on OSX. I remember in windows you could just add the extension in the .ini i later learned in OSX and Linux its not as easy.
View 0 Replies
View Related
Apr 7, 2009
Is this the correct setup?
'--host=i686-redhat-linux' '--build=i686-redhat-linux' '--target=i686-redhat-linux-gnu'
View 3 Replies
View Related