Announcement

Collapse
No announcement yet.

Updating PHP

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Updating PHP

    I've been doing some PHP coding in Actinic which will not work as I need version 5.. but nevermind.

    Guide to Upgrade your PHP version to 4.4.5

    This seems to work, I have not fully tested it out.. as of yet

    1. BACKUP YOUR STORE!!

    2. Close Actinic v8

    3. Go to your Actinic v8 directory and backup php.ini, php4ts.dll and php_gd2.dll.

    4. Download this file http://uk.php.net/get/php-4.4.5-Win32.zip/from/a/mirror

    5. Extract the php4ts.dll and php_gd2.dll files into your Actinic v8 directory, not the rest of the files!!

    6. Reload Actinic and it should be running PHP 4.4.5 - you can check this by doing the following:

    Code:
    <actinic:block php="true">phpinfo();</actinic:block>
    PHP 4.4.5 Change Log: http://uk2.php.net/ChangeLog-4.php#4.4.5

    Wonders of just playing around with Actinic files.

    Enjoy.
    Richard Smith
    www.hamradio.co.uk

    #2
    Hi, Richard

    You may be better directing users to a well known and trusted URL from which to download the necessary files.
    Norman - www.drillpine.biz
    Edinburgh, U K / Bitez, Turkey

    Comment


      #3
      I have selected the files out of the whole PHP zip package. Do you want to download the PHP package file (around 8mbs) just for two files?

      Everyone has different well known and trusted URL so where do you want me to put it? I just stuck it on our web server.
      Richard Smith
      www.hamradio.co.uk

      Comment


        #4
        Hi, Richard

        Do you want to download the PHP package file (around 8mbs) just for two files?
        Definitely - as I know and trust php.net (and the MD5 signatures they provide as added security).

        It's just that we all have to take on trust that your not malicious (highly unlikely) or that you don't have any malware on your system (unknown). It's that (unknown) that's the scary thing.

        I'm sitting here looking at that 8Mb zipfile (http://uk.php.net/get/php-4.4.5-Win32.zip/from/a/mirror) and can clearly see the two files I'd need. Earlier I clicked your link and instictively canceled when I saw it was an executable download.
        Norman - www.drillpine.biz
        Edinburgh, U K / Bitez, Turkey

        Comment


          #5
          Changed to keep you happy.. *sighs*

          Originally posted by NormanRouxel
          It's just that we all have to take on trust that your not malicious (highly unlikely) or that you don't have any malware on your system (unknown). It's that (unknown) that's the scary thing.
          Just highlighting this.. lets go to your website and download the .zip files.. do i know that it is malicious or not, will it have malware or not? I think you need to think about trusting people.. do you have MD5 signatures for your zip packages, no! So the word trust comes to mind..
          Richard Smith
          www.hamradio.co.uk

          Comment


            #6
            Ahah. I see the first post has changed to include the main zipfile.

            You'll also need to add instructions about only installing the required 2 dll's as this Zip contains 200 files.
            Norman - www.drillpine.biz
            Edinburgh, U K / Bitez, Turkey

            Comment


              #7
              Lets see, its from directly the PHP website.. I cannot change the file with a readme in it!

              *sighs*

              I am going to do some work now instead of wasting my time stating the obvious.
              Richard Smith
              www.hamradio.co.uk

              Comment


                #8
                Hi, Richard

                I'm sorry for putting you to all this trouble. I was merely pointing out that people might read your step 5 and unzip 198 spurious files into their Actinic program folder.

                PS all but 2 of my downloads can be eyeball tested as they contain plain text. The other 2 are generated by the Delphi compiler and are made read-only by me as soon as it finishes and they've been virus checked.
                Norman - www.drillpine.biz
                Edinburgh, U K / Bitez, Turkey

                Comment


                  #9
                  See your point, updated.
                  Richard Smith
                  www.hamradio.co.uk

                  Comment


                    #10
                    How do you 'do' that?

                    6. Reload Actinic and it should be running PHP 4.4.5 - you can check this by doing the following:

                    Code:
                    <actinic:block php="true">phpinfo();</actinic:block>
                    PHP 4.4.5 Change Log: http://uk2.php.net/ChangeLog-4.php#4.4.5

                    Sorry, this is a really stupid question, exposing my ignorance, but just how do I 'do' this in Actinic? I understand PHP, and have been using Actinic for a while, so I tried to copy the phpinfo code into a dummy page in Actinic. I expected this to generate the reams of information that phpinfo would normally generate, but it didn't produce any output at all.

                    Comment


                      #11
                      Do it in the design tab, not the content tree.

                      Comment


                        #12
                        Or put

                        !!<<actinic:block php="true">phpinfo();</actinic:block>>!!

                        into a Product Description.
                        Norman - www.drillpine.biz
                        Edinburgh, U K / Bitez, Turkey

                        Comment


                          #13
                          Originally posted by NormanRouxel
                          Or put

                          !!<<actinic:block php="true">phpinfo();</actinic:block>>!!

                          into a Product Description.
                          wow...that was an interesting experience!
                          Not being able to resist the urge to try that out (I'm nosey!)... it was like opening up an encyclopedia in a whole other language!!
                          Tracey

                          Comment


                            #14
                            Originally posted by NormanRouxel
                            Or put

                            !!<<actinic:block php="true">phpinfo();</actinic:block>>!!

                            into a Product Description.
                            Yes... OK... well... I tried that, and all it displays is the actual word 'phpinfo()'.

                            I've used !!< ... >!! previously to include snippets of html code successfully, so I did understand your suggestion.

                            I must be missing something really obvious here.

                            Comment


                              #15
                              Works fine in the full description field for me, you are either not copy pasting correctly or doing it in the wrong place i would expect.

                              Comment

                              Working...
                              X