Using Windows 2000, Apache 1.3.1, PHP5, mySQL 4.0.18, and cpg 1.3.1...
trying to get past the install.php page... the page comes up, I fill out all of the fields, press lets go, and the page simply reloads - no error listed, etc.
Question is, where to go from here... Im more of a J2EE person, so this is my first install of PHP/Apache. Im fairly sure Apache to PHP is working, since the install page came up. Ive created a user in mySQL, and can log in w/ the user/pass I create from the mysql command prompt, so I think the mysql is ok... I am however a little foggy on the PHP to MySQL connection. I followed the PHP instruction manual for Apache, but I did not see anything for setting up PHP->mySQL which has me a bit concerned. Can anyone offer any suggestions as to what I may be missing? I am using basic installs for all products, and this is all that is running on the server so I don't have any software conflicts.
Any help would be greatly appreciated.
Thank you,
Chris
a blind guess: your server vars may not be configured properly. When on the install screen, do a "right-click", "show source code". Find<form
in the source code and copy'n paste the whole line the <form> tag is in into your posting here. Please post a link to your page as well. Make sure register_long_arrays is switched on in php.ini
GauGau
<form action="install.php" method="post">
Doesnt make too much sense to me... I guess that explains why it keeps returning to the same page. What VARs are you referring to? Is this part of the Apache setup that I missed?
almost forgot too - install server is on a local network - unfortunately I cant give a link which you can get too... my apologies, this wont make things any easier...
Thanks!
Hm, the server being not accessible for support makes it nearly impossible to help, as I'm pretty sure this is related to improper server setup. For a start, I recommend you try to install another usefull software you will need anyway sooner or later: phpMyAdmin. Get it running, it may give additional info or if you don't manage to set it up properly, you might find out what actually fails.
GauGau
OK - phpMyAdmin is installed. I can see the database I created (called cpg)... and it has no tables as you would imagine. Since this piece of software can see the database, does that not infer that the php/db connection is a-ok? You mention that it is an improper server setup - what do you mean by this - are you referring to Apache? what should that <form> line be linked to?
Thank you...
Chris
Quote from: GauGau on August 09, 2004, 06:31:58 PM
Hm, the server being not accessible for support makes it nearly impossible to help, as I'm pretty sure this is related to improper server setup. For a start, I recommend you try to install another usefull software you will need anyway sooner or later: phpMyAdmin. Get it running, it may give additional info or if you don't manage to set it up properly, you might find out what actually fails.
GauGau
from the phpMyAdmin dump of PHP info...
System Windows NT PLUTO 5.0 build 2195
Build Date Jul 13 2004 21:34:42
Configure Command cscript /nologo configure.js "--enable-snapshot-build" "--with-gd=shared"
Server API Apache
Virtual Directory Support enabled
Configuration File (php.ini) Path C:\WINNT\php.ini
PHP API 20031224
PHP Extension 20040412
Zend Extension 220040412
Debug Build no
Thread Safety enabled
IPv6 Support enabled
Registered PHP Streams php, file, http, ftp, compress.zlib
Registered Stream Socket Transports tcp, udp
Strange... but resolved...
I was accessing the install.php by typing in http://localhost/cpg131/install.php. (setting up on local machine... habit)
When I switched to using http://machinename/cpg131/install.php everything worked fine... guess there is a name resolve issue...
Thanks for the info.
Chris
:)
I also encounter this problem,
always return to install.sh.
I have tried several hours.
I use php 5.0.
I have changed php.ini register_long_arrays = on
,and It works now, thx.