0
votes
1answer
13 views

Install a pecl package (gmagick) without PHPize

I am running Debian Wheezy with PHP5.5 (not the default PHP version of Wheezy). I want to install gmagick (already installed graphicsmagick from aptitude). So I did this command line : pecl install ...
-4
votes
3answers
39 views

cronjob or similar to open a local php file including query [closed]

How do I open the following file with cronjob correctly every 5 minutes: /var/www/mysite/folder/foo.php?query=1 I tried myself but i just did not get it working... i tried with /usr/share/php5 , ...
1
vote
2answers
56 views

PHP Startup: Unable to load dynamic library '/usr/lib/php5/20100525/apc.so'

I have updated my php from 5.3.3 to 5.4.31. I have a Debian 6 Squeeze. PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20100525/apc.so' - /usr/lib/php5/20100525/apc.so: ...
0
votes
2answers
24 views

How to synchronize different debian server

I'm developing a project that consists in a tomcat installation with a web app with many classes and libraries and a php side with many many folder and files. I've got two server debian wheeze and ...
0
votes
0answers
56 views

How to get rid of libapache2-mod-php5filter?

I cannot get rid of this php mod from my Debian Wheeze on arm architecture. Package php5-common has dependence on 2 packages which are in conflict: libapache2-mod-php5 libapache2-mod-php5filter ...
0
votes
1answer
26 views

Apache authentification error

I've installed Apache 2.2 on my Debian-based distr (kernel 3.2.0-27) and apache2.2-common package with default configs. Trying to run simple script info.php I got the error found in ...
0
votes
1answer
85 views

Inconsistent behavior with Nginx's auth_request_set and more_set_input_headers

I'm trying to use the auth_request module in conjunction with the more_set_input_headers to automatically login my users into web apps. Basically, it works like this: Users have some session cookie ...
1
vote
1answer
31 views

How do I find what PHP script is changing the file

I have apache installed with mod_php PHP5. I've been able to find out that apache process is changing my .htaccess and index.php files in /var/www directory. All files in this directory are owned by ...
0
votes
1answer
51 views

Configuring Exim4 on Debian 7 and PHP

I followed this tutorial on Linode to setup a send only mail server: https://library.linode.com/email/exim/send-only-mta-debian-6-squeeze It works but with some oddities. Sending email with PHP ...
0
votes
1answer
54 views

Debian PHP extension installed but still “missing”

I'm trying to install ZeroMQ on my Debian server. As per the instructions, I've installed libzmq-dev with aptitude, and now I'm trying to install the PHP bindings. Here I managed to install pecl, and ...
0
votes
1answer
90 views

How to find out where mystery SPAM scripts are coming from?

I am the datacenter manager at a small ISP and we have been having an issue with mystery scripts sending out SPAM on our server. These PHP scripts will appear mysteriously in /tmp as well as sometimes ...
-1
votes
2answers
502 views

PhpMyAdmin 500 Internal Server Error on Nginx/php5-fpm/Debian

I downloaded PhpMyAdmin a while ago and am having a hard time getting it to work. Requesting localhost/phpmyadmin gives a 500 Internal Server Error response, but there's nothing in the error log. ...
2
votes
0answers
22 views

PHP APC cannot increase cache above 32m

