Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Installing PHP5

Status
Not open for further replies.

deepsheep

Programmer
Sep 13, 2002
154
CA
I have an older webserver running NT 4. We currently run PHP 4. We want to upgrade to php 5.

Our problem is the C drive is very small and we would like to put PHP elsewhere. Is there any reason why we shouldn't be able to install it on one of the other drives? Are there any special steps to take to make it work?

Also, are there any known issues with php5? I've been looking, but can't really find any significant ones.

Thanks!
 
You should be able to install it anywhere you need to.


One "gotcha" that comes immediately to mind with PHP is the predefined arrays. PHP 4, by default, creates both the "long" arrays ($HTTP_POST_VARS, $HTTP_GET_VARS, etc.) and the "short" superglobal arrays ($_POST, $_GET). PHP 5, by default, only instantiates the "short" arrays. You can change this behavior with the php.ini setting "register_long_arrays", though I recommend changing your scripts to use the "short" arrays as quickly as possible.


Want the best answers? Ask the best questions!

TANSTAAFL!!
 
I did my upgrade this weekend. Here's what caught me up.

Windows installer doesn't seem to come with the new version of mssql.dll and I had to find it.

I had to recomplie our custom extention with the new header files for the new version of PHP. It was a pain but this artical was a big help: . However it doesn't mention that you need a reference to php5ts.lib in project Settings -> link.

I have a file of php functions called funtions.php. This file was not being included consistantly. Once it was renamed to the_functions.php it seemed to work ok.

I hope this will save someone else a bit of a headache.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top