0
votes
1answer
65 views

Installing php5-fpm but missing www.conf on ubuntu

I am installing php5-fpm on my ubuntu system but could not able to find www.conf file under pool.d directory. In my /etc/php5/fpm folder, there are only 2 directories - conf.d and pool.d Command ...
-2
votes
1answer
40 views

how to make already compiled php5 shared module to static in apache 2.2

I have compiled apache 2.2 with php5 and after uncommenting loadmodule line for php in apache conf file the php started but as a shared module so is there any way to compile it as static ?
1
vote
1answer
66 views

PHP MAIL() dsn status

Is there a way to get the dsn status of an email set with postfix, with php mail function or any other library ? . I could parse the log for the id and dsn status, but that won't be quite good for the ...
0
votes
2answers
115 views

how to install php5-memcached in linux?

I've installed memcached server using yum. My server os info - Linux version 3.8.4-x86_64-linode31 (maker@build) (gcc version 4.4.5 (Debian 4.4.5-8) ) #1 SMP Mon Mar 25 16:00:34 EDT 2013 But when ...
0
votes
1answer
31 views

Under What Conditions May PHP Server Variables Be Disabled

As per the question: "Under What Conditions May PHP Server Variables Be Disabled". Basically on Shared Hosting I am using I can choose to run my website in 'Apache' or 'CGI' mode. When running in ...
0
votes
1answer
386 views

Phpize: cannot find build files [closed]

I'm getting the following error when trying phpize for Thrift: # phpize Cannot find build files at '/usr/local/lib/php/build'. Please check your PHP installation. I have installed php5-dev. I've ...
3
votes
2answers
644 views

Ubuntu install php5-ffmpeg

When I try to install php5-ffmpeg: apt-get install php5-ffmpeg I get an error: The following packages have unmet dependencies: php5-ffmpeg : Depends: phpapi-20090626+lfs As I understand my ...
-1
votes
1answer
52 views

Finding how the attacker creates malicious files [duplicate]

I am dealing with a troubling LAMP server which runs Apache 2.2, MySQL 5.1 and PHP 5.2.7 (runs as nobody) and most of its sites using vulnerable versions of known scripts such as Joomla, Wordpress ...
0
votes
2answers
2k views

How do I disable functions on servers for particular directories?

I want to disable some functions on server to improve security of server. I followed these steps: STEP: 1 Open php.ini file: vi /etc/php.ini STEP: 2 Find disable_functions and set new list as ...
0
votes
1answer
379 views

debian 6 - php 5.4.1 - xdebug phpize php-config --version incorrect

I'm quite new with Linux server management and I have a linux server with the following configuration: Distributor ID: Debian Description: Debian GNU/Linux 6.0.6 (squeeze) Release: 6.0.6 ...
-1
votes
1answer
115 views

Compile PHP without PostgreSQL [closed]

I need to compile php-5.2.17 as a cgi wrapper. PostgreSQL is not installed on this machine. I'm looking for the configure command, to disable support for PostgreSQL. --without-postgre
0
votes
1answer
211 views

hiphop compilation fails on 90% [closed]

I've been working with hiphop on fresh centos-6.3 with gcc-4.6.2 and followed the following guide for hiphop compilation ...
0
votes
1answer
41 views

System administration problems

I recently had a problem with a dedicated server (LINUX) where the file system went read-only. Recent modifications include installation of fcgid using PHP 5,2 on certain <VirtualHost> ...
0
votes
1answer
80 views

running .html as .php

How do I edit my .htaccess file using mod_fcgid to turn .html files to act as .php I tried: AddHandler fastcgi-script .html Did not work. I am using cpanel and using php 5.3 and apache 2.2.
1
vote
0answers
175 views

How to optimise apache2 with php5-cgi

I have a debian squeeze running with apache2 and php5-cgi. Please see the following stats from my munin: http://imageshack.us/photo/my-images/545/multipscharts.png/ I am running these per-process ...
1
vote
1answer
1k views

how can i disable safe mode for php on web server? [closed]

I am using wkhtmltopdf for making a pdf of a page. My code executes the shell to run a command using this wkhtmltopdf library. Everything works fine in my wamp server but when the code runs on my ...
1
vote
1answer
862 views

How to get php mail function to work on Debian “squeeze”? [duplicate]

