3
votes
1answer
68 views

Enforce loading of php.ini files from current folder

My goal is to increase the maximum file size for uploads in WordPress. I have followed the steps on this SE answer and this tutorial (except the .htaccess part, because it's runnning nginx and AFAIK ...
0
votes
2answers
47 views

phpymyadmin - Unable to load dynamic library 'ext\php_interbase.dll'

I am installing phpMyAdmin (4.2.3) on Windows 2008 R2, with IIS7, PHP 5.5.12 and get the error "PHP Startup: Unable to load dynamic library 'ext\php_interbase.dll' - The specified module could not ...
1
vote
1answer
138 views

How to conditionally set php session cookie within php-fpm www.conf?

I need to set PHP session cookie domain dynamically using php-fpm configuration, pseudo code like this: <If "%{HTTP_HOST} !~ /[0-9]/"> php_value[session.cookie_domain] = ".mysite.com" ...
0
votes
0answers
53 views

Dokuwiki: Moving Just the data directory on other server

I have installed dokuwiki on IIS7. As per my teams requirement we have to move just the Data directory to other server location. e.g IIS7 installed Dokuwiki location: ...
0
votes
0answers
81 views

PHP-FPM and NGINX configuration for dedicated server

Recently bought server http://www.hetzner.de/en/hosting/produkte_rootserver/ex60 Installed Ubuntu 13.10, nginx webserver, php-fpm. It's for large auditory website. Now I'm bit confused about PHP-FPM ...
0
votes
0answers
292 views

What solutions do I have to enforce memory limit on PHP server?

I would like to enforce memory limit on a folder basis (and have it applied on subfolders) but I don't want the user able to change the memory limit. I know I can disable ini_set and I know I can ...
0
votes
1answer
274 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
2answers
76 views

php server settings for restrict post queries

I have php script on hosting, which receive big data with ajax/post. Just now, after some works on hosting, I see that script is broken. I checked with curl: file temp1: ...
0
votes
0answers
35 views

nginx mix files from multiple locations

I've been finding a way to do this, that will allow me to have a physical instance of say wordpress, so that I only need to update it once, and will reflect on all other servers. Any insights would be ...
0
votes
1answer
115 views

How could I avoid having 90 CPU Load only by pressing F5 on my browser?

I have a php website and If I press on F5 on my browser I get this CPU load : $ w 11:34:54 up 16 days, 1 min, 5 users, load average: 90,81, 32,02, 12,57 It come from every pages on my website ! ...
0
votes
3answers
1k views

PHP doesn't work on Apache virtual host

I have a virtual private server with Parallels Power Panel on CentOS 6. The default Apache virtual host (accessed using the IP) works wihtout any problem. Now I created a new domain with Plesk and ...
1
vote
0answers
312 views

phpinfo.php is not showing extra folder for additional PHP configuration files

My phpinfo.php is not showing extra folder for additional PHP configuration files. I am running Apache v2.4.4(with PHP DSO) and PHP v5.4.14 on CentOS v6.3 32-bit. Apache and PHP installations are ...
0
votes
2answers
68 views

How can I separate my custom config files from default config files provided?

In a server with several packages installed (nginx, php, etc) and configured with .conf files how can I avoid problems with updates that introduce new config parameters? Currently whenever I update, ...
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 ...
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 ...
0
votes
3answers
4k views

How to configure a real domain name for sender address

I tried to sending out an email using php mail() function but it failed somehow, complaining that a real domain name is required. The following is observed in the maillog: sendmail 4984 r25984: ...
1
vote
1answer
118 views

PHP: how to specify directory names with PATH_SEPARATOR in open_basedir?

On non-Windows systems PHP's PATH_SEPARATOR constant is a colon... unfortunately I have to deal with a running system which has lots of existing virtualhosts and directories with colons in their name ...
0
votes
1answer
240 views

php5-fpm spike, wrong configuration?

Recently I've uploaded some changes to my server that increases the amount of AJAX calls made to the server. The application "fastness" has decreased a lot. The web server is nginx with php5-fpm ...
-4
votes
2answers
95 views

Shall we run the php script on .net server? [closed]

I just want to know that ,shall we run the php script on .net server or to run a php script on a .net server what configuration we required? Suppose i have a website developed in php environment and ...
1
vote
1answer
652 views

Lighttpd and PHP generates error “No input file specified” after server.document-root is moved

I would like to use Lighttpd and PHP to provide a lightweight standalone web server on Windows. I downloaded all the latest builds yesterday and after an hour everything was working fine. Today, I ...
0
votes
1answer
190 views

PHP not interpreted using PHP5.4 + Apache2.2

Does anyone here know why my PHP code is not being interpreted? Apache is running smoothly with localhost, but when I try to execute localhost/info.php containing (<?php phpinfo(); ?>) ... ...
3
votes
2answers
812 views

How to restrict access to dynamically generated location in nginx?

My developers want to allow download some files only to users in lan. I said ok it's quite simple and I wrote changes to nginx config like this : location /restricteddir/download/file { ...
2
votes
2answers
2k views

Configuring Nginx & php5-fpm to work with Codeigniter

As I'm trying to make my switch from Apache 2 to Nginx, I faced dozens of problems, and still fixing them. anyway, I'm trying to make them work, but no-luck yet. So I'm asking here looking for ...
0
votes
1answer
425 views

FastCGI SCRIPT_FILENAME causing 500 HTTP error, is this a bug?

As I'm struggling for 8 hours to make Nginx works, I (finally) tracked the problem and eventually found it. I was getting HTTP 500 ERROR (Internal Server Error). I manipulated the configurations for ...
1
vote
0answers
144 views

How to fix this error 'cvs [checkout aborted]: no such tag r20120711' on php eclipse helios?

I am using php eclipse helios for debugging php code and using CVS as repositiry. Under CVS repository there are 3 - head branch version and head conatins the repository of server. Under head ...
0
votes
1answer
2k views

Setting php values in php-fpm confs instead of php.ini

I'd like to set values in php-fpm conf files what are normally set in php.ini. I'm using nginx. I've created the following setting, but I'm not sure if this would work. php_value[memory_limit] = 96M ...
0
votes
2answers
767 views

nginx probably deliering wrong filetype for .css file with php tags

And again - NGINX is giving me many Questions today :) Like always, I already tried around for a while, but cant seem to fix this issue: I just configured NGINX to handle my .css files equal to my ...
0
votes
1answer
2k views

