Welcome to MobyThreads.com!
FAQFAQ   SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

PHP not parsing through some virtual hosts.

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Related Topics:
Virtual Hosts - Hi everyone, I am new to apache, so if my question is answered in the groups faq, or on the apache web site, feel free to tell me to f**k off and read there. However I have looked through the manual, and cant find any reference to the issues im having.

Virtual hosts and SSL? - Hello I'm trying to setup this apache 1.3 server for virtual hosts, with ssl. I've got the normal port 80 working, but the SSL is a bit of a mess. If I have the SSL pages in the real part of the server, ie, then..

Virtual Hosts? - I'm wanting to use one IP address to host multiple domains, ie web hosting. I assume that are the thin I need to focus on here and is this basically a similar concept to Host Headers in IIS 5.0? I'm running Windows 2000 with Apache 2.0.46 ..

Virtual Hosts and Suexec - Hi, I am using with an external vhost map file to configure virtual hosts with Apache 1.3.27 however I have now come to a stumbling block in trying to figure out how to setup suexec for each virtual host. As far as I can see,..

problem with virtual hosts - Hello, I have a problem with my I don't why my 2 go to the same page and the is different for the 2 virtual hosts. (I've put some for som Thanks. Bye :-) ..
Next:  file does not exist: /usr/local/apache2/htdocs/_v..  
Author Message
simrin

External


Since: Mar 24, 2004
Posts: 1



(Msg. 1) Posted: Wed Mar 24, 2004 3:22 am
Post subject: PHP not parsing through some virtual hosts.
Archived from groups: alt>apache>configuration (more info?)

I have just recently installed new php 4.3.4, mysql and apache2 on my
server. Things had been running fine and while everything seems to be
configured properly I am having some problems getting certain php
pages to parse. I can't get any of my virtual hosts to parse the php
files in them. Everytime I try I just get a blank page. However on
one of the virtual host directorys I have phpmyadmin which is written
in php but is protected by some internal http authentication. It
loads and is viewable just fine. Anyone have any thoughts why it
works but no other php will parse for me.

I have this set for DiretoryIndex and also have
DirectoryIndex index.php index.html index.html.var

But it isn't just index.php that wont load. I try to hard load other
php files to no avail. Anyone know what I am missing here?

 >> Stay informed about: PHP not parsing through some virtual hosts. 
Back to top
Login to vote
davideyeahsure

External


Since: Nov 03, 2003
Posts: 2907



(Msg. 2) Posted: Wed Mar 24, 2004 2:38 pm
Post subject: Re: PHP not parsing through some virtual hosts. [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Simrin S. Grewal <simrin.DeleteThis@simrin.net> wrote:
 > Everytime I try I just get a blank page.

maybe your system isn't recognizing the <? tag. Check if you have
the 'short tag' enabled in your PHP settings. When you get the
white page, switch to 'view source' and see if the PHP tag are
still there, if they are, then the PHP interpreter isn't doing his
job.

Davide

--
| All this wheeling and dealing around, why, it isn't for money, it's
| for fun. Money's just the way we keep score.
|
|<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: PHP not parsing through some virtual hosts. 
Back to top
Login to vote
simrin1

External


Since: Mar 24, 2004
Posts: 2



(Msg. 3) Posted: Wed Mar 24, 2004 8:31 pm
Post subject: Re: PHP not parsing through some virtual hosts. [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

I don't get anything on a view source. I can drop an index.html in my
directories and they work fine but none of the php pages do. Short Tags are
enabled. I just can't figure out why it isn't processing these.
"Davide Bianchi" <davideyeahsure.TakeThisOut@onlyforfun.net> wrote in message
news:c3rrvr$2c7760$2@ID-18487.news.uni-berlin.de...
 > Simrin S. Grewal <simrin.TakeThisOut@simrin.net> wrote:
  > > Everytime I try I just get a blank page.
 >
 > maybe your system isn't recognizing the <? tag. Check if you have
 > the 'short tag' enabled in your PHP settings. When you get the
 > white page, switch to 'view source' and see if the PHP tag are
 > still there, if they are, then the PHP interpreter isn't doing his
 > job.
 >
 > Davide
 >
 > --
 > | All this wheeling and dealing around, why, it isn't for money, it's
 > | for fun. Money's just the way we keep score.
 > |
 > |<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: PHP not parsing through some virtual hosts. 
Back to top
Login to vote
davideyeahsure

External


Since: Nov 03, 2003
Posts: 2907



(Msg. 4) Posted: Wed Mar 24, 2004 10:52 pm
Post subject: Re: PHP not parsing through some virtual hosts. [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Simrin S. Grewal <simrin.RemoveThis@simrin.net> wrote:
 > I just can't figure out why it isn't processing these.

No information in the apache's log files?
Davide


--
| Drugs may be the road to nowhere, but at least they're the scenic
| route!
|
|<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: PHP not parsing through some virtual hosts. 
Back to top
Login to vote
simrin1

External


Since: Mar 24, 2004
Posts: 2



(Msg. 5) Posted: Thu Mar 25, 2004 12:19 am
Post subject: Re: PHP not parsing through some virtual hosts. [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

I am looking at this right now when I just type in php on the command line
from root. I think since all the code that is failing to show has some db
calls or db configs invovlved I think this may be part of the problem.

PHP Warning: Unable to load dynamic library '/usr/lib/php4/mysql.so' -
libmysqlclient.so.10: cannot open shared object file: No such file or
directory in Unknown on line 0

When I installed everything on here I did rpms for the mysql stuff and I
remember forcing the shared libraries. Even though I pointed my php
configuration scrip at install to look at the new mysql install I think it
may have bombed out on that. Know anyway to resolve this or is my best best
to recompile mysql from source and then recompile php and apache2?
Simrin S. Grewal

"Davide Bianchi" <davideyeahsure.TakeThisOut@onlyforfun.net> wrote in message
news:c3sot1$2baivv$1@ID-18487.news.uni-berlin.de...
 > Simrin S. Grewal <simrin.TakeThisOut@simrin.net> wrote:
  > > I just can't figure out why it isn't processing these.
 >
 > No information in the apache's log files?
 > Davide
 >
 >
 > --
 > | Drugs may be the road to nowhere, but at least they're the scenic
 > | route!
 > |
 > |<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: PHP not parsing through some virtual hosts. 
Back to top
Login to vote
davideyeahsure

External


Since: Nov 03, 2003
Posts: 2907



(Msg. 6) Posted: Thu Mar 25, 2004 8:36 am
Post subject: Re: PHP not parsing through some virtual hosts. [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Simrin S. Grewal <simrin RemoveThis @simrin.net> wrote:
 > PHP Warning: Unable to load dynamic library '/usr/lib/php4/mysql.so' -
 > libmysqlclient.so.10: cannot open shared object file: No such file or
 > directory in Unknown on line 0

DOH!

 > Know anyway to resolve this or is my best best
 > to recompile mysql from source and then recompile php and apache2?

You could edit the configuration file for PHP to point to the
correct libraries, but I've always compiled my stuff myself, never
used pre-compiled packages, this way I know where the stuff is and
what's in there.

See the documentation for PHP.

Davide


--
| In Boston, it is illegal to hold frog-jumping contests in nightclubs.
|
|
|<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: PHP not parsing through some virtual hosts. 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]