Re: [PHP-INSTALL] Could not display PHP file

2005-07-08 Thread Brad Kowalczyk
Joseph Lee wrote: Hello, I installed PHP5 and MySQL on my Linux machine running Apache web server. I could access this server from another computer by http://(hostname)/index.html Then I created a simple hello.php file: But when I tried http://(hostname)/hello.php from another com

Re: [PHP-INSTALL] Could not display PHP file

2005-07-08 Thread Joseph Lee
I added AddType application/x-httpd-php .php to httpd.conf, and did # /usr/local/apache2/bin/httpd -k stop # /usr/local/apache2/bin/httpd -k graceful to restart httpd, but it asked me what application do I want use, or save the file to disk. I also changed to but it did hot help. I also tried

[PHP-INSTALL] Pear: command not found?

2005-07-08 Thread Adam Douglas
Hi. I've installed PHP 4.3.11 from source on to an OpenBSD i386 server however I've found out that pear script doesn't appear to be present. I discovered this when trying to install some pear packages doing "pear install packagename". I get a returned error of "-bash: pear: command not found". I'v

[PHP-INSTALL] PHP5 installation on Debian 3.0 Stable

2005-07-08 Thread tyler
Hi, Im trying to install PHP5 on Debian 3.0 Stable, but the compilation ends with this message: /root/software/php-5.1.0b2/ext/pcre/php_pcre.c: In function `pcre_get_compiled_regex_ex': /root/software/php-5.1.0b2/ext/pcre/php_pcre.c:1632: error: syntax error at end of input make: *** [ext/pcre/php

Re: [PHP-INSTALL] PHP5 installation on Debian 3.0 Stable

2005-07-08 Thread tyler
The distribuition of Debian that im using is 3.1 not 3.0 Thanks I mean - Forwarded message from [EMAIL PROTECTED] - Date: Fri, 8 Jul 2005 18:46:01 +0100 From: [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Subject: [PHP-INSTALL] PHP5 installation on Debian 3.0 Stable To: ph

Re: [PHP-INSTALL] Could not display PHP file

2005-07-08 Thread Joseph Lee
Hi, I found out that I needed to add the following 2 lines to httpd.conf: LoadModule php5_module modules/libphp5.so AddType application/x-httpd-php .php Now it's working fine. Thank you all for your help. Joe --- Joseph Lee <[EMAIL PROTECTED]> wrote: > I added > AddType application/x-httpd-php