php-install Digest 4 Jan 2002 15:02:37 -0000 Issue 633
Topics (messages 5455 through 5459):
Re: PHP.ini file configuration
5455 by: Piotr Steininger
problems with include() [FreeBSD 4.2]
5456 by: Piotr Steininger
That include problem
5457 by: Piotr Steininger
imap/pop3 problems
5458 by: Johan Wald
Re: Can NOT get PHP 4.1.0 to run a Windows 2000/Apache 1.3.22<--HELP!!!
5459 by: ~fanta~
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[EMAIL PROTECTED]
----------------------------------------------------------------------
--- Begin Message ---
you need to edit the apache httpd.conf not the php.ini
good luck
Pete
"Paul Viazcan" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I have PHP4.0 installed on my webserver in Linux by my provider.
>
> I can run *.php scripts but I am use to creating web sights with *.phtml
> file extension.
> When I run the *.phtml file the web server can not seem to parse the
> file and it just displays the code.
>
> The tech people gave me the php.ini file to modifiy so that php can
> parse *.phtml files.
>
> There is one problem the tech people can not help me with configuring
> the php.ini file so have been researching in
> the php web page but to no luck..
> so if someone knows how I can get to where my *.phtml files can be work
> that will be great
>
> thank you -paul
>
>
--- End Message ---
--- Begin Message ---
Hi ... could anyone help me with this problem(might be trivial but can't
seem to get it to work)
so I try to include a file in the same directory called "menu.inc.php"
...
include("menu.inc.php");
...
but it won't include it and returns this:
Warning: Failed opening '1' for inclusion
(include_path='.:/usr/local/lib/php') in
/usr/local/apache/htdocs/rse/main.php on line 4
Fatal error: Call to undefined function: mymenu() in
/usr/local/apache/htdocs/rse/main.php on line 5
I'm running php 4.0.6 on Apache 1.3.17 or .20(either one of them...)
I don't know what's up with that.. the same thing works perfect on winXP
I appreciate any help
Pete
[EMAIL PROTECTED]
thanx
--- End Message ---
--- Begin Message ---
Ha..
by sheer chance I solved the problem
apparently the systax needs to be:
include ("filename");
and not
include("filename");
the little space turns out to be crucial ;)
hope you won't run into such stupid things
Pete
--- End Message ---
--- Begin Message ---
Hello!
When I do an imap_open(), all I get is this: (i've tried w/ both imap and
pop3)
Warning: Couldn't open stream {localhost:110/pop3}INBOX in
/www/htdocs/imaptest.php on line 2
imaptest.php contains the following:
<?
$mb = imap_open("{localhost:110/pop3}INBOX", "username",
"password");
?>
I use php 4.0.6 with apache 1.3.22, and my configure string is:
./configure --with-mysql \
--with-config-file-path=/www/conf \
--with-apache=$apachepwd \
--enable-track-vars \
--enable-trans-sid \
--with-imap=../imap-2001a \
--with-gd=/usr \
--with-jpeg-dir=/usr/lib \
--with-xpm-dir=/usr/X11R6 \
--enable-ftp
I've tried just about every c-client from 4.7 to 2001a, and followed the
installation
instructions on www.php.net.
I've checked with both tcpdump and netstat, and php doesn't even open a
connection....
Does anyone have a clue about what could be wrong?
Best regards,
Johan
--- End Message ---
--- Begin Message ---
Have you enable the php function in the apache configuration(httpd.conf)?
--
"Mark" <[EMAIL PROTECTED]> ¼¶¼g©ó¶l¥ó
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I am fairly new to PHP and just finished setting up Apache 1.3.22 and PHP
> 4.1.0 and can not get it to run correclty. I first tried loading by
module,
> but after trying that, apache would not load. I then tried the CGI
binary
> mode and was able to get apache loaded correctly, but when I try and load
a
> *.php file all I get is a blank browser window or it just opens and
displays
> the contents of the file. I also tried running the the file at the DOS
> prompt using c:\PHP php.exe filename.php and all I get is PHP.exe showing
> the contents of the file. Is that correct?? Am I missing something in
the
> PHP.ini file?? Do I need to make additional changes to my Apache config
> file?? Any input would be greatly appreciated. Thanks in advance.
>
> Mark
>
>
--- End Message ---