Possible Duplicate: Getting PHP mail() function to work on Debian Lenny I have installed Apache and PHP5 on my debian server. Firstly I tried it using sendmail. Here is the step by step ...
0
votes
1answer
229 views

Cron stopped working, partially working.

Our cron script stopped working in different dates in August. What can be the possible reasons? We did not change anything. Our hosting showed us a log where we can see that cron is executing our ...
1
vote
5answers
848 views

CentOS replacement for PHP development machine?

I'm just starting learning Linux. I'm using CentOS 6.3 and i really like it. However I need PHP 5.4, currently not available for CentOS. I've read that CentOS, for its very own nature, doesn't update ...
1
vote
1answer
174 views

Apache2 is not parsing PHP files

i have a problem with my server (VPS with debian+apache2+php5). I have two virtualhosts, one is linked to a ruby webserver and has a PRoxyPass from port 80 to 8080 and the second one is a normal ...
1
vote
1answer
791 views

Possible causes of PHP /var/lib/php/session full error

i'm running into problem here with my PHP sessions and i have no clue how to fix this. >> df -i Filesystem Inodes IUsed IFree IUse% Mounted on /dev/mapper/vglocal20120426-root00 ...
1
vote
1answer
133 views

How can I figure out which PHP extensions aren't being used?

I manage a server (running Ubuntu) which hosts our client's sites with a few dozen different PHP-based websites, mostly small sites but also some installations of CMSes and forums. I used the ...
4
votes
3answers
5k views

Install php-mssql in CentOS 6.2

I have a server running CentOS 6.2 with Plesk 10.4. When I SSH in, and try and install ms-sql extension it says "No package php-mssql available." I can't seem to find much on Google for this, and I ...
-1
votes
1answer
570 views

PHP 5.4 can't include file with permissions 777

I'm working on setting up PHP 5.4, and I've set a library up in /usr/share/php/ I've set include_path='.:/usr/share/php', and was not able to include anything with a relative require_once. I've set ...
0
votes
1answer
265 views

How to create the folder using php code under the user perm in developement server?

We have Development Server with apache 2.2 and php5. Here developers are accessing the server using the individual samba login for uploading the files into the server. But when creating the folder and ...
1
vote
1answer
219 views

PHP 5.3.8 doesn't load module xapian.so

I have web server on fedora 16 nginx + php-fpm (PHP 5.3.8),all installed with yum from standard repo. I'm trying to use xapian.so module so I istalled php-xapian and added extension=xapian.so to my ...
0
votes
2answers
1k views

How To Remove/Uninstall PHP in RHEL4

i wanna ask how to remove/uninstall php5 from my RHEL4 i've install it, using # ./configure # make # make install i've tried #make uninstall but there's following error, i've tried it in ...
2
votes
3answers
3k views

Linux SUSE - How to install PHP 5.3.x on SUSE?

I'm trying to install php 5.3.x on Suse/linux platform, but whenever I install and check it with phpinfo(); it shows php 5.2. Any idea how to deal with it? please provide the detailed instructions. ...
0
votes
2answers
518 views

Apache/Linux CentOS (32bit) Not Loading PHP Modules

This is probably an easy question, but I've been at it for days with no luck. I need soap enabled to run an application on linux CentOS/Apache. I have PHP installed and have loaded soap.so in ...
0
votes
1answer
40 views

Including and excluding extensions — PHP installation

Note: This question is not only about the PEAR extension, it is in general. I disabled the PEAR extension by installing PHP on CentOS server with the following command: $ yum php --without-pear Now ...
0
votes
1answer
746 views

APC File Cache not working but user cache is fine [closed]

I have just got a VPS (with cPanel/WHM) to test what gains i could get in my application with using apc file cache AND user cache. So firstly I got the PHP 5.3 compiled in as a DSO (apache module). ...
0
votes
1answer
350 views

PHP Unable to load some 32-bit dynamic libraries on a 64-bit machine

I am being hit by following error when I try to run installation of a bugtracker named 'The Bug Genie'. I have opensuse 11.3 64bit on my system and so I found these missing .so files in ...
1
vote
1answer
309 views

unable to fsockopen

