Re: [Phpgedview-talk] Configuring of phpgedview
Brought to you by:
canajun2eh,
yalnifj
From: waldo k. <wki...@al...> - 2007-05-10 09:01:38
|
John Henriksen wrote: > But When I go open the following page http://localhost/PGV/ I get the > following presented to me and not what step 2 says. > > Index of /PGV > > * Parent Directory > did you add the necessary filetype stuff to the apache config so that php files are processed by the php engine? it doesn't sound like it... 1. what version of apache are you running? 2. are you running php as cgi or from apache module? 3. do any php files execute? test by saving the following as phptest.php and accessing via http://yourhost/phptest.php <html> <head> <title>PHP Test</title> </head> <body> <?php phpinfo(); ?> </body> </html> you may need to remove the indenting... anyway, when you get the above to work, ensure that you remove it from your site as it gives a lot of internal site info that you really don't want getting loose... 4. if running from the apache module and no php files execute, do you have a line like so in your apache config? LoadModule php4_module libexec/modphp4.dll 4. have you added index.php to your list of index files like so? <IfModule mod_dir.c> DirectoryIndex index.html index.htm index.shtml index.php </IfModule> 5. have you added the necessary mime types so that apache knows what to do with php files? AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps -- _\/ (@@) Waldo Kitty, Waldo's Place USA __ooO_( )_Ooo_____________________ telnet://bbs.wpusa.dynip.com _|_____|_____|_____|_____|_____|_____ http://www.wpusa.dynip.com ____|_____|_____|_____|_____|_____|_____ ftp://ftp.wpusa.dynip.com _|_Eat_SPAM_to_email_me!_YUM!__|_____|_____ wkitty42 -at- alltel.net --- avast! Antivirus: Outbound message clean. Virus Database (VPS): 000739-1, 05/10/2007 Tested on: 5/10/07 05:01:27 avast! - copyright (c) 1988-2007 ALWIL Software. http://www.avast.com |