Hi,
I'm pretty new to php and never had to setup or configure it before. My current machine has php 4 and i'd like to install and configure php 5. I've read other forum posts on this matter but i still need some assistance.
Firstly my reason for converting to php5.1 is to use the PDO functions for connection and exectuion of prepared statements on a DB2 database, especailly for procedure calls, which does not seem to work in php 4.
My concern is will all my other php 4 projects still work on successful completion of installtion of php 5.
How exactly do i install php 5? I've downloaded the version and pulled it onto my root in an php5 folder. Where do i go from here?
Php 5.1
Moderator: General Moderators
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
Are you installing it on Linux or Windows?
Also, is the HTTP server Apache or something else?
About the compatibility issues.
Most things PHP4 will just work in PHP5. Most of the changes in PHP5 are OOP based, and are mostly backwards compatible. There are a few function changes too such as paramaters being in different orders but nothing enough to cause you to have completely re-write an application.
Also, is the HTTP server Apache or something else?
About the compatibility issues.
Most things PHP4 will just work in PHP5. Most of the changes in PHP5 are OOP based, and are mostly backwards compatible. There are a few function changes too such as paramaters being in different orders but nothing enough to cause you to have completely re-write an application.
-
lisamarie_tt
- Forum Commoner
- Posts: 32
- Joined: Fri Jul 15, 2005 8:20 am
-
lisamarie_tt
- Forum Commoner
- Posts: 32
- Joined: Fri Jul 15, 2005 8:20 am
Sorry about that - Windows.
I've scrathced the 5.1 installtion and was able to successfully install php 5.0.5. What I would really like to achieve is a connection to a DB2 database to run a prepared statement call to a stored procedure.
On reading online docs i relaised that this could not be done with PHP 4 for I decided to upgrade there were two options available:
1 - install 5.1 which had PDO built in
2 - install 5.0.5 and manually install PDO
I opted for installation 2. My problem now is confguring pear.
I'm trying to do the maual installtion of the PDO library but when i run the command pear install PDO i'm getting the error - No release with state equal to: 'stable' found for 'PDO'
I'm trying to do the maual installtion of the PDO library but when i run the command pear install PDO_ODBC i'm getting the error - [No release with state equal to: 'stable' found for 'PDO_ODBC'
where do i go from here. Is there another way to setup the PDO library. I a bit lost.
Regards,
I've scrathced the 5.1 installtion and was able to successfully install php 5.0.5. What I would really like to achieve is a connection to a DB2 database to run a prepared statement call to a stored procedure.
On reading online docs i relaised that this could not be done with PHP 4 for I decided to upgrade there were two options available:
1 - install 5.1 which had PDO built in
2 - install 5.0.5 and manually install PDO
I opted for installation 2. My problem now is confguring pear.
I'm trying to do the maual installtion of the PDO library but when i run the command pear install PDO i'm getting the error - No release with state equal to: 'stable' found for 'PDO'
I'm trying to do the maual installtion of the PDO library but when i run the command pear install PDO_ODBC i'm getting the error - [No release with state equal to: 'stable' found for 'PDO_ODBC'
where do i go from here. Is there another way to setup the PDO library. I a bit lost.
Regards,