You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by CJ <un...@yahoo.com> on 2003/11/05 20:31:27 UTC

[users@httpd] php problem

OK my problem that I posted earlier appears to be a
php problem. I have the module in thehttpd.conf file
but for somereason it is not working. 

Is there a way to test to see if php is work OK on the
server? Is there any log files for php? 

What should I look for? 
I have the same httpd.conf on another server (copied
to this server) and php works just fine. (different
host name etc basicaly the same file) Wonder what I am
missing. 

=====
Blessed are the pessimists, for they make backups!
Tell me and I forget. Show me and I remember. Involve me and I learn."
10101010011100101001001000011010000001000100101010101010
0011001010100010110010101000010001010000

__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] php problem

Posted by Robert Andersson <ro...@profundis.nu>.
CJ wrote:
> Robert,
>
> Here is my file. I did nto want to post it to the
> group so I am sending only to you.

I am not very familiar with Apache 1.3, so...

> AddModule mod_php.c


The only thing I can find is that you don't have "mod_php4.c" here, which is
suggested in the PHP installation guide.

Regards,
Robert Andersson


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] php problem

Posted by Robert Andersson <ro...@profundis.nu>.
CJ wrote:
> Ok I tried this and it gave me a blank page.
> Whne I try it on the otherserver it shows all the info
> you ever wanted to know about the php install.
> Now what???

Apache isn't letting the PHP modules parse the file. What changes have you
made to httpd.conf in order to enable PHP support?

Regards,
Robert Andersson


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


RE: [users@httpd] php problem

Posted by CJ <un...@yahoo.com>.
Which page source do you refer to? the info.php was as
the other person told me to do. 
<?php
  phpinfo();
 ?>
This returns nothing. 

--- Nyarlathotep <rl...@aqfl.com> wrote:
> What does the source on the page say?
> 
> -----Original Message-----
> From: CJ [mailto:unix1adm@yahoo.com]
> Sent: Wednesday, November 05, 2003 11:57 AM
> To: users@httpd.apache.org
> Subject: Re: [users@httpd] php problem
> 
> 
> Ok I tried this and it gave me a blank page. 
> Whne I try it on the otherserver it shows all the
> info
> you ever wanted to know about the php install. 
> Now what??? 
> 
> 
> --- Richard Harding <ri...@ricksweb.info> wrote:
> > CJ wrote:
> > 
> > >OK my problem that I posted earlier appears to be
> a
> > >php problem. I have the module in thehttpd.conf
> > file
> > >but for somereason it is not working. 
> > >
> > >Is there a way to test to see if php is work OK
> on
> > the
> > >server? Is there any log files for php? 
> > >
> > >
> > >  
> > >
> > The first thing I would do would be to create a
> php
> > file with only
> > <?php
> >   phpinfo();
> > ?>
> > and pull it up in a browser.
> > That will give you all the details on your php
> > installation and be the 
> > first step to letting you know if php is running
> ok.
> > 
> > Rick
> > 
> > 
> > 
> >
>
---------------------------------------------------------------------
> > The official User-To-User support forum of the
> > Apache HTTP Server Project.
> > See <URL:http://httpd.apache.org/userslist.html>
> for
> > more info.
> > To unsubscribe, e-mail:
> > users-unsubscribe@httpd.apache.org
> >    "   from the digest:
> > users-digest-unsubscribe@httpd.apache.org
> > For additional commands, e-mail:
> > users-help@httpd.apache.org
> > 
> 
> 
> =====
> Blessed are the pessimists, for they make backups!
> Tell me and I forget. Show me and I remember.
> Involve me and I learn."
>
10101010011100101001001000011010000001000100101010101010
> 0011001010100010110010101000010001010000
> 
> __________________________________
> Do you Yahoo!?
> Protect your identity with Yahoo! Mail AddressGuard
> http://antispam.yahoo.com/whatsnewfree
> 
>
---------------------------------------------------------------------
> The official User-To-User support forum of the
> Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for
> more info.
> To unsubscribe, e-mail:
> users-unsubscribe@httpd.apache.org
>    "   from the digest:
> users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail:
> users-help@httpd.apache.org
> 
> 
> 
>
---------------------------------------------------------------------
> The official User-To-User support forum of the
> Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for
> more info.
> To unsubscribe, e-mail:
> users-unsubscribe@httpd.apache.org
>    "   from the digest:
> users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail:
> users-help@httpd.apache.org
> 