apc.shm_size I set it to 128M I have also try 128 (without M) But It always 32M :( /proc/sys/kernal/shmmax is set to 134217728
2
votes
2answers
113 views

Mediawiki does not run for the first time

I'm trying to install Mediawiki 1.22.6 into a subdirectory /wiki/ of apache document root directory, which contains some other directories. When I try to open http://example.com/wiki or ...
0
votes
1answer
453 views

Updating php5-mysql for MySQL 5.6 under Debian 7

After a lot of troubles installing MySQL 5.6 for Debian 7 (with ISPConfig) (FYI, I followed this tutorial : http://xmodulo.com/2013/12/upgrade-mysql-server-debian-ubuntu.html) my PHPMyAdmin shows me ...
0
votes
3answers
26 views

How do you remove a dot deb package (Upgraded from Squeeze to Wheezy)

I have run sudo apt-get remove php5 and it says php5 is removed but I can still load phpinfo() from one of the web pages and all the websites still load. I have also restarted the server. I don't ...
0
votes
2answers
62 views

Cronjob screen PHP does not executed [duplicate]

If I execute the following in the terminal it works: screen -dmS tt-rss-daemon sudo -u www-data /usr/bin/php /usr/share/nginx/www/tt-rss/update.php --feeds --daemon If I write the following in a ...
1
vote
1answer
132 views

Why is PHP open_basedir not considered a security model

On servers doing shared web hosting, or sharing the PHP environment between different PHP applications, I usually implement a security policy that uses PHP open_basedir to restrict each user to ...
-4
votes
2answers
118 views

Run a script.sh with www-data like it was root user [duplicate]

I need to get all mac Addresses from my network-card. So i use nmap from Debian, combined with PHP. But, without root privilege, this only gives me the IP address and status from a target. With root ...
0
votes
0answers
129 views

Final stage of configuring Informix PDO with Apache - stuck :(

I've been working on configuring a server to connect to a remote Informix server to perform queries from Debian/php/apache2. I've been able to successfully install and configure the Informix Client ...
0
votes
1answer
61 views

Activating Informix variables on Apache2/Debian

I'm working on adding PDO for Informix on my Debian server. I have a strong set of instructions from a gentleman who has set this up to run on suse, I'm trying to figure out how to add these ...
0
votes
1answer
105 views

suhosin patch error in PHP 5.3.27

When I try applied suhosin patch, I get this errors: patch -p 1 -i ../suhosin-patch-5.3.2-0.9.9.1.patch patching file Zend/Makefile.am patching file Zend/Zend.dsp patching file Zend/ZendTS.dsp ...
0
votes
1answer
275 views

Debian Wheezy PHP downgrading/upgrading questions

Hello serverfault guys, I have a Debian Wheezy (7.2) server and it came with PHP 5.4 by default, I was installing Ensignia Mail which is a PHP 5.3 only application and it gave me a lot of errors, so ...
0
votes
0answers
127 views

After a PHP script timeout, Apache logs the error but may not cleanly exit the script

We're using PHP and Apache, hosted on a dedicated server running Debian Linux. The specific versions in each case are mostly immaterial, as this problem has been around since Debian 6, and is still ...
1
vote
1answer
84 views

How does fastCGI PHP alter a file and escape detection by auditd?

The other day I set up a little shell script on a Debian server to send me an email when files change; it looks like this: #!/bin/sh items=`find /var/www/vhosts -regex ".*/httpdocs/.*" -newer ...
0
votes
1answer
144 views

PHP 5.3 for recent Debian versions, with security backports (for Legacy apps)

Is there any way, to get a PHP 5.3 package for recent debian versions (i.e. wheezy) which is still getting security support? There are legacy projects which depend on register_globals() - and while ...
0
votes
1answer
163 views

error when trying to install rar package - php centos

building in /tmp/pear/temp/rar running: phpize sh: phpize: command not found rolling back 388 file operations ERROR: `phpize' failed getting this error when trying to install the RAR package for php ...
0
votes
0answers
76 views

Nginx/fastcgi using old php.ini

I'm having problems with debian + nginx + fastcgi + php setup. For some reason when I update my php.ini (/etc/php5/cgi/php.ini) the settings don't get updated. I checked phpinfo() and it says it's ...
7
votes
2answers
1k views

Why does Debian clean php sessions with a cron job instead of using php's built-in garbage collector?

Debian and derivatives (Ubuntu) don't use the php session garbage collector session.gc_probability = 0 instead they use a cron /etc/cron.d/php5 09,39 * * * * root [ -x /usr/lib/php5/maxlifetime ] ...
0
votes
1answer
53 views

PHP Not running on specific directories [closed]

Ok. This is a pretty weird error: I made a folder named 'hello' at /etc/apache2/sites-enabled/ with hello.php. Then i created an Alias that told /hello would go to /etc/apache2/sites-enabled/hello. ...
0
votes
1answer
44 views

Installed Apache2.2 on Debian (squeeze), replacing lighttpd, now all .php files return an error 324

.html files are fine, but .php is a no-go. My Wordpress and MediaWiki are not functioning, I made a page with phpinfo() that isn't working, and I am stumped. My error log shows nothing except for ...
1
vote
2answers
110 views

Easiest way to keep users in their home directory on a web server

I was wondering what would be the easiest and most secured way on a web server to prevent users from browsing directories other than their home folder. I have a mutualised web server with several ...
0
votes
2answers
477 views

Debian webserver - Crontab error (not running php script)

I've a webserver with several sites and I'm trying to run a script by crontab but it gives me a error (126 and 127) My script is in: /var/www/site1/script.php When I run the command: php ...
0
votes
1answer
110 views

How does one rebuild a single PHP extension package on Debian?

In trying to get ODBC PDO working with Microsoft's MSSQL driver on Debian I've found that I need to apply patches to the PHP extension (see https://bugs.php.net/bug.php?id=50444 for those patches). ...
0
votes
1answer
425 views

Multiple VHosts with FastCGI and Suexec

I have a Debian virtual machine server which I have full control over, but I have someone who wants to host a single domain on it. This is obviously a security concern, as even if his particular user ...
0
votes
1answer
174 views

PHP processes keep overwhelming my server, eating up the CPU and making it lock up :(

I have a Debian Squeeze Lighttpd server with PHP and MySQL, and also with XCache and Varnish set up. I am quite new to this, but have tried as hard as I can to resolve this problem with no success. ...
0
votes
2answers
386 views

PHP - can't use function chroot

I've installed Debian 6.0.6 x86 on a VPC with the least possible software packages and when the installation completes I take a backup of the VPC and put it aside for later use. I have installed PHP ...
0
votes
2answers
554 views

Apache doesn't parse PHP on VHOST while it works on default

I set up a Debian 6 VPS to host couple of small sites and it works beautifully for default one. Next i created new user and copy/paste default vhost file and enabled it with a2ensite and only ...
1
vote
1answer
384 views

Can't compile PHP with Sybase

Trying to compile Sybase with PHP 5.4.13 in Linux version 3.2.0-4-686-pae (debian-kernel@lists.debian.org) (gcc version 4.6.3 (Debian 4.6.3-14) ) #1 SMP Debian 3.2.35-2 # apt-get install freetds-dev ...
1
vote
3answers
826 views

Sendmail Exception reached when thousands emails sent in bulk mail script. Has sendmail a email-sent limit for a given process?

I am a little desperate with a problem in our web server. Our web is a community with a lot of users and activity. We send to users personalized mails of the activity of their interest. We have a ...
1
vote
1answer
471 views

I manually deleted my /etc/php5/ config files and now they don't reinstall

I wanted a clean reinstall of php5-cli, php5-common, php5-fpm. So what I did was: rm -rf /etc/php5 rm -rf /usr/local/lib/php5 rm -rf /usr/local/php5 rm -rf /usr/lib/php apt-get autoremove php5* ...
-2
votes
1answer
2k views

How to set up SUDO rights for execution of Python script from PHP [closed]

I run Raspbian Wheezy on my Raspberry Pi, and i want to call a Python script from PHP. That all works great (i call 'exec python go.py' from php) but now i want to call a script which needs root ...
1
vote
1answer
156 views

Cronjob not working properly on debian

I'm trying to run a PHP script everyday at midnight, so my cron has the following entry @daily /usr/bin/php /websites/xxz/misc/wU5HaFre.php /websites/xxz/misc/wU5HaFre.php has 755 rights, so it's ...
1
vote
1answer
226 views

Blank PHP pages when using php-fpm and nginx on a Debian VPS

I keep receiving a blank page whenever I try to access a PHP page on my nginx webserver on a Debian VPS. nginx is working fine; I can access any normal HTML page. PHP-FPM is at least running, as I can ...
0
votes
1answer
114 views

Was around Postfix and PHP sent emails always get tagged as spam [duplicate]

Possible Duplicate: How to send emails and avoid them being classified as spam I have a legitimate website that sends out emails using postfix for user signup validation. I am running a VPS ...
0
votes
0answers
50 views

VPS upgrading, actually using the capacity PHP

We have a PHP webserver (debian 6) running on a VPS. The site hosted on it is rather heavy. The VPS specs are: 1 CPU Core 1024MB RAM 100GB HDD When loading the website the CPU would jump ...
0
votes
1answer
166 views

Pligg user verification error

i installed pligg CMS on my site. But the problem is if i choose to validate user email option, then if any user register on my site it is showing the error below: "Could not instantiate mail ...
0
votes
5answers
92 views

Where to store custom php scripts called via cron

I want to move my php scripts out of the /var/www so that they are not accessible via a URL. But where is the most logical place to store these?
0
votes
1answer
62 views

MySQL table records changes every second

I was using a PHP script running on background to grab data and insert them into the mysql database... i stopped the PHP from logging and checked the table records, i found that its being changed ...
4
votes
2answers
2k views

“The server closed the connection without sending any data”

Server setup The problem Diagnostic information What I've tried Specific Help needed 1. I have the following server setup: (Running in a VM using Hyper-V) Debian Squeeze Linux 2.6.32-5-amd64 ...