PHP 5.4.3 configuration with Apache 2.2

Recently I downloaded php 5.4.3 , Apache 2.2 and mysql 5.5.24. How I will configure these things manually in my windows7. I found some tutorials. In that they are telling need to add these line in ...
1
vote
1answer
266 views

PHP's include/require functions fails for paths with “../” or “./”

I logged into my development server today to find that PHP was failing to include some files with this E_WARNING message: Warning: include_once(../file2.php) [function.include-once]: failed to open ...
0
votes
2answers
203 views

How to reverse this Nginx rewrite rule?

I've been having trouble getting Nginx rewrites to work. On Apache I had the following rewrite, which directed all requests that did not request a PHP file to index.php: Options +FollowSymLinks ...
1
vote
1answer
556 views

Configuring CakePHP on Hostgator

I have absolutely no idea what I am doing wrong here. I have followed just about every guide there is with installing cakephp on shared hosting and I am still having problems. I have also started over ...
5
votes
4answers
5k views

PHP date.timezone warning

I keep getting this error: Message: date() [function.date]: It is not safe to rely on the system's timezone settings. You are required to use the date.timezone setting or the ...
0
votes
0answers
114 views

changing mod-php config in newer versions of apache2

my goal is to change the file type php parses, from .php,.phtml,etc to .html. with previous versions of apache2 i'd just edit mod-php5.conf and set: <FilesMatch "\.html$"> SetHandler ...
4
votes
3answers
181 views

Can't get PHP to stop showing errors

Contrary to most people's problem I cannot get PHP to stop showing errors, I have in my php.ini display_errors set to off but it still shows them, I have also tried .htaccess, and inline ini_set and ...
1
vote
2answers
72 views