=====
Blessed are the pessimists, for they make backups!
Tell me and I forget. Show me and I remember. Involve me and I learn."
10101010011100101001001000011010000001000100101010101010
0011001010100010110010101000010001010000

__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


RE: [users@httpd] php problem

Posted by Nyarlathotep <rl...@aqfl.com>.
What does the source on the page say?

-----Original Message-----
From: CJ [mailto:unix1adm@yahoo.com]
Sent: Wednesday, November 05, 2003 11:57 AM
To: users@httpd.apache.org
Subject: Re: [users@httpd] php problem


Ok I tried this and it gave me a blank page. 
Whne I try it on the otherserver it shows all the info
you ever wanted to know about the php install. 
Now what??? 


--- Richard Harding <ri...@ricksweb.info> wrote:
> CJ wrote:
> 
> >OK my problem that I posted earlier appears to be a
> >php problem. I have the module in thehttpd.conf
> file
> >but for somereason it is not working. 
> >
> >Is there a way to test to see if php is work OK on
> the
> >server? Is there any log files for php? 
> >
> >
> >  
> >
> The first thing I would do would be to create a php
> file with only
> <?php
>   phpinfo();
> ?>
> and pull it up in a browser.
> That will give you all the details on your php
> installation and be the 
> first step to letting you know if php is running ok.
> 
> Rick
> 
> 
> 
>
---------------------------------------------------------------------
> The official User-To-User support forum of the
> Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for
> more info.
> To unsubscribe, e-mail:
> users-unsubscribe@httpd.apache.org
>    "   from the digest:
> users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail:
> users-help@httpd.apache.org
> 


=====
Blessed are the pessimists, for they make backups!
Tell me and I forget. Show me and I remember. Involve me and I learn."
10101010011100101001001000011010000001000100101010101010
0011001010100010110010101000010001010000

__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] php problem

Posted by CJ <un...@yahoo.com>.
Ok I tried this and it gave me a blank page. 
Whne I try it on the otherserver it shows all the info
you ever wanted to know about the php install. 
Now what??? 


--- Richard Harding <ri...@ricksweb.info> wrote:
> CJ wrote:
> 
> >OK my problem that I posted earlier appears to be a
> >php problem. I have the module in thehttpd.conf
> file
> >but for somereason it is not working. 
> >
> >Is there a way to test to see if php is work OK on
> the
> >server? Is there any log files for php? 
> >
> >
> >  
> >
> The first thing I would do would be to create a php
> file with only
> <?php
>   phpinfo();
> ?>
> and pull it up in a browser.
> That will give you all the details on your php
> installation and be the 
> first step to letting you know if php is running ok.
> 
> Rick
> 
> 
> 
>
---------------------------------------------------------------------
> The official User-To-User support forum of the
> Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for
> more info.
> To unsubscribe, e-mail:
> users-unsubscribe@httpd.apache.org
>    "   from the digest:
> users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail:
> users-help@httpd.apache.org
> 


=====
Blessed are the pessimists, for they make backups!
Tell me and I forget. Show me and I remember. Involve me and I learn."
10101010011100101001001000011010000001000100101010101010
0011001010100010110010101000010001010000

__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] php problem

Posted by Richard Harding <ri...@ricksweb.info>.
CJ wrote:

>OK my problem that I posted earlier appears to be a
>php problem. I have the module in thehttpd.conf file
>but for somereason it is not working. 
>
>Is there a way to test to see if php is work OK on the
>server? Is there any log files for php? 
>
>
>  
>
The first thing I would do would be to create a php file with only
<?php
  phpinfo();
?>
and pull it up in a browser.
That will give you all the details on your php installation and be the 
first step to letting you know if php is running ok.

Rick



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org