Programming :: Install PHP Which Is Run As An Apache Module Or Run As CGI On Detain
Aug 12, 2010how to install PHP which is run as an Apache module or run as CGI on detain.
View 3 Replieshow to install PHP which is run as an Apache module or run as CGI on detain.
View 3 RepliesJust followed the link [URL] for installing apache with --enable-so only. How can I install mod_proxy into the same?
View 2 Replies View RelatedI'm trying to enable the rewrite module in apache, to enabled the module I followed the last entry in the fist page this thread:[URL]...When I restart the apache all works fine, so I supose it's enabled
Now I create .htaccess in my apache folder (/home/user/apache), and I write this:
Code:
RewriteEngine On
RewriteRule ^link([^/]*).html$ test.php?link=$1 [L]
And I try to execute this: ./.htaccess, I have this mistakes:
Code:
./.htaccess: 1: RewriteEngine: not found
./.htaccess: 2: Syntax error: "(" unexpected
What are I doing wrong?
I compiled a fresh install of httpd on a new linux box, added a virtual hosts entry for an https site, but when I try to start apache I get the error:
Code:
Invalid command 'SSLEngine', perhaps misspelled or defined by a module not included in the server configuration Is this because I don't have mod_ssl compiled in?
I wrote a perl script to feed information to our load balancer:
Code:
#!/usr/bin/perl
#
use strict;
#use warnings;
#
#
use Net::SSH::Perl;
my $user="bluethundr";
my $pass="secret";
my $dir="$ENV{HOME}/data";
open (LBVSERVERS), '<', "$dir/lb-vserver" or die "Couldn't open file: $!";
open (CSVSERVERS), '<', "$dir/cs-vserver" or die "Couldn't open file: $!";
my $ssh = Net::SSH::Perl->new("10.50.0.1");
$ssh->login("$user", "$pass");
print " .....
I need to be able to install the Math::Pari CPAN module in order to accomodate the Net::SSH CPAN module. The prereqs are installed:
Code:
cpan> install Net::FTP
Net::FTP is up to date.
cpan> install LWP::UserAgent
LWP::UserAgent is up to date.
But when I either try to install or force install Math::Pari this is what I get:
Code:
cpan> install Math::Pari
Running install for module Math::Pari
Running make for I/IL/ILYAZ/modules/Math-Pari-2.01080604.tar.gz
Checksum for /home/bluethundr/.cpan/sources/authors/id/I/IL/ILYAZ/modules/Math-Pari-2.01080604.tar.gz ok
Math-Pari-2.01080604/ .....
CPAN.pm: Going to build I/IL/ILYAZ/modules/Math-Pari-2.01080604.tar.gz
Did not find GP/PARI build directory around.
Do you want to me to fetch GP/PARI automatically?
(If you do not, you will need to fetch it manually, and/or direct me to the directory with GP/PARI source via the command-line option paridir=/dir)
Make sure you have a large scrollback buffer to see the messages, or 'tee' the STDOUT/STDERR to a file.
Fetch? (y/n, press Enter) y
Getting GP/PARI from ftp://megrez.math.u-bordeaux.fr/pub/pari/unix/
Cannot list (Failed to establish connection.
): at utils/Math/PariBuild.pm line 319, <STDIN> line 1.
Can't fetch file with Net::FTP, now trying with LWP::UserAgent...
You do not have LWP::UserAgent and/or HTML::LinkExtor installed, cannot download, exiting...
I have installed CENTOS 5.3 on my machine and am running the new version of Subversion which comes bundled with Apache. I noticed in the httpd.conf file there is no module for PHP which is a problem. How do I install the PHP module for APACHE in Centos 5.3?
View 3 Replies View RelatedI am interested in using fortran and an external library called matio used to save arrays to matlab .mat files. I have installed the matio and matio-dev packages from synaptics but i cannot compile a code receiving an error Code: christos@christos-laptop:~/Desktop$ gfortran -o test test.f90 -lmatio -lz test.f90:2.13: USE MATIO 1
Fatal Error: Can't open module file 'matio.mod' for reading at (1): No such file or directory How can i load a module in order to use it in fortran through the GCC compiler?
I installed svn. it works but apache can't load modules
i installed svn using yum :
#yum install subversion mod_dav_svn
I need to install module u32 into the netfilter module for kernel 2.6.27.
I did not see the source code in the kernel version I have. where can I find the code for U32 module.
I have checked "netfilter.org" and looks like POM is discontinued. Is the u32 module committed to kernel version 2.6.27 or need to patch it. If yes, where can I find the patch?
I building the kernel for a MIPS processor.
redirect a domain name with /abc to external ip of web server. Now I can made sure that I should use the rewrite module to achieve this issues. But I don't know how can I enable this function in my apache web server. I will post my httpd.conf for your reference.
View 14 Replies View RelatedI've never compiled/built/installed any Apache module before, and I just can't seem to get it working on ArchLinux. I got the source code from here: [URL] Then I tried doing this...
Code:
apxs -c -L/usr/lib/mysql -I/usr/include/mysql -lmysqlclient -lm -lz mod_auth_mysql.c
And I get this...
Quote:
/usr/share/apr-1/build/libtool --silent --mode=compile gcc -prefer-pic -march=x86-64 -mtune=generic -O2 -pipe -DLINU X=2 -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/httpd -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/incl ude -I/usr/include/mysql -c -o mod_auth_mysql.lo mod_auth_mysql.c && touch mod_auth_mysql.slo mod_auth_mysql.c:591:2: error: expected expression before
[code]...
I would eventually like to modify the mod_auth_mysql.c source code so I can append a salt/padding to the end of the hashes (that mod_auth_mysql reads from the database), but I will be happy if I can just install the damn thing.
Just setup an Apache2 server, and I would like to setup a login. I also wanted to use the same method that is setup for vsftpd For vsftpd I've created a mysql database.... structured as:
Code:
mysql> use vsftpd
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
Database changed
mysql> describe accounts;
[Code]...
how to do Mysql, PHP, Apache installation configuration, module/library update
View 2 Replies View RelatedI need to load php module without restart/reload apache, is there a way to do that, php has its option to load zend extension using '-z',
php -z <filename>
is there anyway because I need to load php module in runtime, that I don't want to loose the live running session.
do you have any code to flash led lights with paralel port (device driver programming)or any lecture about this subject .if there is a working code this would be better ofcourse.
View 1 Replies View RelatedI've installed openSuse 11.4 server-mode (text only) on my desktop, and I'm trying to configure IceWM so i'll eventually have it set up so it always boots into text only mode, but I could be able to quickly start icewm via the command line.using Yast, I installed the Xorg server, and icewm.when I type X, the screen goes black and it just doesn't seem to do anythingI found if I hit ctrl+alt+f1 it kinda puts me back into text only mode, but I can't put in commands anymore. The last thing it says on the screen is:
Failed to load module "fglrx" (module does not exist, 0)
I've goggled that error message and the discussions that popped up around it made no sense to me at all. I've never configured X from scratch before, can someone point me towards a tutorial or something?
Where is the perl module for programming with sockets?
View 4 Replies View RelatedI'm writing a Plug-gable authentication module for ssh. I am looking for prompting for some extra information after user name and password verification but before giving access to user.Actually after SSH I want to extend the same for some other services. So I am looking at some PAM module level suggestion.
I tried using conversation method with message style=PAM_PROMPT_ECO_ON but it results in PAM_CONV_ERR and conversation fails. Is it right way to interact or please suggest me If I'm doing wrong somewhere. When I use message style=PAM_PROMPT_ECO_OFF communication succeeds but message is not shown and interaction doesn't happen.
I've pased the sample code I've written at url.
Code:
#include <sys/types.h>
#include <string.h>
#include <pwd.h>
#include <grp.h>
#include <syslog.h>
code....
I need to call some other functions in "int init_module(void)" and module. So I need a stack. How can I setup a stack (1kB) for my module in C?
View 11 Replies View RelatedI have a webhosting account, but the server admin did not include mysqli module. How can I use mysqli in this situation?
I am thinking,
put mysqli module in my web directory
load it using custom php ini
I'm trying to debug the NTLM LWP module.
I added use LWP:ebug qw(+); to the top of my script, but I can't see any change.
I'm on Windows if that makes a difference (installed activeperl).
I know there are probably a million reasons why something perl won't work, but can anyone help me get debug logging showing up?
can one use MPI only in a module of a given sequential program? That is, if one have an already working sequential program, can one append to it a MPI-based module? Say I have a working main. It calls module() and what this module does is to spread a group of processes to accomplish a given task. Can that be done or the entire original sequential program must be rewritten?
View 3 Replies View RelatedI'm trying to build the kernel module for dvbhdhomerun. The problem is the linux kernel headers provided by Debian do not have the dvb header files. Trying to set up my own kernel source tree to use is not working out so well.
I'm following the instructions in the Debian section here: [URL] ....
My first try compiled, but the modules ender up under /lib/modules/3.2.51/extra instead of /lib/modules/3.2.0-4-amd64/extra. Why?
I tried to start over, but noticed this while running apt-get source linux-image-3.2.0-4-amd64:
Code: Select allReading package lists... Done
Building dependency tree
Reading state information... Done
Picking 'linux' as source package instead of 'linux-image-3.2.0-4-amd64'
NOTICE: 'linux' packaging is maintained in the 'Svn' version control system at:
svn://svn.debian.org/svn/kernel/dists/trunk/linux/
[Code] ....
The failure to verify the signature has me concerned, but beyond that, what do I do about the different version number when compiling and installing the kernel modules?
I was playing around with QT5 today and I am getting the error Gtk-Message: Failed to load module "canberra-gtk-module". Searching suggested that the module may not be installed however it looks like it is to me.
Code: Select allii libcanberra-gtk3-0:amd64 0.30-2.1 amd64 GTK+ 3.0 helper for playing widget event sounds with libcanberra
ii libcanberra-gtk3-module:amd64 0.30-2.1 amd64 translates GTK3 widgets signals to event sounds
ii libcanberra-pulse:amd64 0.30-2.1 amd64 PulseAudio backend for libcanberra
ii libcanberra0:amd64 0.30-2.1 amd64 simple abstract interface for playing event sounds
[code]....
Exist it a module in cpan for creating a blog?
View 4 Replies View RelatedI`m trying to compile sources of kernel module which has been written for kernel 2.6.9. There were many changes in kernel headers since then in current kernel sources. I`ve found that old /asm/system.h was moved under architecture dedicated directory /arch/*/include/asm/system.h. Anyway during sources compilation I`m having errors related to kernel sources. It looks like there is something wrong with this /asm/system.h
Code:
../asm/system.h: In function �__cmpxchg�:
../asm/system.h:248: error: expected string literal before �LOCK_PREFIX�
../asm/system.h:254: error: expected string literal before �LOCK_PREFIX�
[code]....
I am looking for information to insert kernel module into kernel. I am not looking at dynamically insert of kernel module using insmod, modprobe etc. I am looking for statically insertion of kernel module procedure, such as what to change on makefile, what to change on menuconfig, what to change on .config file, etc.
View 2 Replies View RelatedThere is a file called elevator.c. It is written as a module (i.e it has specific init and exit functions). However we are not able to see it in lsmod listing. We are working on a project where we need to modify this file. Compiling every time we change something will be time consuming. Is it possible to compile just this file and insert it as a normal module?
View 6 Replies View RelatedIn Python 2.6.5, I could import from mx.DateTime.ISO import ParseDateTimeUTC With 2.7 I cannot.Here is the error. My module util_lib contains the import noted above.
File "util_lib.py", line 46, in <module>
from mx.DateTime.ISO import ParseDateTimeUTC
ImportError: No module named mx.DateTime.ISO
What changes do I need to make, to import on pre-2.7 and 2.7?
Using perl -MCPAN -e shell then install Mail::Message then yes to everything (except the test that needed an IMAP server) resulted in.
View 3 Replies View Related