Jump to content

installing php 5 question


Recommended Posts

Yes if you use PHP5 you have to manaully enable the extension, just edit two lines in the php.ini if you're on Windows and you now have mysql support, for more details explainatio read my thread [a href=\"http://www.phpfreaks.com/forums/index.php?showtopic=87276\" target=\"_blank\"]here][/a]

Also if you want to upgrade PHP just download the [b]Zipped[/b] binaries package and extract the contents of the zip file where your PHP folder is setup to and overrite [b]ALL[/b] current files in that folder.

Now you need to edit your httpd.conf file and if you configured Apache to use PHP as a module you'll need to modify it slghtly, such as changing any instance of isapi/php4apache.dll or isapi/php4apache2.dll to php5apache.dll or php5apache2.dll

And thats it! You have now upgraded PHP, save your httpd.conf and restart Apache. If you did it in a different way or used a different server, like IIS, then it may take bit more editing.

If you're not on Windows and are using *nix based OS then you may need to recomiple PHP to the setup you want.
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.