Configure apache virtualhost to not accept php requests

I'm setting up a virtual host in apache just for static files. Therefore I'd not add a php handler, which is fine. However, is it possible to configure the virtualhost to accept only jpg, gif and png ...
1
vote
1answer
831 views

How to give PHP permissions to write to files without globally opening up permissions to the directory

I'm running Centos 5.5. I need to create / write some files with a PHP script. The script only works if I have the permissions of the directory in which the files are to be created / written set to ...
1
vote
2answers
194 views

Performance on httpd.conf and/or php.ini files: Generic Comments?

Can anyone verify that there are performance reasons to exclude the "generic" comments from either httpd.conf or php.ini? Personally I find the admonitions and associated clutter to be more ...
0
votes
1answer
36 views

help in configuration of mysql 5.5

i am trying to install mysql 5.5 in my windows 7 32bit i have antivirus quickheal with a firewall my problem is i am not able to configure the mysql properly this all error which i am facing ...
0
votes
2answers
190 views

How to configure php5 on apache2.2?

I want to configure PHP5 on apache2.2 server. I added LoadModule php5_module "c:/php/php5apache2_2.dll" AddHandler application/x-httpd-php.php # configure the path to php.ini #PHPIniDir "c:/php" ...
1
vote
0answers
268 views

How to optimally configure php-fpm?

I am using php-fpm along with nginx to server a busy drupal sites. I have not tweaked php5-fpm.conf yet. The stability is fantastic, however, I am wondering how to optimally set the parameters to ...
0
votes
1answer
274 views

How to configure Postfix mail to act as a SMTP server for my Windows PHP to send mail?

I am trying to send mail from PHP on Windows. I want to configure my Ubuntu to accept requests from Windows PHP mail(). How can I do it?
2
votes
3answers
285 views

OSX not serving PHP

Okay so I have a confession first off … I've been messing … and I've broken the way that my local machine is behaving. With that out of the way, here is some basics. I'm running OS X 10.6.7 I ...
0
votes
1answer
143 views

How do you share php.ini for a webfarm?

we have a IIS 7.5 webfarm (3 servers ATM) running php. Using web deploy we keep the servers in sync, but this only applies to the files used by the sites and the configuration of the IIS. Is there a ...
0
votes
0answers
571 views

step by step guide to configure sendmail to avoid “dsn=5.1.1, stat=User unknown” error towords some server

i know this question has been asked before, but i really need a step by step guide to configure sendmail. The problem is that mail sent from a server (let's call it comarp.nicola.it) is not received ...
-1
votes
1answer
2k views

Installing PHP with iconv on Mac OSX 10.6 gives error: “Undefined symbols for architecture x86_64” [closed]

I am setting up PHP on my local web server with iconv, which should be there by default, but I am getting the following error: Undefined symbols for architecture x86_64: "_iconv", referenced from: ...
0
votes
1answer
2k views

How to correctly use the NginX location directive?

I am attempting to use the phpmyadmin package installed via apt on Ubuntu 10.10 with NginX and although I eventually got it to work, I don't think I'm doing it correctly: server { listen 80; ## ...
0
votes
1answer
383 views

proper way of adding new php application to iis7

I have working IIS7 with PHP on my computer - localhost. I have a couple of applications that are working fine. But now I want to add a new one and for some reason I always get a 404 error on the php ...
0
votes
1answer
65 views

Deploying Rails and PHP apps on a server of unknown configuration

Given root access to a server that someone else had set up (and they either have no knowledge of how it's configured or won't tell you), what would be the fastest way to determine: 1) What webserver ...
5
votes
2answers
7k views

Php.ini disable “Scan this dir for additional .ini files”?

I want to lock my php configuration and disable loading other php configurations rather than the default (which in my case is located at /usr/local/php/lib/php.ini) I want to disable the "Scan this ...
2
votes
2answers
476 views

How to find .conf files used by apache

I wonder, is there any possibility to find which .conf files apache is using at runtime? Some environment variable maybe, as it should work both windows and linux. Or php function?