7
votes
1answer
344 views

How can I use SELinux to confine PHP scripts?

I want to compartmentalize different PHP applications on my SL6.4 (RHEL 6.4 rebuild) web server so that they cannot access each others' data. It seems that SELinux might be able to do this, but I am ...
0
votes
0answers
129 views

File descriptor limit RHEL (Scientific Linux) with PHP Server

I want to serve with a PHP more than 1024 Clients! I dont have a apache! When I run the script I come in to a issue once I have more than 1023 Clients connected! I have exactly this issue: ...
0
votes
0answers
188 views

RHEL6 Apache mod_fcgid PHP localhost

I have disabled mod_php on a RHEL6 apache server and installed mod_fcgid. PHP test scripts (info.php) work on the localhost. I know this since info.php returns the apache api as Server ...
0
votes
0answers
182 views

Upgrade PCRE to v8 on Red Hat 6.3

The latest version of PCRE available in the Red Hat Enterprise Linux 6.3 repo is v7.8 and the latest version of PHP available is 5.3.3, compiled against that external PCRE v7.8 library. (PHP normally ...
1
vote
1answer
374 views

A stock install of Moodle doesn't seem to run on CentOS or RHEL 6.3

I've got a clean instance of CentOS and a clean instance of RHEL 6.3 - I've tried to installed Moodle on both. Error: Database connection failed It is possible that the database is overloaded or ...
0
votes
1answer
406 views

Alternatives to dl() in PHP?

We have a third-party package that requires the use of the PHP dl() function to load a binary extension. This function has been deprecated and removed as of PHP 5.3, so we're looking for a way to get ...
6
votes
2answers
2k views

Php pdo_dblib - cannot find/unable to load freetds

Self-hosted box, RHEL 6 PHP 5.3.3 PDO installed freetds installed pdo_dblib - so far no luck installing My goal is to use PDO with sybase. Attempting to install pdo_dblib from the appropriate ...
1
vote
2answers
1k views

configure: error: Cannot find libtidy

I want to build PHP 5.3.9 on RHEL 6.2 with Tidy support. I get this message: configure: error: Cannot find libtidy So I try to install libtidy: yum install libtidy libtidy-devel but ...
0
votes
0answers
186 views

PHP potential issues with compiling 5.3.8 extensions against RHEL 6 / CentOS 6 PHP 5.3.3 package

I'm working on getting a Red Hat 6 LAMP server going and while the PHP that comes with it has many extensions we use, it doesn't have all of them. To solve this, I was thinking about either ...