Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

php4 and apache

0 views
Skip to first unread message

Sylvain

unread,
Jul 2, 2001, 9:11:38 AM7/2/01
to
I am trying to install php4 as a module to apache.When
I'm trying to
test it with the http://localhost/test.php I am
recieving the page Not
Found page. My httpd.conf does have the correct AddType
and I did
restart apache after alle the change. So what when
wrong ?

Thank you

Sylvain

imbsysop

unread,
Jul 2, 2001, 9:52:49 AM7/2/01
to

Is your apache configured properly ? ie does
http://localhost
display the default index file in what you ste as "document root" ?
If this is not happening then yr apache is not configured properly for
starters ..

HTH

Sylvain

unread,
Jul 2, 2001, 12:08:13 PM7/2/01
to
imbsysop a écrit :
I do recieve the index page, what is happening is when I'm trying to
test php with a test page all I've got is the url not found. At the
installation of apache I did use in the configure option
--enable-module=most and enable-shared=max.

Sylvain

Webmaster (Nemesis Services)

unread,
Jul 1, 2001, 12:26:22 PM7/1/01
to
do you have test.php in your document root for localhost
"Sylvain" <ss...@myrealbox.com> wrote in message
news:3B409C6D...@myrealbox.com...

imbsysop

unread,
Jul 2, 2001, 12:27:59 PM7/2/01
to
In article <3B409C6D...@myrealbox.com>, Sylvain <ss...@myrealbox.com> wrote:
>imbsysop a écrit :
>>
>> In article <3B40730A...@myrealbox.com>, Sylvain <ss...@myrealbox.com>
> wrote:
>> >I am trying to install php4 as a module to apache.When
>> >I'm trying to
>> >test it with the http://localhost/test.php I am
>> >recieving the page Not
>> >Found page.

>I do recieve the index page, what is happening is when I'm trying to


>test php with a test page all I've got is the url not found. At the
>installation of apache I did use in the configure option
>--enable-module=most and enable-shared=max.

are you sure you have the php module enabled in yr httpd.conf ?

did you set the type extension to .php or .php3 ?
Is yr test.php in the document root ?
If on a *nix host is its permission set to readable for the httpd deamon ?
(ie something like chmod 755 test.php)

just a few suggestions off the top of my head ...

René Becker

unread,
Jul 2, 2001, 1:44:17 PM7/2/01
to
I don't know how familiar you are with Apache but be sure the file is in the
htdocs/ directory, unless you changed it in the httpd.conf.


0 new messages