(lastest fcgid module)
OS: Windows Xp prof SP3
I place file mod_fcgid.so in directory (modules)
// Httpd.conf
LoadModule fcgid_module modules/mod_fcgid.so
But. When i try run http (from cmd - for test purpose)
I get error:
httpd: Syntax error on line 515 of C:/Core/Apache24/conf/httpd.conf: Cannot load
C:/Core/Apache24/modules/mod_fcgid.so into server: Nie mo\xbfna odnale\x9f\xe6
okre\x9clonego modu\xb3u.
Path is correct. So what is bad?
This link may help. Here's an example of correct syntax:
IfDefine FCGI
LoadModule fcgid_module modules/mod_fcgid.so
IfDefine
Kindly visit https://www.apachelounge.com/download/
Download zip folder named mod_fcgid
Copy&Paste mod_fcgid.so file in your apache modules folder
Remember to load in your httd.conf file => LoadModule fcgid_module modules/mod_fcgid.so
Related
We have an older ubuntu 14 server that is currently working and has apache2 running on and I'm attempting to install an open idc module to get SSO working at our company. I know...Ubuntu 14 is old, but that's a whole other can of worms...
When I run
apachectl -M
It successfully shows auth_openidc_module (shared)
I also verified that ‘auth_openidc.conf’ is in my /etc/apache2/mods-enabled directory
However when I add
in my apache2.conf :
LoadModule auth_openidc_module module/mod_auth_openidc.so
include mods-enabled/auth_openidc.conf
<Location / >
AuthType openid-connect
Require valid-user
</Location>
and perform a 'apachectl -M' command I get the following error.
'Syntax error on line 57 of /etc/apache2/apache2.conf: Cannot load module/mod_auth_openidc.so into server: /etc/apache2/module/mod_auth_openidc.so: cannot open shared object file: No such file or directory
Action '-M' failed.'
Another point of confusion, I don't see any directory named 'auth_openidc_module' or any .so file anywhere within Apache. I have seen some posts that the .so files might be in '/usr/lib64/httpd/modules' but my lib64 directory is blank...
I'm a newbie to all of this...what am I missing?
So I don't have it working successfully yet, but I did get the error 'can't find' error fixed. The directory for modules on our server was '/usr/lib/apache2/modules/' NOT '/usr/lib64/httpd/modules'
I'm trying to add some semblance of security for my website. I've been following this: https://www.tecmint.com/apache-security-tips/ and they want me to edit the httpd file but it doesn't exist in my server. I started doing some more research and I found this https://help.ubuntu.com/lts/serverguide/httpd.html which says it doesn't exist and "all configuration options have been moved to the below referenced directories". So I would appreciate it if someone could tell me which files to add those options to! Also should I edit the apache2.conf file?
Edit: I'm using ubuntu 18.04 LTS
the Main Configuration file for RHEL/CentOS/Fedora is: /etc/httpd/conf/httpd.conf
and for Debian/Ubuntu is: /etc/apache2/apache2.conf.
as you are using ubuntu os so you should edit /etc/apache2/apache2.conf.
for more information and the history about apache2.conf and httpd.conf , as mentioned within ubuntu doc Ubuntu 18.04 Apache2 Web Server Guide:
httpd.conf: historically the main Apache2 configuration file, named
after the httpd daemon. Now the file does not exist. In older versions
of Ubuntu, the file might be present, but empty, as all configuration
options have been moved to the below-referenced directories.
Hey I had installed xampp on windows xampp control panel 3.2.1 and I am getting this error :
Fatal error: You must enable the intl extension to use CakePHP. in G:\xampp\htdocs\hw\config\bootstrap.php on line 38
I had changed httpd.conf and uncomment this line
LoadModule rewrite_module libexec/apache2/mod_rewrite.so
and change directory attributes :
<Directory />
Options FollowSymLinks
AllowOverride All
Order deny,allow
Deny from all
</Directory>
to this and restarted the apache and I am still getting this message Fatal error:
You must enable the intl extension to use CakePHP. in G:\xampp\htdocs\hw\config\bootstrap.php on line 38
If you have already Change ;extension=php_intl.dll to extension=php_intl.dll (remove the semicolon) in php.ini
Still same error comes.
In both XAMPP and WAMP, mcrypt and mbstring extensions are working by default.
In XAMPP, intl extension is included but you have to uncomment extension=php_intl.dll in php.ini and restart the server through the XAMPP Control Panel.
In WAMP, the intl extension is “activated” by default but not working. To make it work you have to go to php folder (by default) C:\wamp\bin\php\php{version}, copy all the files that looks like icu*.dll and paste them into the apache bin directory C:\wamp\bin\apache\apache{version}\bin. Then restart all services and it should be OK.
You may get the correct ans here :
In both XAMPP and WAMP, mcrypt and mbstring extensions are working by default.
In XAMPP, intl extension is included but in the php.ini you have to uncomment:
extension=php_intl.dll
and restart the server through the XAMPP Control Panel.
In WAMP, the intl extension is “activated” by default but not working. To make it work you have to go to the php folder (by default):
C:\wamp\bin\php\php{version}
copy all the files that looks like icu*.dll and paste them into the apache bin directory
C:\wamp\bin\apache\apache{version}\bin.
Then restart all services and it should be OK.
Hi I am trying to stream video from static html5 pages serve by Windows Apache2. According to Apache guide on http://h264.code-shop.com/trac/wiki/Mod-H264-Streaming-Apache-Version2
this only for Linux, so I get the mod_h264_streaming.dll from http://h264.code-shop.com/trac/wiki/Mod-H264-Streaming-Internet-Information-Services-IIS7-Version2 but when I LoadModule h264_streaming_module modules/mod_h264_streaming.dll in httpd.conf it return
httpd.exe: Syntax error on line 129 of C:/Program Files (x86)/Apache Software Fo
undation/Apache2.2/conf/httpd.conf: Can't locate API module structure `h264_stre
aming_module' in file C:/Program Files (x86)/Apache Software Foundation/Apache2.
2/modules/mod_h264_streaming.dll: No error
Any help would be appreciated, thanks in advanced!
That dll you downloaded is only for IIS not apache
Step by Step
1- At first Download Visual Studio 2008 x64 SP1, be sure to install the Visual C++ 2008 x64 SP1 Redistributable Package
it can be downloaded from;
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=BA9257CA-337F-4B40-8C14-157CFDFFEE4E
2- Download Apache module mod_h264_streaming from ; https://www.apachehaus.net/modules/mod_h264_streaming/ in the below.Before download Please careful about your apache version.consider it.
3- Extrach files , copy "mod_h264_streaming.so"
3- If you are using Wamp server go the C:\wamp\bin\apache\Apache2.4.4\modules and drop(add,copy what ever you say) mod_h264_streaming file to the path. If you are not using wamp go to C:/Apache24/modules/ and add mod_h264_streaming.
4- Then Go to httpd.conf (in the C:\wamp\bin\apache\Apache2.4.4\conf path) , open with notepad++ find load modules line
just like ;
LoadModule auth_basic_module modules/mod_auth_basic.so // opened module
#LoadModule auth_digest_module modules/mod_auth_digest.so // closed module
#LoadModule authn_anon_module modules/mod_authn_anon.so
When you find the lines add this ;
LoadModule h264_streaming_module modules/mod_h264_streaming.so
save and quit. Finally restart the apache server. Module is ready to serve you.
I am trying to load mod_mem_cache.so in SUSE Linux Enterprise Server 11, by doing
LoadModule memcache /path/to/mem_cache.so.
But I got this:
httpd2: Syntax error on line 113 of /etc/apache2/httpd.conf: Syntax error on line 43 of /etc/apache2/sysconfig.d/loadmodule.conf: Can't locate API module structure `memcache' in file /usr/lib/php5/extensions/memcache.so: /usr/lib/php5/extensions/memcache.so: undefined symbol: memcache
This memcached is installed using Zypper, through our repository.
How can I fix this?
Memcache is not a Apache extension, it is a PHP one. You will need to edit your PHP configuration to include the line:
extension memcache.so
From the looks of that error message, the extension is already in the default extensions directory, but if not, alter the extension_dir setting to read:
extension_dir = "/usr/lib/php5/extensions"
Then restart Apache, and check your PHPinfo.