1
vote
0answers
49 views

Apache2 - 500 server error when trying to access .php file

I have a webserver (Apache2, configured on Ubuntu Saucy Salamander 13.0x). On this server I have the following file in question: /var/www/xxxxx.com/insertToDB.php Accessing this file using GET ...
1
vote
0answers
375 views

Can't load my php.ini on localhost

I have a server and a local version of it on my hard drive. I am trying to access the local version through localhost. Entering localhost works, I enter the base html file and all that. The problem ...
1
vote
0answers
547 views

PHP.ini custom settings through htaccess

I'm confused by this ini list in the PHP Manual: http://www.php.net/manual/en/ini.list.php I want to set some custom php.ini values through htaccess, but which one of these commands is not going to ...
0
votes
2answers
308 views

Change php's auto-append-file from a script

I am using the php config auto-append-file to append code that i need to be executed on all pages on a particular domain. But my problem is that there are other domains that share the same php.ini ...
7
votes
3answers
9k views

Allow using php_value and php_flag in .htaccess

I am running an Apache web server with PHP5 as a module (notice: as an Apache module, not CGI!). In some of my .htaccess files (the one that comes with the gallery3 software, ...
0
votes
1answer
115 views

Need ability to set configuration options using single method which will work across multiple server configurations

I'm trying to set post_max_size and upload_max_filesize in a specific directory for a web application I'm building. I've tried the following in a .htaccess file in the script directory. (upload.php is ...
0
votes
1answer
1k views

How to modify allow_url_fopen Local Value

This is a question about PHP configuration on a LAMP server. I want to turn off allow_url_fopen on one virtual host but not the other (i.e. can't turn it off globally in php.ini). The other day I had ...
2
votes
2answers
524 views

How do I get Apache to use a different local PHP.ini for different domains?

is there some sort of .htaccess directive. I dont have access to httpd.conf. I have php5 in a fastcgi/cgi module. Multiple domains. But for some reason all the domains are pointing to the first ...