[PHP-INST] Apache 2.x w/ mod_php

2002-09-02 Thread Jay Cornwall
Hi I've compiled and installed the latest stable version of mod_php (4.2.2 wouldn't compile without errors) with (Linux) Apache 2.0.40, and it seems to be working fine. My .php files are parsed correctly, but I was wondering if I can do the same for embedded PHP () in .html files? I've tried

Re: [PHP-INST] Bug?

2002-09-02 Thread Phil Driscoll
On Monday 02 September 2002 10:23 pm, Ken Kyler wrote: > > Any chance that there's a silly setting for auto_append_file or > > auto_prepend_file in php.ini? > > Good thought Phil - I disabled the auto_append_file and auto_prepend_file > and got the same result. Sadly tha last of my good thoughts o

RE: [PHP-INST] Bug?

2002-09-02 Thread Ken Kyler
> Any chance that there's a silly setting for auto_append_file or > auto_prepend_file in php.ini? Good thought Phil - I disabled the auto_append_file and auto_prepend_file and got the same result. Ken -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/

Re: [PHP-INST] Re: PHP, apache and Redhat 7.1

2002-09-02 Thread Peter
I have the lines: LoadModule php4_module libexec/libphp4.so AddModule mod_php4.c AddType application/x-httpd-php .php .php4 .php3 .phtml AddType application/x-httpd-php-source .phps I have stopped and restarted apache several times. Regards Peter Goggin - Original

Re: [PHP-INST] Repeating tasks by time,Can anyone help?

2002-09-02 Thread mhe
Don't make your php script resident in your memory. If you use linux, then use cron to make your script run every 5 minutes.' /Martin Citat Nima Dezhkam <[EMAIL PROTECTED]>: > Hello , > I have a question , How can we repeat a job by time in > php? I mean does something like a timer exist in ph

Re: [PHP-INST] Re: PHP, apache and Redhat 7.1

2002-09-02 Thread Chris Hewitt
Peter, It sounds like you have not added appropriate AddType and LoadModule lines in httpd.conf, or not restarted Apache. HTH Chris Peter Goggin wrote: >I have installed Redhat 7.2, Apache 1.3.26, php 4.2.2. > >I can get the web server working, but it does not appear to interpret >embedded ph

[PHP-INST] Repeating tasks by time,Can anyone help?

2002-09-02 Thread Nima Dezhkam
Hello , I have a question , How can we repeat a job by time in php? I mean does something like a timer exist in php, which can repeat a task for example in every 5 minutes? And how can a program become resident on server, I mean I have to write a php file, which should be always active,it should

Re: [PHP-INST] redhat-apache-php

2002-09-02 Thread Pierre-Alain Joye
On Mon, 02 Sep 2002 16:04:59 +0200 (CEST) [EMAIL PROTECTED] wrote: > You need to configure your apache to use php as a cgi, whenever a php file is > requested. Here is a link to a toturial. It is for installing in windows, but > the configuration af apache should bring you there. not really :-

Re: [PHP-INST] redhat-apache-php

2002-09-02 Thread mhe
You need to configure your apache to use php as a cgi, whenever a php file is requested. Here is a link to a toturial. It is for installing in windows, but the configuration af apache should bring you there. http://www.thickbook.com/extra/php_apachephp4_win.phtml /Martin Hjort Eriksen Citat

[PHP-INST] Re: PHP, apache and Redhat 7.1

2002-09-02 Thread Peter Goggin
I have installed Redhat 7.2, Apache 1.3.26, php 4.2.2. I can get the web server working, but it does not appear to interpret embedded php code. I have run /usr/bin/php -i >test.htm and the file generated displays in the browser. However even simple files with embedded php do not work. For exa

php-install Digest 2 Sep 2002 13:15:13 -0000 Issue 1005

2002-09-02 Thread php-install-digest-help
php-install Digest 2 Sep 2002 13:15:13 - Issue 1005 Topics (messages 8299 through 8304): new http server 8299 by: jose Can not get GD PNG support to work (from imagecreatefrompng to work) 8300 by: David Herring Re: Bug? 8301 by: Phil Driscoll 8302 by: Ken K

[PHP-INST] redhat-apache-php

2002-09-02 Thread Prometeo
Ok, i installed apache_1.3.24 in this way: 1)./configure --prefix=/usr/local/apache --enable-shared=max --enable-module=most 2)make 3)mke install so i installed php 4.2.2 1) ./configure -with-apxs=/usr/local/apache/bin/apxs 2)make 3)make install i think it is all right. i try localhost and it's

Re: [PHP-INST] Bug?

2002-09-02 Thread Phil Driscoll
On Monday 02 September 2002 9:49 am, Ken Kyler wrote: > Phil, > > Yes I agree that it does but it isn't. The following is the script--pure > HTML. > > Ken > > > > > > Untitled > > > > Hello world > > Any chance that there's a silly setting for auto_append_file or auto_prepend_file i

RE: [PHP-INST] Bug?

2002-09-02 Thread Ken Kyler
> Sure sounds like a faulty PHP script - can you post the script > it's happening to? Phil, Yes I agree that it does but it isn't. The following is the script--pure HTML. Ken Untitled Hello world -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP-INST] Bug?

2002-09-02 Thread Phil Driscoll
On Sunday 01 September 2002 10:37 pm, Ken Kyler wrote: > To whom do I report a bug? I can't get PHP 4.2.2 to run as a CGI on > FreeBSD 4.5-STABLE. I get... > > Parse error: parse error, unexpected T_STRING in /usr/local/bin/php on line > > > regardless of the compile options I use. > > Ken Sure