I'm using PHP 5.1.1 with Apache 2.0.54 and several virtual hosts. PHP
is installed as a module.
I've created a very simple test page containing <?php phpinfo(); ?> and
placed it at the doc root of three of my hosts. The main site hosted
by Apache executes the page perfectly and displays the expected output.
None of my virtual hosts, however, will execute the page. The virtual
hosts attempt to load the page for a long time, then timeout. No
errors are placed into my log files.
Does anyone have any suggestions as to what might be the problem?
Thanks,
Bob 7 2982
On 13 Dec 2005 07:45:59 -0800, Bob wrote: None of my virtual hosts, however, will execute the page. The virtual hosts attempt to load the page for a long time, then timeout. No
are the virtual hosts working with normal html files?
One of my favorite errors is forgetting to put the virtual host
domains in the local hosts table. This could be one reason why they
time out.
Marian
--
Kostenlose Tipps und Tricks zu PHP und MySQL http://www.heddesheimer.de/coaching/
make sure you are not putting some unresolvable host in virtual host?
--
Geeks Home www.fahimzahid.com
"Bob" <bd*****@luzerne.edu> wrote in message
news:11*********************@g14g2000cwa.googlegro ups.com... I'm using PHP 5.1.1 with Apache 2.0.54 and several virtual hosts. PHP is installed as a module.
I've created a very simple test page containing <?php phpinfo(); ?> and placed it at the doc root of three of my hosts. The main site hosted by Apache executes the page perfectly and displays the expected output. None of my virtual hosts, however, will execute the page. The virtual hosts attempt to load the page for a long time, then timeout. No errors are placed into my log files.
Does anyone have any suggestions as to what might be the problem?
Thanks, Bob
Marian,
Thanks for the reply.
The virtual domains were not in the host file, but I've just added
them. No change, PHP still doesn't work.
The virtual hosts are serving normal HTML files fine.
Bob
Thanks for the reply.
I have a fifteen virtual hosts and have verified each resolves
properly. I've just added each to the local host file as well.
Still no luck, PHP only executes properly from my first host.
Bob
On 19 Dec 2005 08:32:57 -0800, Bob wrote: The virtual hosts are serving normal HTML files fine.
can you check what source code the PHP-Files give back?
Is it just a blank text or is the php-code shown in the source like
<?php phpinfo(); ?>
Remark: The source code may not be shown in the browser, you have to
go to "Show Source" from the browser menu to see it properly.
Marian
-- http://www.lernpilot.de/blog/ (das Weblog)
Alles zum Thema Lernen
Marian,
Nothing is actually returned, the page just attempts to load
forever. If you have a chance, try hitting http://depts.luzerne.edu/phptest.php. This is the simple page
containing <?php phpinfo(); ?> which I had mentioned.
Bob
Hi Bob,
On 20 Dec 2005 04:51:54 -0800, Bob wrote: Marian, Nothing is actually returned, the page just attempts to load forever. If you have a chance, try hitting http://depts.luzerne.edu/phptest.php. This is the simple page containing <?php phpinfo(); ?> which I had mentioned.
that's strange. How did you install PHP on Apache? As CGI or as
Module?
Marian
-- http://www.lernpilot.de/blog/ (das Weblog)
Alles zum Thema Lernen This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Ringo |
last post by:
> > I'm trying to figure out how to access any VHosts
> > from samebox mode, or from pc connected to the same lan.
> > I've seen this done with Mac, but can't find how with win2k.
> > Can someone...
|
by: Alexandr Molochnikov |
last post by:
Hello,
I've spent a few days trying to get Apache and Tomcat work together via JK
module. First I followed the following HOWTO link:
http://www.johnturner.com/howto/winxp-howto.html
and...
|
by: bruce |
last post by:
Hi...
Update....
We have the following setup in our httpd.conf file. We've tried to give
what's related to the issue. We're trying to set up a virtual host for a
test project. The behavior...
|
by: bizt |
last post by:
Hi,
My knowledge of apache is nothing impressive,. I purely use it to run
local websites. I was wondering however, if it is possible to create
more local domains like localhost. I like my local...
|
by: BDE Consulting |
last post by:
I am going crazy. This has been a problem now for over a year and I
have yet to figure out what is causing it.
I have a single server that is running multiple domains. For this
example I will...
|
by: YoLed |
last post by:
Hello.
I would like to add PHP and MySQL yo me local Apache server.
So, I've seen it exist simple packages like EasyPHP, WAMP and MOV'AMP,
but the three seems to install Apache too and I'm...
|
by: Dale |
last post by:
again, i know this is OT...just move along to the next post if it bugs you.
:)
i had been trying to have this:
project.66.204.32.110
from the client browser, map to a virtual host where the...
|
by: Alec S. |
last post by:
Hi,
I've got Apache set up with some virtual hosts, each one producing it's own log
file. However PHP uses the same log file for everything.
I'm looking for a way to configure Apache and PHP...
|
by: josequinonesii |
last post by:
I've searched, I've read, I've tested and re-read numerous post but to no avail yet...
Quite simply, the settings I've applied to my httpd.conf, httpd-vhost.conf and my hosts files simply does not...
|
by: ryjfgjl |
last post by:
ExcelToDatabase: batch import excel into database automatically...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: jfyes |
last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
|
by: CloudSolutions |
last post by:
Introduction:
For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
|
by: Defcon1945 |
last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
|
by: af34tf |
last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
|
by: Faith0G |
last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome former...
| |