[PHP] index.php not autoloading in apache

2008-08-25 Thread Vince Sabio
I am running PHP v5.2.6 on an Apache v2.2 server. For some reason, Apache is not automatically loading index.php files, even when there is no other index.* file in the directory; it will throw a you do not have permission to access [directory] instead. I have the following in my httpd.conf

Re: [PHP] index.php not autoloading in apache

2008-08-25 Thread Richard Heyes
Hi, Simply add Directory index.php to your config. Eg: LoadModule php5_modulelibexec/apache22/libphp5.so php_value session.save_path /tmp/ AddType application/x-httpd-php .php .phtml AddType application/x-httpd-php-source .phps DirectoryIndex index.php That's from meory so it may off, I

Re: [PHP] index.php not autoloading in apache

2008-08-25 Thread Richard Heyes
Simply add Directory index.php to your config. Eg: Oops, that should be: DirectoryIndex index.php -- Richard Heyes http://www.phpguru.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] index.php not loading up

2004-06-17 Thread Marek Kilimajer
Nguyen, Long P (Mission Systems) wrote --- napísal:: Doesn't look like it.. DocumentRoot /var/www/html short_open_tag is OFF. This means that ? does not mark the beginnig of PHP code. This: http://158.114.148.90/? echo $sys_graphics . alt=Keystone 2 / will result in this link:

Re: [PHP] index.php not loading up

2004-06-16 Thread John Nichel
Nguyen, Long P (Mission Systems) wrote: this is an entry in the php.ini file: error_reporting = E_ALL ~E_NOTICE where on the machine are the error logged to? Below that will be a line like this... display_errors = On If you setting is Off, change it to 'On', and restart your webserver. Also,

RE: [PHP] index.php not loading up

2004-06-16 Thread Nguyen, Long P (Mission Systems)
16, 2004 11:22 AM To: PHP Mailing Lists Subject: Re: [PHP] index.php not loading up Nguyen, Long P (Mission Systems) wrote: this is an entry in the php.ini file: error_reporting = E_ALL ~E_NOTICE where on the machine are the error logged to? Below that will be a line like

Re: [PHP] index.php not loading up

2004-06-16 Thread Greg Donald
On Wed, 16 Jun 2004 08:33:46 -0700, Nguyen, Long P (Mission Systems) [EMAIL PROTECTED] wrote: so going back to your original question - yes error set to display on, but I don't think I am seeing errors - where are the error logs? Depends on what web server software you're using. Mine are in

RE: [PHP] index.php not loading up

2004-06-16 Thread Nguyen, Long P (Mission Systems)
Systems) Cc: PHP Mailing Lists Subject: Re: [PHP] index.php not loading up On Wed, 16 Jun 2004 08:33:46 -0700, Nguyen, Long P (Mission Systems) [EMAIL PROTECTED] wrote: so going back to your original question - yes error set to display on, but I don't think I am seeing errors - where

RE: [PHP] index.php not loading up

2004-06-16 Thread R'twick Niceorgaw
Quoting Nguyen, Long P (Mission Systems) [EMAIL PROTECTED]: apache - and I would think that mine would also be /var/log/apache but that path does not exist - was this created automatically when apache was installed? probably its /var/log/httpd ? -R'twick -- This is a signature

RE: [PHP] index.php not loading up

2004-06-16 Thread Nguyen, Long P (Mission Systems)
: Wednesday, June 16, 2004 12:26 PM To: PHP Mailing Lists Subject: RE: [PHP] index.php not loading up Quoting Nguyen, Long P (Mission Systems) [EMAIL PROTECTED]: apache - and I would think that mine would also be /var/log/apache but that path does not exist - was this created automatically when

RE: [PHP] index.php not loading up

2004-06-16 Thread Michal Migurski
[Wed Jun 16 13:49:12 2004] [error] [client 158.114.144.121] File does not exist: /var/www/html/, referer: http://158.114.148.90/index.php3 [Wed Jun 16 13:49:14 2004] [error] [client 158.114.144.121] File does not exist: /var/www/html/, referer: http://158.114.148.90/index.php3 [Wed Jun 16

RE: [PHP] index.php not loading up

2004-06-16 Thread R'twick Niceorgaw
Quoting Nguyen, Long P (Mission Systems) [EMAIL PROTECTED]: Found it, thanks. The errors are: [Wed Jun 16 13:49:12 2004] [error] [client 158.114.144.121] File does not exist: /var/www/html/, referer: http://158.114.148.90/index.php3 /var/www/html/ check your httpd.conf file and see if

RE: [PHP] index.php not loading up

