[ Linux - CentOS - Apache 2.2 - mod_cloudflare - apxs2 ]
I have changed my nameservers to point to CloudFlare. The problem is that all the IP addresses are coming in as CloudFlare's. This is no good, because I have to monitor and block some specific traffic. mod_cloudflare is supposed to resolve this but I have been unable to get this installed. The command in the documentation uses apxs2.
I'm trying to compile php 5.4.7 on mac osx 10.6.8.
I could install it using the default procedure:
./configure \
--prefix=/usr/local \
--with-config-file-path=/usr/local/etc \
--with-apxs2=/usr/local/apache2/bin/apxs \
--with-mysql
sudo make clean
sudo make
sudo make install
But now if I try to install to compile php with the curl module it fails:
./configure \
--prefix=/usr/local \
--with-co
I have a CentOS 5.8 server with Apache2.4 and I want to install mod x-sendfile.
I've uploaded the c file to the server and according to the instructions I should run:
apxs2 -cia mod_xsendfile.c
I tried that but it seems that I don't have apxs2. I do have apxs under /usr/sbin/apxs.
What should I do? should I use apxs or should I get somehow apxs2?
I have a VPS with Centos 5.8
In phpinfo displays: './configure' '--disable-fileinfo' '--disable-pdo' '--enable-bcmath' '--enable-calendar' '--enable-ftp' '--enable-libxml' '--enable-magic-quotes' '--enable-sockets' '--prefix=/usr/local' '--with-apxs2=/usr/local/apache/bin/apxs' '--with-curl=/opt/curlssl/' '--with-imap=/opt/php_with_imap_client/' '--with-imap-ssl=/usr' '--with-kerberos' '--with-li
How can I see a list of flags/options used to configure and compile a certain package in yum, without having to install it first? Say apache, for example.
$ yum list available httpd
Available Packages
httpd.x86_64 2.2.15-15.el6.centos.1 base
I'm running CentOS 6.3.
I am trying to install php from source on linux(RHEL 5).
How can i make it work with my currently active httpd service ?
Hi all,
I have installed phpmyadmin3.3 in my server. here my php package versions.
php-mysql-5.2.10-1.el5.centos
php-common-5.2.10-1.el5.centos
php-ldap-5.2.10-1.el5.centos
php-cli-5.2.10-1.el5.centos
php-imap-5.2.10-1.el5.centos
php-xmlrpc-5.2.10-1.el5.centos
php-pgsql-5.2.10-1.el5.centos
php-5.2.10-1.el5.centos
I downloaded php binaries and tried to build the same using following command.
./configure --with-apxs2=/usr/sbin/apxs --with-mysql
But i'm getting the error related to mysql client library.
checking for MySQL support... yes
checking for specified location of the MySQL UNIX socket... no
checking for MySQL UNIX socket location...
I have installed on Apache Web Server on Redhat Linux. I can start apache web server using two commands:
service httpd start
or
/usr/local/apache2/bin/apachectl
But when I run first command I need to place my files on /var/www/html/. When I run the second command I need to put them on /usr/local/apache2/httdocs. What is the difference between two paths? Which I need to use?