1
vote
1answer
117 views

If statement that detects current server subdomain? [closed]

Trying to write a php if else statement along the lines of: if ($_SERVER['SERVER_NAME'] = local ) { Content here should display if the current url is for example, local.test.com } elseif ...
0
votes
3answers
194 views

How to send mail from local for development? [closed]

I am using XAMPP for local development and I am using the mail() function for sending the mail. But unfortunately it won't send the mail. I am not using any SMTP server in localhost. If I need to send ...
0
votes
3answers
187 views

Issue compiling PHP APC

I have downloaded the APC-3.1_9.tgz official version. When I followed the steps: tar -xzvf APC-3.1_9.tgz cd APC-3.1_9 phpize ./configure --enable-apc --enable-apc-mmap ...
0
votes
1answer
39 views

Including and excluding extensions — PHP installation

Note: This question is not only about the PEAR extension, it is in general. I disabled the PEAR extension by installing PHP on CentOS server with the following command: $ yum php --without-pear Now ...
0
votes
3answers
136 views

PHP not running in the browser, works fine from the command line

I've installed Apache, PHP and MySQL with no errors and I can run the PHP program from the command prompt. But, I can't get a PHP page to display in the browser. When I try to view a PHP page in ...
0
votes
2answers
241 views

Choosing a technology for a 20 million visitors / month project [closed]

Which technologies would you choose for: Over 20 million views a month Up to 100GB of database (MDF) $100,000 budget I'm planning to build this website using 4 servers of 2 x ASP.NET 4.0 and 2 x ...
0
votes
3answers
1k views

how to define multiple document roots in apache

I use root relative path for all the links in PHP files, like "url(/img/myimj.jpg)" In Godaddy host server, that works fine. But I want to run it in my local host. (Ubuntu 9, Apache 2, PHP 5) For ...
3
votes
4answers
67 views

domain serves content from subdomain on another website

I have several sub-domains on 1 website http://sub1.mysite.com http://sub2.mysite.com http://sub3.mysite.com I've also registered equivalent domains for each of these sub-domains at sub1.com ...
2
votes
2answers
4k views

Running multiple versions of PHP on Ubuntu

Is there an easy way to run multiple versions of PHP on Ubuntu 10.04 (desktop), and switching between them? I am spoiled with the very easy installation and switching of PHP in WAMP for Windows. This ...
3
votes
3answers
715 views

Transition domain to new web host without waiting for DNS propagation

I was considering switching to Amazon EC2 to host my website to handle more traffic. It seems like I would have to update DNS records to point to the new server but I was wondering if there was a way ...
2
votes
1answer
227 views

Setting up a Develop, Acceptance, Production for a single person business

My wife is a graphic designer who is starting her own business in the field of designing templates for wordpress other php based systems. I'm going to setup the servers (VMware with CentOS) so she has ...
0
votes
2answers
85 views

How to know which package of VPS to order?

What should I think about when ordering a VPS account (virtual private server), I have these questions that I would like answered: 1- How much processor 'power' do I need? I mean, they are offering ...