new install php not working. Please help.

From: Patrick Fowler (pfowler_at_wynit.com)
Date: 10/30/03


To: php-general@lists.php.net
Date: Thu, 30 Oct 2003 14:17:16 -0500

Folks,

I did the fillowing install

./configure --prefix=/www --with-mysql --withmssql=/usr/share/freetds --with
-apxs=/www/bin/apxs --enable-track-vars --with-config-file-path=/www/conf

When I try access the index..php via the web the file it tries to download.
I checked all
of the config files and all looks good I can't find out why php will not
work. When I search for the php.ini it only brings up a file from the
/usr/src/php/php-4.3.3/pear/tests/php.ini Shouldn't this file be in the
/etc/ dir?
RH 9
Apache 2.0.48

httpd.conf
# LoadModule foo_module modules/mod_foo.so
LoadModule php4_module modules/libphp4.so

I can't get php to work.. Thanks for your help.

Patrick



Relevant Pages

  • Re: HELP: strange php behavior downloading html
    ... problem in less than an hour, using cURL with PHP. ... Here is the function I wrote to download a uri into a file (following ... all redirects, ignoring old cookies, and passing set cookies to redirects): ...
    (comp.lang.php)
  • Re: [PHP] Pirate PHP books online?
    ... > nothing to do with PHP. ... > I claim copyright and payment for the books I write about it. ... > it's unreasonable to expect readers to pay for it. ... could offer a download for a price which would be the same as what you ...
    (php.general)
  • Re: download files from a website
    ... Downloading file from web page using PHP, ... // browser must download file from server instead of cache ... // use the Content-Disposition header to supply a recommended filename ... // force the browser to display the save dialog. ...
    (alt.php)
  • Re: Hello: not so much php, more like HTML..?
    ... I want data files to be stored somewhere apache can't get to them directly, for security, but be available for download via a PHP script ... You mean Apache CAN get them, it's just not available with a straight HTTP request. ... Now it seems that if the opened URL is say a GET type form that takes some form of file ID, and is a PHP program itself, all I need to do is a mix of http_send_filetype stuff to push the data down a new browser 'window' ... I want to ensure they get downloaded to disk,and only if the local browser recognizes them, should they get opened by a local app. ...
    (comp.lang.php)
  • Re: download files from a website
    ... Downloading file from web page using PHP, ... // browser must download file from server instead of cache ... // use the Content-Disposition header to supply a recommended filename ... // force the browser to display the save dialog. ...
    (alt.php)