2004-06-16 Thread Nguyen, Long P (Mission Systems)
Doesn't look like it.. DocumentRoot /var/www/html -Original Message- From: R'twick Niceorgaw [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 16, 2004 1:10 PM To: [EMAIL PROTECTED] Subject: RE: [PHP] index.php not loading up Quoting Nguyen, Long P (Mission Systems) [EMAIL PROTECTED

[PHP] index.php not loading up

2004-06-15 Thread Nguyen, Long P (Mission Systems)
I am able to bring up a test.php file, but when I try to bring up this index.php file, the page does not load but the syntaxes below load up. Any ideas? Thank you. http://158.114.148.90/? echo $sys_graphics . alt=Keystone 2 / _ setCols(2); $loginBox-addRow('Username');

Re: [PHP] index.php not loading up

2004-06-15 Thread dave windsor
Assuming you're using apache and php 4, check httpd.conf for a the following data: LoadModule php4_module libexec/libphp4.so In the AddModule section: AddModule mod_php4.c AddType application/x-httpd-php .php .phtml If any of those aren't there, its possible that php

RE: [PHP] index.php not loading up

2004-06-15 Thread Nguyen, Long P (Mission Systems)
But if I am able to bring up test.php with the PHP configuration etc., then PHP is working right? -Original Message- From: dave windsor [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 15, 2004 10:47 AM To: Php-general Subject: Re: [PHP] index.php not loading up Assuming you're using

Re: [PHP] index.php not loading up

2004-06-15 Thread John Nichel
Nguyen, Long P (Mission Systems) wrote: But if I am able to bring up test.php with the PHP configuration etc., then PHP is working right? Do you have errors set to display in the php.ini? -- John C. Nichel KegWorks.com 716.856.9675 [EMAIL PROTECTED] -- PHP General Mailing List

Re: [PHP] index.php not loading up

2004-06-15 Thread Marek Kilimajer
Nguyen, Long P (Mission Systems) wrote --- napísal:: I am able to bring up a test.php file, but when I try to bring up this index.php file, the page does not load but the syntaxes below load up. Any ideas? Thank you. http://158.114.148.90/? echo $sys_graphics . alt=Keystone 2 / _

[PHP] index.php

2003-02-02 Thread Renato Lopes
Hi! I have called a index.php file in a directory. Every time I point my browser to that directory the contents of the directory gets displayed instead of the index.php file. Can anyone help? Thanks in advance Renato -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] index.php

2003-02-02 Thread Florin Dumitrescu
Hi, Add index.php to DirectoryIndex section in your httpd.conf file, if you're using Apache... HTH, Florin. On Sun, 2 Feb 2003 17:45:33 -0800 Renato Lopes [EMAIL PROTECTED] wrote: Hi! I have called a index.php file in a directory. Every time I point my browser to that directory the

Re: [PHP] index.php

2003-02-02 Thread Chris Shiflett
--- Renato Lopes [EMAIL PROTECTED] wrote: Every time I point my browser to that directory the contents of the directory gets displayed instead of the index.php file. It would help if we knew what Web server, but I will assume Apache and hope for the best. Locate your httpd.conf file, and add

Re: [PHP] index.php

2003-02-02 Thread Justin French
Strange -- can u change it to foo.php and execute it, or do you get a 404 error (not found)? Justin on 03/02/03 12:45 PM, Renato Lopes ([EMAIL PROTECTED]) wrote: Hi! I have called a index.php file in a directory. Every time I point my browser to that directory the contents of the

Re: [PHP] index.php

2003-02-02 Thread John Nichel
Can you hit it by typing the actual filename? http://www.mydomain.com/index.php If yes, check you httpd.conf file, and make sure that you have added index.php as a valid index file. Justin French wrote: Strange -- can u change it to foo.php and execute it, or do you get a 404 error (not

Re: [PHP] index.php question

2002-03-12 Thread Daniel Negron/KBE
[EMAIL PROTECTED] z.com cc: Subject: Re: [PHP] index.php question

[PHP] index.php question

2002-03-11 Thread Omland Christopher m
Hi all, I'm new to the mailing list, I hope I'm in the right spot. I have installed php, and .php files work fine, unless they are my index file. For example http://whatever.com/~jondoe/info.php will work. But if I make a index.php file and go to http://whatever.com/~jondoe it wont work. I can

Re: [PHP] index.php question

2002-03-11 Thread Samuel Ottenhoff
# # DirectoryIndex: Name of the file or files to use as a pre-written HTML # directory index. Separate multiple entries with spaces. # IfModule mod_dir.c DirectoryIndex index.php index.php3 index.html /IfModule Sam On 3/11/02 1:36 PM, Omland Christopher m [EMAIL PROTECTED] wrote: Hi

Re: [PHP] index.php question

2002-03-11 Thread Daniel Negron/KBE
: | | Subject: Re: [PHP] index.php question

Re: [PHP] index.php question

2002-03-11 Thread Jordan S. Jones
PM| ||| |+ --- --| | | | To: Omland Christopher m [EMAIL PROTECTED], [EMAIL PROTECTED]| | cc: | | Subject: Re: [PHP] index.php

[PHP] Index.PHP won't load like Index.HTML

2002-01-21 Thread Dion
I finally got PHP running on Apache in WinXP. I can execute PHP and all that, but I can't get it to open in index.php file like it would open an index.html file.. ie, first file it looks for in a new directory is index.xxx but it won't open the PHP file... Anyone tell me what i need to

Re: [PHP] Index.PHP won't load like Index.HTML

2002-01-21 Thread Nick Wilson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * On 21-01-02 at 20:44 * Dion said I finally got PHP running on Apache in WinXP. I can execute PHP and all that, but I can't get it to open in index.php file like it would open an index.html file.. ie, first file it looks for in a new

[PHP] index.php

2001-12-30 Thread Caleb Carvalho
Hi all, all the sudden my apache 1.3.22 is not showing my index.php page php-4.0.6, i have added the addtype .php inside httpd.conf not only that, i have also noticed that the ?php phpinfo(); ? is not working also, this is not displaying the test page, I am using netscape as a browser, do you

RE: [PHP] index.php

2001-12-30 Thread scott
4:40 AM To: [EMAIL PROTECTED] Subject: [PHP] index.php Hi all, all the sudden my apache 1.3.22 is not showing my index.php page php-4.0.6, i have added the addtype .php inside httpd.conf not only that, i have also noticed that the ?php phpinfo(); ? is not working also

Re: [PHP] index.php

2001-12-30 Thread Rambo Amadeus
you can make .htacces file and put DirectoryIndex /index.php That will work - Original Message - From: Caleb Carvalho [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: 30. prosinac 2001 10:40 Subject: [PHP] index.php Hi all, all the sudden my apache 1.3.22 is not showing my index.php