Thread: [Phpgedview-talk] Configuring of phpgedview
Brought to you by:
canajun2eh,
yalnifj
From: John H. <joh...@au...> - 2007-05-10 04:12:22
|
Team =20 I have run into an issue and hope that someone can point one in the right direction=20 =20 I have installed latest versions of Apache, mysql, eclipse, php and phpgedview beta version=20 =20 I have managed to get Apache, mysql, eclipse and php p and running as expected going by documentation.=20 =20 But When I go open the following page http://localhost/PGV/ I get the following presented to me and not what step 2 says.=20 =20 Index of /PGV=20 =20 * Parent Directory=20 =20 I do not get what is expected as outlined below:=20 =20 2 In the Database Username field enter the username root (unless you specified a different user for MySQL)=20 3 Leave the password field blank (unless you specified a password when configuring MySQL) =20 =20 Can someone please help me? =20 John Henriksen =20 PS I have posted this onto the phpgedview help Forum with one reply so far. I still have an issue =20 Everything is working as required to the checks requested at the different steps but for some reason I am not taken to a logon page for mysql phpgedview db as I would have expected.=20 =20 |
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 |
From: John H. <jmh...@op...> - 2007-05-10 11:28:24
Attachments:
httpd.conf
php.ini
|
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 |
From: waldo k. <wki...@al...> - 2007-05-10 18:50:27
|
i'm answering and keeping this in the list as it may be helpful to others with similar problems... a problem that many lists have is too much gets taken offlist when it would be beneficial to others so i tend to keep all my responses on the lists... call it old habit ;) John Henriksen wrote: > Here are the details you are asking for > > 1. Version of Apache is 2.2 ok... i've not worked with apache v2 stuff as of yet... shouldn't matter though... > 2. Not sure how to tell if I am running php as cgi or from apache module below you show that you are loading the module which indicates that you are running it as a module instead of kicking it off as an external app like from a .BAT file... module is good... > 3. I have got this working and showing all internal settings etc including a > section on gd and mysql as required. ok, good... > 4. (This is no is repeated) This is first 4. in your email yeah, i went back and added another question and was renumbering and got distracted... > 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 ok, there's both, the module load and the addtype... they have some sort of installer, hunh? should be ok... i've had to put all mine in manually... > In the 2nd no 4 - The DirectoryIndex line is as supplied by you ok... > 5. I added these from a reply I got via the help forum on phpGedView. This > did not fix the problem. one of them appears to have been entered by whatever installer adjusted apache for php to work... > I have attached both the php.ini file and httpd.conf files in case you can > see something thing else. no, i do not really see anything else... i want to verify, though, after rereading your original message... all you are seeing is a directory listing but no files? just parent directory?? if this is more accurate of what you are seeing when you try to access the http://yourhost/PGV/ directory, then we may be on to something... also, what OS is this running on? -- _\/ (@@) 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 13:05:01 avast! - copyright (c) 1988-2007 ALWIL Software. http://www.avast.com |