Tagged Questions
0
votes
3answers
26 views
Apache httpd offline installation on Debian
how can I install Apache HTTPD offline on a Debian Linux distribution?
On this case I have no internet access at all on this machine, so I was searching for binary distributions of Apache Httpd and ...
0
votes
0answers
28 views
Possible error in httpd.conf? php websites don't work
I have a server running Plesk 10.0.0, today I noticed that my website wasn't working, when I try to view it nothing is shown at all, it was working fine a couple of days ago.
I wondered if it was a ...
0
votes
1answer
30 views
suphp error Directory / is not owned by admin
I'm trying to run a test phpinfo page from:
/home/admin/testdomain.com
But it displays such error:
Internal Server Error
Directory / is not owned by admin
suPHP 0.7.1
My /etc/suphp.conf is like ...
0
votes
0answers
36 views
Multiple WordPress installations conflict with each other
I am managing a server for customers. Three customers use WordPress. Every time one works, the other two get down. I have to restart HTTPD, then the first website visited works, and the other two go ...
-1
votes
1answer
192 views
Can't restart my httpd service
I just made a change to my PHP.ini file. (my Linux dist is CentOS). I figured I need to restart apache for that to take effect so I issued the command:
service httpd restart
When doing that I get ...
2
votes
1answer
54 views
Temporarily stop everyone from accessing mysql DB
I am going to migrate a LAMP server tonight, it uses php and mysql with apache on centos. I want to stop people from accessing the site/database while I back it up. Will stopping httpd be a ...
-2
votes
2answers
218 views
Apache Alias / VirtualHost run as different user
I tried to create an alias or virtual host to run as different user.
Well below is part of apache httpd.conf that doesn't work.
Or, is it even possible?
<VirtualHost blah:80>
user ...
2
votes
1answer
324 views
Apache httpd processes and PHP out of memory
I have a VPS running apache-php-mysql on centos and a single drupal website installed.
The VPS has 256MB of RAM (could be the root cause of all my problems... maybe I just need more).
Whenever I try ...
0
votes
0answers
35 views
Default documentroot apache does not work
I have apache version 2.2 and php 5.3.15 on a single server.
I configured virtual hosting and a default vhost.
0_default_.conf -> goes to /var/www/default
sub.domain.com.conf -> goes to ...
0
votes
1answer
171 views
How to use the correct PHP version? phpinfo says another version
Fedora 17. I have a PHP version installed on my system, let name it as phpMain.
And I've compiled another PHP version from source using this option:
./configure --prefix=/opt/php/5.x.y
I will ...
2
votes
3answers
275 views
Calling sudo within a script that was called with sudo prompts for password even with NOPASSWD
A PHP program I am working with (LConf) calls a script using sudo.
I have allowed the user apache to run the script and have tested with sudo -u apache /usr/local/LConf/lconf_deploy.sh.
I am being ...
0
votes
3answers
250 views
Httpd process consuming loads of memory
I have a server which is giving me headaches. It hosts a couple of sites: these are either php based, or java based. I have a setup that uses apache2 + suPhp for the php sites, and apache2 + mod_proxy ...
1
vote
2answers
370 views
Apache's “OPTIONS * HTTP/1.0” running 100% CPU - Runaway httpd process
I have this recurring issue where an httpd processes will randomly start running at 100% CPU. Often other httpd processes will join in, and it will continue until I restart Apache. Oddly, the thing ...
1
vote
2answers
221 views
'/var/spool/cron' is not a directory, bailing out. when trying to work with crontab via PHP's shell_exec
I am creating a web application. Part of the functionality is depending on that the user can start/stop a cronjob that imports emails.
It doesn't work.
Just to make sure I'm on the right track, as ...
0
votes
2answers
244 views
Apache 2.2 on CentOS 5.5 doesn't serve PHP files after upgrade to php53
I just upgraded a CentOS 5.5 server (using Apache 2.2) to PHP53 (using the php53u set of packages).
All of a sudden, Apache doesn't appear to recognize .php files. It's just delivering the source.
...
3
votes
3answers
574 views
PHP-FPM and APC for shared hosting?
We are looking into finding a way to get APC to only create one cache per account / site. This can be done with Fastcgi (last update 2006…) but with Fastcgid APC will have to create multiple caches ...
0
votes
2answers
156 views
Apache 2.4 and SuExec configuration
If I want PHP and other scripts to run as their own user when accessed from a web browser, is this the right way to configure apache?
./configure --enable-so --enable-deflate --enable-expires
...
1
vote
3answers
532 views
Shared PHP Sessions in Load Balanced httpd environment
I have two httpd servers running PHP on RHEL 5.7. Initially I was sharing PHP sessions between the servers using a common NFS share that was hosted on a third server. This was causing slow downs and ...
0
votes
3answers
154 views
Scripts has stopped working after apache/php update
I have updated php to 5.3.1 now some of the scripts hosted on my vps have stopped working. This includes whmcs and fantastico. All these scripts are showing a blank page. now debugging each and every ...
1
vote
1answer
135 views
PHP won't run on Fedora 15
I have followed this exact tutorial on installing php on a Fedora 15 system.
I have all the necessary packages installed with no errors. Yet the simple phpinfo() test page will show - it will show a ...
4
votes
1answer
176 views
Apache + PHP-FPM = random “Error parsing script headers” + Seg Faults
I have PHP-FPM setup with Apache 2.4 using proxy_fcgi, all works fine, but every one in 4-6 requests, Apache returns a blank page. This happens on my main site http://danielhe.com/, but not subdomain ...
-1
votes
1answer
108 views
Php files won't open
I installed everything using powerstack and yum. I've checked over config files and havnt noticed anything. My phpinfo worked once then stopped. http://93.174.91.26/content/serverinfo.php. All other ...
0
votes
1answer
77 views
Permissions of httpd apache2 and running certain php commands
I ran some recursive linux command that changed the permissions to all my website files..
all files are now like
-rwxrwxrwx
and all dictionaries are.
drwxrwxrwx
I don't know if that has anything to ...
0
votes
2answers
117 views
CentOS httpd downloading pages instead of parsing them
Okay maybe this question has been asked before, I couldn't find the solution I searched both StackOverflow and Serverfault.
Fist of all I'm running
CentOS release 5.5 (Final)
I had by default PHP ...
0
votes
1answer
163 views
Apache uses more memory than PHP's memory_limit
I am having some issues on a server where multiple Apache processes are being spawned and eating up the physical memory and swap.
Each httpd process consumes around 130MB of RES. However, PHP's ...
1
vote
2answers
376 views
CPU Utilization LAMP stack
We've got an ec2 m2.4xlarge running Magento (centos 5.6, httpd 2.2, php 5.2.17 with eaccelerator 0.9.5.3, mysql 5.1.52). Right now we're getting a large traffic spike, and our top looks like this:
...
0
votes
2answers
337 views
Showing httpd.exe application error on server
I am running an online examination website on my localhost server. When I have attached eight other machines to the LAN to conduct a test, it generate an error message:
httpd.exe Application error
...
2
votes
3answers
285 views
Secure http transfer with ssh (tunnel)?
I have two servers which communicate over http. I wish this transfer be secure.
How can this be achieved? I do not wish to use use https (that would require ssl certificate,right?)
[SERVER-I] --> ...
0
votes
3answers
106 views
load a php page with a cron job
I am using a cron job to reload my httpd service after a subdomain is created. I have the problem that when the reload happens the page that registers the user throws a server error.
I was wondering ...
1
vote
3answers
182 views
is it possible to reload httpd from php
I have a LAMP server running on CentOS 5.5 64-bit and would like to reload my httpd service after making new subdomains.
I have 3 servers mounted onto my web server, and depending on what resources ...
0
votes
1answer
36 views
Getting PHP5 To install
It seems I am stuck with a 4yo build of PHP (PHP4.3.9 Built: 2007) and I am trying to upgrade. Right now, it's like a traffic puzzle, or a vicious cycle, whatever you want to call it. I try to upgrade ...
0
votes
1answer
368 views
Only my default Virtual Host will execute PHP scripts--500 error otherwise
This should be a simple thing to find, but I've spent over an hour on it--time to ask for some assistance. I have a very basic CentOS 5.5 box running two virtual machines. The first machine has been ...
1
vote
1answer
193 views
Will private dirty RSS used by mod_php ever be made available to other processes?
I've got PHP processes running that occasionally have to briefly use large amounts of RAM.
After PHP uses the large amount of RAM, the httpd process seems to keep the same private dirty RSS ...
0
votes
2answers
97 views
php not working after apache directory change
I have a dev box running and i changed the path of the vhost from /home/username/www to /home/username/public_html.
Retarted apache and now the site is giving me a 403 when i visit the site and php ...
0
votes
1answer
337 views
PHP in Mac OS X: PHP loads source code in browser rather than executing…
I don't know what to do. I read the related question on stackoverflow just like mine but those changes didn't work. I asked again on stackoverflow and they sent me here. They sent that I need to load ...
0
votes
3answers
680 views
dev/null and dev/null 2>&1?
What dose mean dev/null and dev/null 2>&1 ? if i run php -q /http/get_pdf.php
sorry for my short question when we run this file from url it will create a .pdf file and mail, we are looking to ...
1
vote
2answers
285 views
IDN and HTTP_HOST
So, when I want to link my users to a specific page I always use (in php): "http://" . $_SERVER["HTTP_HOST"] . "/page.php", to be sure that the link points to the page they're currently surfing (and ...
1
vote
4answers
942 views
Apache: reverse proxy to process PHP from another server
I have the following setup:
Plain-Server: Delivering php-files as plain text
Proxy-Server: Asking the Plain-Server for the php file and parsing it.
Now my question: How do I configure the ...
0
votes
3answers
807 views
php manual install; path to apxs2/mysql?
I'm building php from source..
just wondering which mysql path do I specify for --with-mysql= and --with-mysqli because whereis mysql returns:
whereis mysql
mysql: /usr/bin/mysql /usr/lib/mysql ...
3
votes
3answers
3k views
Fastest option for a PHP webserver
I need to serve a PHP app that handles lots of requests. I want to know if there's any real benefit in going with anything other than Apache, and what are the pros and cons of the alternatives.
I ...

