Re: [Phpgedview-talk] Configuring of phpgedview
Brought to you by:
canajun2eh,
yalnifj
From: John H. <jmh...@op...> - 2007-05-10 11:28:24
|
Here are the details you are asking for 1. Version of Apache is 2.2 2. Not sure how to tell if I am running php as cgi or from apache module 3. I have got this working and showing all internal settings etc including a section on gd and mysql as required. 4. (This is no is repeated) This is first 4. in your email This is what I have in the httpd.conf file #BEGIN PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL LoadModule php5_module "C:/Program Files/PHP/php5apache2_2.dll" AddType application/x-httpd-php .php #END PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL In the 2nd no 4 - The DirectoryIndex line is as supplied by you 5. I added these from a reply I got via the help forum on phpGedView. This did not fix the problem. I have attached both the php.ini file and httpd.conf files in case you can see something thing else. Many Thanks John -----Original Message----- From: php...@li... [mailto:php...@li...] On Behalf Of waldo kitty Sent: Thursday, 10 May 2007 7:01 PM To: All About PhpGedView Subject: Re: [Phpgedview-talk] Configuring of phpgedview 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 ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Phpgedview-talk mailing list Php...@li... https://lists.sourceforge.net/lists/listinfo/phpgedview-talk |