Re: PHP 4.2.3 and APACHE 1.3.27 showing PHP sources
| From: | John Coder | Date: | Sat, 04 Jan 2003 13:27:29 +0000 |
| Subject: | Re: PHP 4.2.3 and APACHE 1.3.27 showing PHP sources | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-9541@lists.php.net to get a copy of this message | ||
On Sat, 2003-01-04 at 06:48, Stefan Hoelzner wrote:
> Hi folks,
>
> PHP 4.2.3, APACHE 1.3.27, MOD_SSL 2.8.12-1.3.27, OPENSSL 0.9.6h, MySQL 3.23.53a on SuSE8.0
>
> whenever I compile Apache (with mod_ssl, although I think that does not matter) and PHP and
> start up with "apachectl start",
> all PHP-files don't get parsed, instead the PHP-sources are shown in my browser window.
>
> Yes, I have compiled PHP with --with-apxs=..., --with-config-file-path=/etc
> Yes, I have done cp ../php.ini-dist /etc/php.ini
> Yes, I have modified httpd.conf with "AddType application/x-httpd-php .php"
>
> Any ideas, *sigh*?
>
your php.ini is prolly in the wrong place I'm running the same setup you
are but my php.ini is in /usr/local/lib if your php is in /usr/local
then try moving the php.ini to /usr/local/lib
John Coder