Tagged Questions

The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
2answers
45 views

PHP add virtual host dynamically

I'm developing a PHP web application that, among other things, needs to allow the user to add, edit and delete Apache virtual host entries. (I'm Including a web-writable config file in my ...
0
votes
1answer
30 views

Can't change PHP.ini in my own server

I have a Development platform with magic_quotes_gpc Off, and I can't turn it Off on my Validation server. Both are Ubuntu 11.04 (thought the Validation server is mount under VMWare). The Dev is uses ...
0
votes
1answer
23 views

Does installing additional PHP extensions make it work slower?

Does the fact that I install unnecessary modules make PHP overall slower? e.g. php-tidy, php-xmlrpc, php-bcmath. I use the latter only on very rare occasions. Would like to have it (and at least 5 ...
0
votes
1answer
103 views

Add Httpd service by linking to source install apache2

As title says, i need to add a service httpd to get the php and apache2 talking to one another it seems (by line in httpd.conf: AddType application/x-httpd-php .php) I uninstalled the default httpd ...
0
votes
0answers
104 views

Centos 6.2: PHP5 not talking to Apache2

Setting up a LAMP server, installing the latest apache2.2.21 and php-5.3.9 using source. Downloaded all needed dependancies, ./configure make install no errors, all the module files are where it ...
0
votes
0answers
48 views

Strange content after installing new PHP5

I've installed PHP & MySQL (with PDO Driver) on my FreeBSD dedicated server, earlier I was using Debian and everything worked like a charm, but now, when I enter my website all I can see is a ...
0
votes
1answer
20 views

stopping 404s in apache error log

Is there a way to change the error level for messages such as this in my apache error log: error.log: [Thu Jan 12 13:45:52 2012] [error] [client xxx.xxx.xxx.xxx] FastCGI: server ...
0
votes
0answers
31 views

phpmyadmin seems to ignore its config

I recently upgraded my homeserver and installed a fresh Debian Squeeze on it. Apache, MySQL and PHP are already set up. But phpmyadmin don't want like i do. I'm using the package from the repository, ...
0
votes
1answer
123 views

Couldn't find package php5-fpm

I'm trying to set up nginx with PHP5 and MySQL on my production VPS. The reason I chose nginx over Apache was because the VPS isn't high spec. nginx is installed, and is successfully serving static ...
3
votes
2answers
65 views

Upgrading PHP 5.3.6 to 5.3.8 (Windows)

Is there an easy way to upgrade from one PHP maintenance level to another in Windows (i.e. 5.3.6 to 5.3.8)? Or is the only option to rename my current install folder, and install a fresh copy? I ...
0
votes
4answers
80 views

can't access the site without WWW in the url [closed]

Possible Duplicate: Enable access without “www.” on Ubuntu I just got set-up my first website and bought my own first domain name , but problem has showed up. I noticed that i ...
0
votes
1answer
74 views

nginx reverse proxy to apache: php doesn't work

I'm trying to make a reverse proxy from nginx to apache on my Ubuntu 10.04 server. It is working fine right now with HTML files... the requests are sent directly to apache. But whenever I visit a PHP ...
0
votes
0answers
29 views

Apache2, mod_fastcgi, PHP5 and fpm problems (with a Django top directory application)

I'm having trouble deploying a PHP5 application in the following setup with a Gentoo system: Apache 2.2 mod_fastcgi PHP5 with fpm (fpm running a pool with an user and group of its own) Django for ...
0
votes
1answer
55 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
0answers
33 views

nginx virtual host not found

I'm trying to setup a cakephp development enviroment with nginx. The nginx + php was successful instaled since I get the right response from phpinfo(); But when I try to setup a virtual host located ...
4
votes
2answers
35 views

Installing PHP on linux

I'm trying to setup php with oci8 support. I think I've configured all correctly before starting with oci, here is how I tried to start the install : ./configure -prefix=/common_share/APACHE/server ...
0
votes
1answer
34 views

Efficient privilege separation under Apache2 + PHP 5.3

What's the preferred way to setup a privilege separated, shared environment with Apache2 security and performance wise? I'd like to run each virtualhost under a different user/group and handle PHP ...
1
vote
1answer
49 views

php5 and HTML Tidy - without compiling?

I have an existing installation of PHP5 on my RHEL server. It's managed via yum, so security updates are applied as usual. I have need for HTML Tidy functionality, and was dismayed to learn that ...
0
votes
0answers
51 views

Upgrading PHP - difficulty in doing so

I've got PHP 5.25 from my Web-Developer Server Suite install on Windows 7, but I want to upgrade it to PHP 5.38 to be able to run some scripts that require PHP 5.3+. PHP 5.25 is what came packaged ...
0
votes
2answers
42 views

apache2 and php5: module or filter

What the difference between the php5 module (libapache2-mod-php5) and the php5 filter module (libapache2-mod-php5filter) for apache2? Which one should I use in which environment?
0
votes
2answers
36 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 ...
0
votes
1answer
121 views

I cannot install APC

I have php 5.3.6 and ubuntu. I want to install APC. When I do the $ pecl install apc, I eventually get an error: In file included from /tmp/pear/temp/APC/apc.c:44:0: ...
0
votes
2answers
74 views

How do I set up IIS7 to pass everything through to Joomla?

Context: IIS7, Win7, Joomla 1.5 With this URL, http://website/foo , if I have a subdirectory called "foo" in the root of the Joomla install, IIS7 tries to find index.php in it and returns a 403 ...
-1
votes
1answer
50 views

Why is Apache2 unable to start after configuring httpd.conf to work with PHP?

I successfully installed the BitNami Redmine stack on Windows Server 2003. Everything worked perfectly. Because I want to install phpMyAdmin, I had to install PHP as well. I made a few changes to the ...
1
vote
2answers
72 views

PHP is not executed on apache2

I run apache (Apache/2.2.14 Ubuntu). PHP is not executed. I noticed that the line AddType application/x-httpd-php .php .html .htm was missing from /etc/apache2/apache.conf I tried adding the line ...
0
votes
2answers
83 views

APC does not load when calling PHP from cli

After installing APC on CentOS 5 via pecl install apc, APC does not load when PHP is called from the CLI (when called from apache, it loads without any problems). The error I get is: root@server ...
1
vote
1answer
108 views

Unable to load dynamic libraries (pcre,spl,gettaxt,mhash,snmp,sockets,tokenizer)

I'm a bit new to freeBSD and trying to set up a webserver. I've managed to get phpmyadmin installed and phpinfo(); works fine. But when i typ in 'php -v' i get some warnings: PHP Warning: PHP ...
-1
votes
1answer
89 views

Why are there tons of PHP processes open on my server?

Today I saw that a website of mine isn't working so I ssh'd to the server and executed ps -eF. I see about 200 PHP processes that are running all for 4 hours. Apache is built with mpm event and mod ...
0
votes
1answer
43 views

mydomain.com/info.php doesn't works but mydomain.com:8008/info.php works

Sorry the title, but I don't know how to name this question. I'm on a dedicated server on ubuntu 11.04. It runs with plesk 10.3. I change the listen port of apache 80 -> 8008 When I go into my ...
-1
votes
1answer
70 views

Cpu usage from top command

How can i get the result like example following. Any command or scripts? Snapshot u1234 3971 1.9 0.0 0 0 ? Z 20:00 0:00 [php] <defunct> u1234 4243 3.8 0.2 64128 43064 ? D 20:00 0:00 ...
0
votes
2answers
79 views

Adding a CLI for PHP5 on live server

I want to add command-line support for PHP5 on my server. When I run aptitude install php5-cli I get a message saying that my PHP modules/packages have unmet dependencies. Here is a list of packages ...
1
vote
1answer
69 views

Intermittent error 404 during higher loads. (nginx/php/apc/mysql)

I have a 4 cpu core VPS with 4GB ram. It is running Ubuntu 10.04 with nginx/0.7.65, PHP 5.3.2, and MySQL. I use php5-fpm for the communication to nginx. I also have php5-apc complimenting with php ...
1
vote
1answer
195 views

How can I protect files on my NGiNX server?

I am trying to protect files on my server (multiple types), with NGiNX and PHP. Basically I want people to have to sign in to the website if they want to access those static files like images. ...
0
votes
1answer
80 views

PHP in Windows 2008 64-bit slow

I have un 4GB RAM AMD Opteron machine (3.2GHz quad) on 64-bit Win2k8 RS2 -- installed Apache Lounge 32-bit version (as general consensus is no big speed win between 32-bit and 64-bit) with thread-safe ...
2
votes
1answer
83 views

Unknown Apache2 + PHP5 FastCGI 500 error .. caused by search engine bots?

My Ubuntu server is configured with Apache 2.2.8 and PHP 5.2.4-2ubuntu5.18 in FastCGI mode. Everything works well, except I am seeing 500 errors that only seem to come from bots accessing the server.. ...
1
vote
1answer
33 views

Running PHP 4 and PHP 5 at the same time on the same site using Apache on Windows

Most results I get on google is how to get both versions running simultaneously on the same server but at different URLS but that's not what I want. I'd like, for example, to get http://localhost to ...
2
votes
1answer
42 views

apache 2.2 with php 5.3 and miscrosoft sql 2008 crash

I am using Apache 2.2 with PHP 5.3 and Microsoft SQL Server 2008 on Windows Server 2008 64-bit. Every 3 to 5 hours, I get the error in the event viewer that Apache crashed for 20 seconds and then ...
1
vote
1answer
50 views

php session_start() permisson denied

PHP Notice: session_start(): ps_files_cleanup_dir: opendir(/var/lib/php5) failed: Permission denied I am getting it in my apache error log /var/lib/php5 owner and group is root, so is it fine ...
0
votes
3answers
286 views

unable to start wamp server

problem to start wamp server error log is [Sat Nov 12 22:01:00 2011] [notice] Apache/2.2.17 (Win32) PHP/5.3.5 configured -- resuming normal operations [Sat Nov 12 22:01:00 2011] [notice] Server ...
3
votes
1answer
132 views

IP flooding despite mod_evasive?

I have an Apache 2 server running PHP5, prefork MPM, eaccelerator and modevasive. My server sometimes goes down, apparently due to flooding from some IPs. At least this is what I understand from ...
0
votes
0answers
59 views

Apache hitting max processes

I have an Apache 2 server running with PHP 5, prefork MPM and eAccelerator. It communicates with a Mysql server. It serves ~200k requests per day and it usually works fine with 20 to 30 apache ...
0
votes
2answers
25 views

Memory requirements for PHP + MySQL on Windows platform

I have cloud server at RackSpace that has 2GB of memory. OS is Windows Server 2008 R2 x64. As of now server is pretty fast. I plan to configure IIS and install SQL Server Express 2008 R2 x64, so ...
0
votes
2answers
36 views

Only allow access to /directory from a specific domain?

I have multiple domains pointing to the same site. Example: I have www.admin-domain.com pointing to /var/www I have www.test.com pointing to /var/www/test directory and this is OK. Example: ...
0
votes
1answer
229 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
1answer
91 views

Mounting an S3 bucket onto a AWS Ubuntu instance issues

i'm using s3fuse to mount an s3 bucket onto ubuntu, so that i can take advantage of the storage space. here are some environment info: System Info: Linux ip-xxx-xxx-xxx-xxx 2.6.38-8-virtual ...
-2
votes
2answers
78 views

Need help updating PHP 5.2 to 5.3 (on Debian Lenny)

I need to update 5.2 to 5.3 in one of our servers urgently. My unix skills are limited so please be as specific as possible. Is there any way to do this easily with apt-get upgrade ?
0
votes
0answers
65 views

PHP5-FPM does not create unix socket directory within /var/run

I've set up my php5-fpm to bind to a unix domain socket within /var/run/php5-fpm. /etc/php5/fpm/pool.d/www.conf listen = /var/run/php5-fpm/$pool.sock The problem is that it will not automatically ...
0
votes
1answer
42 views

php5-mysql Ubuntu

I'm currently working in Ubuntu 11.04 I tried installing sudo apt-get install libapache2-mod-auth-mysql php5-mysql phpmyadmin But its throwing me an error Reading package lists... Done Building ...
0
votes
1answer
53 views

Error 500 message - but only for certain pages/ operations

I'm a bit confused and bewildered by a problem I seem to be having with Apache/ PHP. Whenever I try to open certain pages, I'm confronted by an error 500 message. For example, if I try to edit a View ...
1
vote
2answers
440 views

Configure php5-fpm for many concurrent users

EDIT: Added some configs and a clarification on how many is "many", as requested by anthonysomerset. EDIT 2: Added fastcgi_cache to nginx config, as suggested by SleighBoy. I run a server for a ...

1 2 3 4 5 7