apache + php error

Discussion of programming on Linux, including shell scripting, perl, python, c/c++, mono, java. Whatever tickles your fancy.
Post Reply
mrkkhattak
Site Admin
Posts: 285
Joined: Wed Aug 07, 2002 8:00 pm
Location: Karachi
Contact:

apache + php error

Post by mrkkhattak »

Assalamualaikum,

following is my apache configuration file, while i try to execute http://localhost/Publisher/index.php or http://localhost/Publisher/ it doesn't execute, but infact shows the dir. listing & the php sourece (for index.php) what i want is that. I have created the dir. Publisher & index.php in that ... what may be the error !

[ Warn ] child process 2787 still doesn't exit , sending a term a SIGTERM

sometime it gives this error ....


[ error ] [ client 127.0.0.1 ] File doesn't exist, /var/www/html/Publisher
[ error ] [ client 127.0.0.1 ] File doesn't exist, /var/www/html/Publisher/index.php

although i do have those files .... !

thank u ...
Kdaemon
Naib Subedar
Posts: 346
Joined: Sat Nov 30, 2002 12:22 pm
Location: Islamabad. GPS: LHR

ohh

Post by Kdaemon »

try renaming the file / location
is this is the only file that is not interpreted(by apache)
does it works fine with other pages
c that is is configrued for .php extension
Kdaemon
Naib Subedar
Posts: 346
Joined: Sat Nov 30, 2002 12:22 pm
Location: Islamabad. GPS: LHR

directory

Post by Kdaemon »

there is some kind of configuration
if localhost means that all the files are from some directory
I on win.os it is c:\apache\htdoc\
is your apache configured for /var/www/ for server files
digitalsurgeon
Naik
Posts: 61
Joined: Sat Jun 01, 2002 2:58 pm
Location: Islamabad
Contact:

Post by digitalsurgeon »

may be you need to make sure php is correctly installed !

and that apache is set to invoke php on .php files !
check your httpd.conf file in /etc/
qadri409
Cadet
Posts: 5
Joined: Fri Jan 31, 2003 10:35 pm
Contact:

Re: apache + php error

Post by qadri409 »

mrkkhattak wrote:Assalamualaikum,

following is my apache configuration file, while i try to execute http://localhost/Publisher/index.php or http://localhost/Publisher/ it doesn't execute, but infact shows the dir. listing & the php sourece (for index.php) what i want is that. I have created the dir. Publisher & index.php in that ... what may be the error !

[ Warn ] child process 2787 still doesn't exit , sending a term a SIGTERM

sometime it gives this error ....


[ error ] [ client 127.0.0.1 ] File doesn't exist, /var/www/html/Publisher
[ error ] [ client 127.0.0.1 ] File doesn't exist, /var/www/html/Publisher/index.php

although i do have those files .... !

thank u ...
salam there
i have done all this on WAMP (windows,apache,mysql,php)
you need to make hello hi beetween all these components.i'm ready to try it on LAMP (now L stands for linux ).
i will try to send you the link through i made all this but you have to waite a little
try to mend document root path in httpd.conf file of apache
load the php modules in apache in the same file or recheck these modules
and also check the php installation.have you installed a database or not if yes then you need to check the database connectivity ....and if you are using php-nuke then database could be the issue.
yea i remember the php executable path is realy important to include in hhtp.conf file of apache.
its all about what is where :)
wish you luck (har sa ba theek shee but don't let try go )
thanks
SHAHZAD QADRI
peshawar
mrkkhattak
Site Admin
Posts: 285
Joined: Wed Aug 07, 2002 8:00 pm
Location: Karachi
Contact:

Post by mrkkhattak »

Assalamualaikum,

Everything was okay then ... it seems that u didn't see when did I post this message :-) it was in August 2002 ... even now I don't know what was the real problem ;-)

but i know everything worked after some time. was her sa kha dey ...

regards,

-Meraj
Post Reply