Hi all,
I'm having difficulties installing phpwcms 1.2.5-DEV. Here is my system configuration:
Windows 2000 Server
IIS 5.0
php 5.1.2
mysql 4.1.16
My problem is that I can never get past step one of the install. I enter my mysql db info and check "create all db tables". When I click "send db data" I always get "Please proof your database settings."
I can login to the database manually from this machine using the same info given to phpwcms. I also checked to see if there was any data in the database after running this step and it seems all the correct tables have been created. But I can't get past step 1.
Please pass on any wisdom you might have. I'd pass on any log info but I can't find any useful info in IIS's logs nor in my php log.
Thanks
Trouble installing phpwcms 1.2.5-DEV under IIS
Hi
sorry - no real answer but if you use the Searchfunction of this Forum you will find a lot of Threads about IIS.
But if it is possible to you, I would prefer the Apache-Server. There is a 'Run Out of the Box' Kit named XAMMP http://www.apachefriends.org
It seems very difficult to get run on IIS - or most of us has no practice with IIS - maybe that's the reason !?
sorry - no real answer but if you use the Searchfunction of this Forum you will find a lot of Threads about IIS.
But if it is possible to you, I would prefer the Apache-Server. There is a 'Run Out of the Box' Kit named XAMMP http://www.apachefriends.org
It seems very difficult to get run on IIS - or most of us has no practice with IIS - maybe that's the reason !?
Thanks for the response Pico. I've searched for problems with IIS on the forum and the information was very useful. I had to fix the IIS document root problem before coming to this one. So far I haven't found an entry that relates to this problem.
I'd prefer to use Apache as that is also what I am familiar with, however the client requires that everything be done with IIS. They are a windows shop. Yet they insist on php and mysql. :/ Maybe I can convince them to use Apache.
I'll keep looking in the forums. Thanks again.
I'd prefer to use Apache as that is also what I am familiar with, however the client requires that everything be done with IIS. They are a windows shop. Yet they insist on php and mysql. :/ Maybe I can convince them to use Apache.
I'll keep looking in the forums. Thanks again.
I'm not a IIS person but the super-global array $_SERVER does not have the same keys in certain conditions or circumstances (Switches contexts based on the Register Globals and/or FASTCGI or something_
PHP comes with some "default" options in php.ini file that need changing
Anyways... check if file has comments (and google "register globals iis" for more)
BUT Maybe try something like this?
An additional possible problem ~may~ be that IIS does not support which is used in the script in other files
those instances might need to be changed to:
/include/inc_lib/general.inc.php
/include/inc_tmpl/content/cnt16.inc.php
/include/content/cnt13.inc.php
/include/content/cnt16.inc.php
/include/content/cnt20.inc.php
PHP comes with some "default" options in php.ini file that need changing
Anyways... check if file has comments (and google "register globals iis" for more)
BUT Maybe try something like this?
Code: Select all
// paths
$phpwcms['DOC_ROOT'] = substr($_SERVER['PATH_TRANSLATED'],0, strlen($_SERVER['SCRIPT_NAME']) * - 1);Code: Select all
$_SERVER['REQUEST_URI'];those instances might need to be changed to:
Code: Select all
$_SERVER['SCRIPT_NAME'];/include/inc_tmpl/content/cnt16.inc.php
/include/content/cnt13.inc.php
/include/content/cnt16.inc.php
/include/content/cnt20.inc.php