GeorgeVV
|
| Posted: 09/15/2004, 5:51 PM |
|
Hi,
We have used Windows/PHP4/MySql/Apache with MyODBC-3[1].51.06. driver for designing our website.
We copied MySql DB to a Linux machine and also copied all published PHP/Html files.
We changed MySql connection params in the Common.php file.
None of the pages are coming up. No errors in IE - just blank pages. Html templates are loading fine.
Any tricks on setting/configuring Windows PHP projects for Linux deployment?
Thank you
|
|
|
 |
Nicole
Posts: 586
|
| Posted: 09/17/2004, 2:20 AM |
|
George,
Please check the generated .php and .html files. If they’re empty it means that CCS trial is expired
_________________
Regards,
Nicole |
 |
 |
GeorgeVV
|
| Posted: 09/17/2004, 11:50 AM |
|
Nicole,
It is not a trial - full PHP version (we own 2 licenses).
The thing is that the published project works fine on Windows.
Each & every file is generated OK.
Now, if I copy these working files and move them to a Linux machine - nothing works.
The only difference is in MySql version - it is a bit older on Linux.
Thanks
|
|
|
 |
peterr
Posts: 5971
|
| Posted: 09/17/2004, 5:55 PM |
|
Goerge,
I suspect that the problem may be simple and easy to fix, but I don't have good ideas without being able to experiment with those blank pages.
But possibly try this:
Modify the code by typing "abc" somewhere at the beginning of a PHP script. If the page is still blank then possibly PHP doesn't work at all for some reason. Then try writing your own small PHP program with 1-2 lines of code to check if it works.
But if "abc" causes your program to crash, then move the "abc" line somewhere deeper in the program and run the page again. Do this until you narrow down to some specific line of code where "abc" doesn't cause your program to crash and you get the blank page.
You can also use echo command instead of "abc".
The point is that you may need to verify if any PHP programs are executed, or where exactly in the code the problem is.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com |
 |
 |
|