php-install Digest 25 Mar 2002 12:31:04 -0000 Issue 761
Topics (messages 6458 through 6465):
Re: php content not parsed
6458 by: Wayne Ayotte
6461 by: brian ally
problem compiling with mcrypt support
6459 by: brian ally
6463 by: Lucas Spiegel
php executable
6460 by: Robert Abbate
PHP 411, MsSQL & IIS Problems
6462 by: Jleguillou
Re: Stupid question
6464 by: Sijan Khadka
SMTP port Problem - php.ini
6465 by: Sijan Khadka
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 ---
ok, I forgot the AddType line in apache's config. Thanx anyways folks
"Wayne Ayotte" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> OK, I installed as per INSTALL, everyhting ok, no errors.
> I created the test file test.php: <? phpinfo() ?>.
> When I call up this page from a browser I simply get the markup
regurgated:
> i.e.: <? phpinfo() ?>.
> This is the same for any php markup.
>
> Any help would be appreciated.
>
>
--- End Message ---
--- Begin Message ---
Wayne wrote:
>OK, I installed as per INSTALL, everyhting ok, no errors.
>I created the test file test.php: <? phpinfo() ?>.
>When I call up this page from a browser I simply get the markup
regurgated:
>i.e.: <? phpinfo() ?>.
>This is the same for any php markup.
You probably forgot to add support for the php extension in httpd.conf:
AddType application/x-httpd-php .php
otherwise, apache treats it as a text file and doesn't pass the request
to the php binary.
er... i'm assuming you're using apache. i can't remember offhand the
exact name of the tab in the IIS manager thingy where you set this,
though it's really easy. Look for something about document types.
/b
--- End Message ---
--- Begin Message ---
Lucas wrote:
>I'm having a problem installing php with mcrypt support. Here's my setup:
>debian linux
>Apache/1.3.19
>php 4.1.2
>libmcrypt 2.5.0 (alternately tried mcrypt 2.2.6 and libmcrypt 2.4.22)
>I got libmcrypt to install, but when I try to configure php "with
mcrypt" I get problems.This is what I type to configure php:
>./configure --with-mcrypt=/home/myuserdir/php/
Hmm, so mcrypt is in your home directory? I installed mcrypt in the
default location (/usr/local/lib), then compiled php with, simply
--with-mcrypt (no =SOME_DIR). Have you tried that? Although, maybe it's
an issue with ld.so.conf ... sorry, Configure isn't my strong piint
--- End Message ---
--- Begin Message ---
Hello...
> >I'm having a problem installing php with mcrypt support. Here's my setup:
>>debian linux
>>Apache/1.3.19
>>php 4.1.2
>>libmcrypt 2.5.0 (alternately tried mcrypt 2.2.6 and libmcrypt 2.4.22)
>
>>I got libmcrypt to install, but when I try to configure php "with
>>mcrypt" I get problems.This is what I type to configure php:
>>./configure --with-mcrypt=/home/myuserdir/php/
>
>Hmm, so mcrypt is in your home directory? I installed mcrypt in the
>default location (/usr/local/lib), then compiled php with, simply
>--with-mcrypt (no =SOME_DIR). Have you tried that? Although, maybe
>it's an issue with ld.so.conf ... sorry, Configure isn't my strong
>piint
I have tried it without specifying the directory, but I think if I
don't it says it can't find it. I'm using my home directory because
I'm "virtual hosting" and if I don't, I get permission errors. What
is "ld.so.conf", and where would I find it?
Thanks,
Lucas
--
Fruition Design Collective
http://fruitiondesign.com
Against Patriarchy Conference (Eugene)
http://fruitiondesign.com/againstpatriarchy
Deal With It. (anti-sexist men's zine)
http://fruitiondesign.com/dealwithit
the Insurgent ("news" paper)
http://theinsurgent.org
--- End Message ---
--- Begin Message ---
hello. I used to have PHP installed by RPM and it had the ability to run php
from the command line like this:
[momma@ mysite.com]# php -q /home/mysite/test.php
now that I've removed the RPM and configured and installed PHP from the
source code distribution, I don't have that ability anymore. Is there any
way to do this?
Thanks
Robert
--- End Message ---
--- Begin Message ---
I use php411, with mssql and a IIS server.
I get the error "unknown function mssql_connect".
Except this, everything seems to be ok.
Thx to help me.
--- End Message ---
--- Begin Message ---
First of all make sure the file 'test.txt' is in the same directory as the
php file (test.php).....now look at your code very carefully...Did you find
the mistakes???....No....
I think this is how your code should look like....
<?php include ("test.txt") ; ?>
Hope this may help you...
ThanX,
Sijan Khadka
([EMAIL PROTECTED])
"Nicholas Mercier" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Okay I've read through the FAQ and bug reports and the like.
>
> However I've been running into a problem I can't figure out.
> After installing php to my Apache Server phpinfo() works find.
> However when I try <? include(test.txt) ?> I get the following error.
> Warning: Failed opening 'test2.txt' for inclusion
(include_path='C:\program
> files\apache group\apache\htdocs\') in c:\program files\apache
> group\apache\htdocs\test.php on line 3
>
> I have absolutely no clue how to address this issue.
>
> I am running Win2k
> I have IIS turned off and apache is working fine.
>
> Any help at all?
> Nicholas D. Mercier
>
> SUNY Potsdam
> 315-267-7593
>
--- End Message ---
--- Begin Message ---
I have Window 2000 server with PHP 4.1.2 installed.....
It has MailMax running in port 25 and Microsoft SMTP at port 22.
The problem is that the php mail() function is not working....
I get errors like -
Warning: Failed to Connect in D:\INETPUB\websites\sijan.com.np\mail\mail.php
on line 2
And
This is how the file 'php.ini' looks..
[mail function]
SMTP = localhost ; for Win32 only
sendmail_from = [EMAIL PROTECTED] ; for Win32 only
I think PHP is taking port 25 as default SMTP port....now i need to change
that to 22...
But i didn't find place to put port no. in it....
Please help me.... i really need to fix this urgently...
--
Sijan Khadka
sijan.com.np
[EMAIL PROTECTED]
--- End Message ---