LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Slack 10.0 PHP4 -> PHP5 update (https://www.linuxquestions.org/questions/slackware-14/slack-10-0-php4-php5-update-307186/)

pdxluddite 03-28-2005 07:17 PM

Slack 10.0 PHP4 -> PHP5 update
 
hi all,

I'm running Slackware 10 on a couple different boxes; I can't upgrade to 10.1 just yet but needed to upgrade PHP to PHP 5. Server is Apache, MySQL is running, and SSL is running.

I know the 'right' way to do this is probably much more complex; but I tried a shortcut by downloading the PHP 5.0.3 package from the 10.1 "testing" directory and applied it using upgradepkg. Changed a single line in /etc/apache/mod_php.conf to point to php5 instead of 4, and phpinfo() _appears_ to show everything working correctly.

So it seems to have worked, but before I try it on a production machine wanted to ask the group to see if smoke would soon start pouring out of the boxes for doing it this way.

thanks in advance for feedback.

mdarby 03-28-2005 08:32 PM

Seemingly everything would be fine; you could run some test scripts to make sure of course.

pdxluddite 03-29-2005 01:37 AM

Thanks for the feedback; it seemed to work fine on a proto machine after testing so I went ahead and applied it to the other box. all seems well after restarting Apache and testing.


All times are GMT -5. The time now is 08:41 AM.