I have 2 ethernet eth0 and eth1 on my server. The default gateway is set to be eth0. I need to connect ip 10.10.6.2 using fsockopen in php. The ip 10.10.6.2 is routed through eth1 (I have a rule set ...
0
votes
2answers
2k views

Apache2 and PHP5 won't work together

I installed the latest apache web server on my system using all default configs (simply ./configure, make, make install). Then I was trying to tie PHP5 into it but I can never get it working. First ...
-1
votes
1answer
204 views

Uploading files by connecting to port 80 in /tmp folder

Someone uploaded some folders/files on my webserver, all were uploaded in /tmp. How can i prevent these sort of things. For more information, you can see logs. --2011-04-09 22:17:55-- ...
0
votes
1answer
560 views

Crazy problem with Nginx, PHP5-FPM on Ubuntu

I've been trying to get a domain from shared hosting to my new VPS. Everything was working just 100% fine, and then all of a sudden rewrites stopped working, pictures that should work started ...
0
votes
1answer
201 views

send mails from a php applciation using SMTP to internal exchange server

I have one Linux server which is connected to my local network and also internet in another network. I host some PHP applications on this server. All the PHP applications should able to send mails to ...
1
vote
4answers
736 views

how optimize small linux server?

I have a small Ubuntu server with 512MB of ram and several php/mysql websites (~20) running on it.It's been running for 2 years now without a single issue. But I think the moment for some optimization ...
2
votes
3answers
5k views

Nginx + Php5-fpm not rendering php files

I've spent hours figuring out how to install Nginx + Ruby Enterprise Edition + PHP5-fpm and MYSQL, finally it is all installed and all seems to have started fine. But for some reason php files are ...
6
votes
2answers
4k views

Running phpmyadmin and suphp

I have a Debian Lenny web server. It is running apache2 with libapache2-mod-suphp. Unfortunately, suphp makes impossible to use phpmyadmin, as phpmyadmin is installed in /usr/share/phpmyadmin and ...
6
votes
2answers
6k views

configure: error: Cannot find php-config. Please use --with-php-config=PATH

I'm trying to install a program called phraseanet. I ran the ./configure command and run into this error: configure: error: Cannot find php-config. Please use --with-php-config=PATH I am using ...
1
vote
2answers
114 views

Simple to follow guidance on update PHP from 4.3.10 to at least 5.1.1

I need to update my version of PHP to at least 5.1.1, via SSH and need simple to follow advice on how to do it. We have a VPS (with Plesk) with webfusion, who won't update it for us and we need to get ...
1
vote
1answer
740 views

why won't php 5.3.3 compile libphp5.so on redhat ent

I'm trying to upgrade to php 5.3.3 from php 5.2.13. However, the apache module, libphp5.so will not be compiled. Below is a output I got along with the configure options I used. The configure ...
1
vote
1answer
295 views

Anti-bot techniques

I want to do some research on anti-bot techniques for my web application. I am aware of Captcha, but want to explore some other techniques. Especially, I want users to visit all the pages before they ...
1
vote
1answer
167 views

open_basedir vs sessions

On a virtual hosting server I have the open_basedir set to .:/path/to/vhost/web:/tmp:/usr/share/pear for each virtual host. I have a client who's running WordPress and he's complaining about ...
1
vote
3answers
2k views

Downgrading PHP from 5.3 version to 5.2.x on Ubuntu

I'm looking some some way to downgrade php from 5.3 version to 5.2.x on Ubuntu 9.10
5
votes
6answers
831 views

smallest possible linux installation with apache

I want to setup a linux vm with apache and php and mysql support, which version of linux should I pick up. I dont have a good bandwidth, preferably a smaller ISO of the installer is also appreciated.
0
votes
2answers
821 views

Problem installing php5-cli on ubuntu

I want to install php5-cli on ubuntu but i keep getting this error Reading package lists... Done Building dependency tree Reading state information... Done php5-cli is already the newest ...
3
votes
3answers
4k views

Why is this mod_rewrite RewriteRule directive not working in the .htaccess file?

I've got a site that was hosted on a linux el cheapo hosting service that I'm migrating to my Mac OS X 10.5 Leopard Server server running Apache 2.2.8 & PHP 5.2.5 w/rewrite_module enabled and ...
1
vote
7answers
474 views

Problems upgrading from PHP 5.1.6 to 5.2.9

I have a web server running CentOS 5 and it was running php 5.1.6 so I downloaded and compiled the source for 5.2.10 and restarted the server and phpinfo() still returns 5.1.6. But when i do the ...