PHP 5.6.8 to 5.5.x. What is the best practice when trying to do so?

Hi everyone,
I've been using Arch for a while and I really try hard to really keep it simple.
Most of the time I'm able to do so, but right now I'm not sure what should I do.
I have LAMP stack installed using PHP 5.6.8.
What I don't like about it is that most of rolling release linux distributions just don't care about the fact that most of PHP software (unless it is very simple) will break due poor backward compatibility of PHP itself.
Ideally, distribution should pack all currently developed versions of such software as PHP (5.6/5.5/5.4) is, but this is not the case....
So, basicaly I can't run Magento on it.
I have been investigating my options and I ended up here:
https://wiki.archlinux.org/index.php/Ar … ck_Machine
It seems that it expects me to have old version in pacman cache which i don't have (I have been using vagrant with virtualbox before).
Also, it seems that I could install it from AUR, but I can't find 5.5.x package.
So, what can i do?
It seems that there is no Arch setup capable of running Magento at this point?
Is it really my only option to do everything from scratch?
Sorry, if I'm missing something obvious.

Hi everyone,
I've been using Arch for a while and I really try hard to really keep it simple.
Most of the time I'm able to do so, but right now I'm not sure what should I do.
I have LAMP stack installed using PHP 5.6.8.
What I don't like about it is that most of rolling release linux distributions just don't care about the fact that most of PHP software (unless it is very simple) will break due poor backward compatibility of PHP itself.
Ideally, distribution should pack all currently developed versions of such software as PHP (5.6/5.5/5.4) is, but this is not the case....
So, basicaly I can't run Magento on it.
I have been investigating my options and I ended up here:
https://wiki.archlinux.org/index.php/Ar … ck_Machine
It seems that it expects me to have old version in pacman cache which i don't have (I have been using vagrant with virtualbox before).
Also, it seems that I could install it from AUR, but I can't find 5.5.x package.
So, what can i do?
It seems that there is no Arch setup capable of running Magento at this point?
Is it really my only option to do everything from scratch?
Sorry, if I'm missing something obvious.

Similar Messages

  • What is the best program language for mass email (PHP,  ASP, Coldfusion)?

    I want to be able to send mass email (from a SQL db) with
    stability and reliability.
    I've used Coldfusion for some time (CFmail tag) and have not
    been impressed.
    It seems, at times, it has a mind of it's own, and is a
    little unreliable, especially
    when sending hundreds of emails at one shot. I'm not dogg'n
    Codfusion,
    that's what I program in, I just am looking for a method that
    I can build on.
    My question is this: What is the best and most reliable
    coding when sending mass email?
    Is it PHP, ASP, XML, Coldfusion....what?
    You would think there has to be an optimum option out
    there...right?
    Thanks for the knowledge!

    Beezy wrote:
    > say ...500-5,000, maybe larger. Any ideas?
    >
    I've used CF to send out as many as 50,000+ emails in a
    single blast and
    haven't ever had any problems with it. Particularly with CF
    Enterprise,
    CF is an extremely high-performance mail generation engine.
    Remeber
    that CF itself doesn't send the mail so you're dependent upon
    the speed
    of your mail server as a large part of the equation as well.
    Matt
    Matt Woodward
    [email protected]
    Adobe Community Expert - ColdFusion

  • What is the best way to pass a var from php to a swf to swf

    Hi,
    Whats the best most correct or professional (less chances of error or most efficient) way of sending a var from php to a swf container and then to a swf that is loaded with the loader class from the container???
    Thanks

    Hi Kglad thanks for the answer,
    Yes using AS3, I think I didnt give u enough info though.
    The thing is the php file is actually the index file which has the first swf lets call it conatiner.swf embeded and conatiner.swf then calls the other swf lets call it main.swf by using URLloader. So I dont think I can user URLloader on the index.php file, and I cant put the code in another .php file and call it because I need data from the index.php file specifically.
    Any ideas?
    I know I can use flash vars for the first step of the index.php to container.swf but im trying to avoid it cause im not so familiar with it or embedding and theres two diferent embedding methods im using depending on the site and im probably going to have to change them again later on cause im still having an issue.
    Thanks

  • Whats the best practice to simply manage data using php sql?

    Hi
    I'm trying to follow some tutorials but there is too much old material and I'm getting confused.
    This is basic. I have a db and I want to movement data from flex.
    So, this is how I'm trying to do so. As a newbie, I will try to be clear.
    I have created a simple table called "teste" using myphpadmin with only 2 fields for testing.  (id, name).
    I have created the services automaticly using flex to generate a php code.
    This code is a simple exercise with buttons to add, update, and delete a Item.
    Although there is a lot of auto-generated code, I had a lot of work (due to my ignorance) to make it work.
    It fairly works, but I know veteran users would make it better, smarter, shorter, and ALL I WANT is a better (and simple) example to follow
    Please.
    Thanks in advance
    ps. I have set my table field "name" to the 'utf8_unicode_ci' while creating it and I it seems the adobe's generated php can't handle latin chars.
    THE CODE AS FOLLOWS:
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                      xmlns:s="library://ns.adobe.com/flex/spark"
                      xmlns:mx="library://ns.adobe.com/flex/mx"
                      minWidth="955" minHeight="600"
                      xmlns:valueObjects="valueObjects.*"
                      xmlns:testeservice="services.testeservice.*"
                      creationComplete="application1_creationCompleteHandler()" >
    <fx:Script>
              <![CDATA[
                   import mx.collections.ArrayCollection;
                   import mx.controls.Alert;
                   import mx.events.FlexEvent;
                   import mx.events.ListEvent;               
                   import spark.events.IndexChangeEvent;
                   import spark.events.TextOperationEvent;               
                   //selected item
                   public var selId:int;
                   //------GET ITEM (init)------------------------------------------------------
                   protected function application1_creationCompleteHandler():void
                        tx_edit.addEventListener(KeyboardEvent.KEY_UP,parallelEdit)
                        getAllTesteResult.token = testeService.getAllTeste();                    
                   //------SELECTED ITEM ID------------------------------------------------------          
                   protected function list_changeHandler(event:IndexChangeEvent):void
                        selId = event.currentTarget.selectedItem.id;
                        lb_selectedId.text = "sel id: "+ selId;
                        if(tb_edit.selected) tx_edit.text = event.currentTarget.selectedItem.name;
                   //------ADD ITEM-----------------------------------------------------
                   protected function button_clickHandler(event:MouseEvent):void
                        var teste2:Teste     =     new Teste();
                        teste2.name                = nameTextInput.text;
                        createTesteResult.token = testeService.createTeste(teste2);
                        application1_creationCompleteHandler();
                   //------UPDATE ITEM (in parallel)-----------------------------------------------------
                   private function parallelEdit(e:KeyboardEvent):void
                        if(!isNaN(selId) && selId > 0){
                             if(tb_edit.selected){
                                  //uptadating
                                  teste2.id                     = selId;
                                  teste2.name                = tx_edit.text;
                                  updateTesteResult.token = testeService.updateTeste(teste2);
                   //------UPDATE ITEM (button click)-----------------------------------------------------
                   protected function button3_clickHandler(event:MouseEvent):void
                        teste2.id                     = parseInt(idTextInput2.text);
                        teste2.name                = nameTextInput2.text;
                        updateTesteResult.token = testeService.updateTeste(teste2);
                   //------DELETE ITEM------------------------------------------------------     
                   protected function button2_clickHandler(event:MouseEvent):void
                        if(!isNaN(selId) && selId > 0)     deleteTesteResult.token = testeService.deleteTeste(selId);
              ]]>
         </fx:Script>
         <fx:Declarations>
              <!-- this part was mostly auto generated -->
              <valueObjects:Teste id="teste"/>
              <testeservice:TesteService id="testeService" fault="Alert.show(event.fault.faultString + '\n' + event.fault.faultDetail)" showBusyCursor="true"/>
              <s:CallResponder id="createTesteResult"/>          
              <s:CallResponder id="getAllTesteResult"/>
              <s:CallResponder id="deleteTesteResult"/>
              <s:CallResponder id="updateTesteResult"/>
              <valueObjects:Teste id="teste2"/> 
         </fx:Declarations>
              <!-- this are just visual objects. Renamed only necessary for this example
                    most lines were auto-generated-->
         <!--Create form -->
         <mx:Form defaultButton="{button}">
              <mx:FormItem label="Name">
                   <s:TextInput id="nameTextInput" text="{teste.name}"/>
              </mx:FormItem>
              <s:Button label="CreateTeste" id="button" click="button_clickHandler(event)"/>
         </mx:Form>     
         <!--Create Result -->
         <mx:Form x="10" y="117">
              <mx:FormItem label="CreateTeste">
                   <s:TextInput id="createTesteTextInput" text="{createTesteResult.lastResult as int}" />
              </mx:FormItem>
         </mx:Form>
         <!--List -->
         <s:List x="10" y="179" id="list" labelField="name" change="list_changeHandler(event)">
              <s:AsyncListView  id="anta" list="{getAllTesteResult.lastResult}" />
         </s:List>
         <!--Update in parallel -->
         <s:Label x="147" y="179" id="lb_selectedId"/>
         <s:Button x="147" y="222" label="Remove" id="button2" click="button2_clickHandler(event)"/>
         <s:TextInput x="225" y="257" id="tx_edit"/>
         <s:ToggleButton x="147" y="257" label="Edit" id="tb_edit"  />
         <!--Update with button click -->
         <mx:Form defaultButton="{button3}" x="220" y="0">
              <mx:FormItem label="Id">
                   <s:TextInput id="idTextInput2" text="{teste2.id}"/>
              </mx:FormItem>
              <mx:FormItem label="Name">
                   <s:TextInput id="nameTextInput2" text="{teste2.name}"/>
              </mx:FormItem>
              <s:Button label="UpdateTeste" id="button3" click="button3_clickHandler(event)"/>
         </mx:Form>
    </s:Application>

    Sorry - I had to read up on what a base table block was.
    I think I am. In this particular form I have one block - a customer block which has its items pulled in from the customer table, no problems there, it works fine.
    My problem is I need to make it as user friendly as possible, if the user inputs the wrong customer ID (or does not know their name) I want them to be able to scroll through the customer list using an up or down button.
    When do you have the commit_form statement run, (the OK button) after every change or after a block of changes ? Commit writes the changes to the database giving other users access to that data right ?! How often should it be used ?

  • PHP/MySQL Test/Production Server best practices

    Hello,
         I am currently learning PHP/MySql and have setup a test server to develop on and a production server to go live with. I wanted to know what are the best practices for synchronizing the test server with the production. Should I export the database from the test server and import it to the production server each time I make a change or is there better way to incrementally sync the databases. I am using Dreamweaver to design the web site.
    Thanks,
    Nick

    Thanks, but does this mean that after I go live I should make changes on the production database only and not use the development database, if say I need to add a new table or record(s)?
    Procedure
    1. Take production web site down
    2. Export/Save current database
    3. Make changes to production database
    4. Export/Save new database
    5. Bring production web site up
    Is this correct?

  • Flex, PHP, MySQL Best Practices?

    When using the HTTPService to invoke PHP/ database
    transactions what are some best practices to insure multiple
    simultaneous users successfully complete the transaction?
    So, in my Actionscript I build an object to pass to the PHP
    script that uses the values of the object to build a SQL query and
    executes the query, evaluating the result.
    Right now, I'm returning a text string from the PHP script
    (after error checking there) that simply says "ok" if the script
    succeeded.. and using that string in the HTTPService.Result
    (lastResult) listener.
    Anyone have any experiences to comment on?
    thanks,
    Dan

    Or use AMFPHP and pass typed objects back and forth. I find
    this much easier than working with XML. Once you've used AMFPHP on
    one project, you'll wonder why you bothered with XML. Or at least
    that's how it was for me. AMFPHP 2.0 should be released very soon -
    I believe they're just getting the docs ready.
    Cheers,
    Darren.

  • Best Practical JSP Book for PHP developer

    Hi Friends,
    I am new to JSP and want learn basics of JSP so that I can do simple web page works.
    I am a PHP developer with one and half years of experience.
    Can anybody tell me what is the best JSP book for beginners or any web link with lots of simple jsp example?
    --Sujoy                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Before you learn JSP, you need to learn Java. I heard 'Head First in Java' is a good book. Install Eclipse IDE (its free) and work through some of the book's examples in it (as you read the book from cover to cover). Then Install Tomcat (its free) and the tomcat plugin for Eclipse (its free). Then read a book on JSP (cover to cover). I like the book 'JSP in action'. It covers both JSP and servlets. Then, create a hello world JSP in Eclipse, then a hello world servlet in Eclipse.

  • VS.PHP vs PHP TOOLS for Visual Studio : which is the best ?

    Hi,
    I love Visual Studio. I use it since 2006 for c#, asp, WinForm project, etc. I have a question about PHP / Simple Web dev : 
    Which is the extention between VS.PHP and PHP TOOLS ?
    What i need :
    - Intellisence (auto completion all PHP core class and functions and major extention, project lib class and functions)
    - Powerfull debug, with break points etc...
    -Web server integartion (apache, nginx, mysql) 
    - Live edit over FTP
    - Publish over FTP the file projet
    - MySQL Integration (design tools, etc ?)
    [- Integration of some platform like Drupal or Wordpress (intellisence and debut)
    - Integartion with other HTML/Javascript framework (jquery, angular etc.) ]
    - CONTROL + K + D indentation for all documents
    Thanks for your opinion.

    Hi nicpulse,
    Thank you for posting in MSDN forum.
    Since this forum is to discuss: Visual Studio WPF/SL Designer, Visual Studio Guidance Automation Toolkit, Developer Documentation
    and Help System, and Visual Studio Editor.
    >>VS.PHP vs PHP TOOLS for Visual Studio : which is the best ?
    Based on your issue, since the PHP Tools and VS.PHP are involved to the Extensions tool,
    this extension tool is out of support range of this forum.
    In my option, I think that there have no specified answer about which is the best in the
    VS.PHP vs PHP TOOLS for Visual Studio.
    It is just depend on which is appropriate for your requirement, so I suggest you can see the feature about the VS.PHP and
    PHP Tools. And then choose which extension tool is appropriate your requirement.
    https://visualstudiogallery.msdn.microsoft.com/F5CFBE65-D843-4C96-8F24-2C169676504Chttps://visualstudiogallery.msdn.microsoft.com/6eb51f05-ef01-4513-ac83-4c5f50c95fb5
    In order to resolve your issue better, I suggest you post this issue to
    PHP Tools
    for Visual Studio or
    VS.Php for Visual Studio, click “Q AND A”, you will get better support there.
    Thanks for your understanding.
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • What are the differences between Cartweaver CF and PHP?

    I am on my final step of finishing the webpage that I am building and saw Cartweaver for a shopping cart that is compatible with dreamweaver. But I looked into the site and hey didnt give an explanation between the CF and PHP version. So I would like to know the differences and which one would work best with Dreamweaver Cs6.

    Hi Kendall,
    As far as application differences, functionality wise, there is no difference. Both Cartweaver 4 CF and Cartweaver 4 PHP function and present themselves exactly the same. As far as implementation there are very subtle differences due the the way CF and PHP work, but they both are very close and use "includes" to place the Cartweaver functionality in your site penetration pages.  The web based store admins work exactly the same for both.  So you get the same results no matter which direction you go.
    Now what is the difference between PHP and ColdFusion?  That is a very important question as it will impact what platform you use from now on - for this site, and possably future sites you build so this is worth taking a little time to consider.
    Which is best?  Well this could lead to a discussion like which is best Mac or PC?  There are evangelists and zealots on both sides. The real truth of the matter is both are good choices, you just need to decide which is best, for you.  One poster said "what does your host support"  -  good point, but if you are new to working with dynamic web sites and are deciding what platform you want to go with there are more important factors to consider than what your current host supports. You can always select a different host.
    The biggest difference between CF and PHP is they way they are written - PHP is script pasted, much like JavaScript, CFML is tag based much like html. Because of this CFML is often a little easier to learn because it's a bit easier to look at something and figure out what it's doing.  So you may want to take a little time looking at this aspect. 
    Fact is though, with either one because Cartweaver does the vast majority of anything to do with code for you, learning the language is something you may not choose to do anyway.  An advantage to PHP is that it has much wider support, so finding developers to help out, or hosts can easier with PHP. So if you don't have any desire to dig in and learn code as you go and only want to learn what's necessary to get your shopping cart site up, then the steps and learning curve are pretty much the same and PHP may be a good way to go.  If this raises more questions than it answerers, let me know I'd be happy to discuss this more with you offline.
    So, back to the basics - from a functionality point, they are both the same. You only need to choose which platform you think will work best for you and go from there.
    I hope this helps. If you have any other questions at all, ask away.
    Lawrence Cramer - *Adobe Community Professional*
    http://www.Cartweaver.com
    PHP & ColdFusion Shopping Cart for Adobe Dreamweaver
    Stay updated:
    http://www.facebook.com/cartweaver
    http://www.twitter.com/cartweaver
    http://blog.cartweaver.com

  • Omit the XML declaration when using the PHP MM_XSLTransform class

    Hi
    Is there any way to omit the XML declaration when using the
    PHP MM_XSLTransform class?
    When using the PHP MM_XSLTransform to transform some XML into
    HTML, the XML declaration is faithfully delivered, which is
    expected. In my case though this ends up in the body of the
    document and is not desired. I wish to choose that the XML
    declaration is not shown.
    I have tried to use the <xsl:output method="xml"
    encoding="utf-8" omit-xml-declaration="yes"/> in the XSL
    stylesheet but the declaration still appears.
    Any help?
    all the best
    Dave

    Jim20005 wrote:
    > I'm using XLS transfomation in DW for reading XML files.
    Now (I'm just back
    > form holiday), my webspace provider has updated to php
    5.1.5. I'm getting this
    > error:
    Comment out line 301 and add two new lines immediately after
    it like this:
    // $xml = DOMDocument::loadXML($content);
    $doc = new DOMDocument();
    $err = $doc->loadXML($content);
    This is part of a PHP 8.0.2 hotfix that can be obtained
    directly from
    Adobe support.
    David Powers
    Adobe Community Expert
    Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
    http://foundationphp.com/

  • PHP 5.0.5 CLI: Am I able to set the Oracle home directory at runtime?

    I have two versions of Oracle installed on a SUN Solaris server:
    /opt/app/oracle/product/8.1.7
    /opt/app/oracle/product/9.2.0
    Am I able to set the Oracle home directory at runtime using PHP CLI?
    Thanks,

    The real answer is it depends how PHP loads Oracle. If the loading
    occurs when PHP starts and before your script executes then you will
    start to see problems. This could be as minor as missing error
    message text or it could be more subtle. In general set the Oracle
    environment before starting PHP.
    What about creating your scripts like:
    #!/bin/sh
    export ORACLE_HOME=/opt/app/oracle/product/9.2.0
    php ...-- cj

  • For uploading PDF (in php) if (!=application/pdf) {"No PDF"} gives error when trying to upload PDF. Why?

    In a php upload file I have inserted:
    if($_FILES['file']['type'] !="application/pdf"){ echo "Should be PDF";}
    exit;
    Even when trying to upload a PDF file the error message comes: Should be PDF.
    Earlier this worked fine. Maybe a bug in an update?
    Regards,
    pluys

    I think I found part of a solution now. It is not Firefox, it is some add-on or plug-in. I myself use a lot of add-ons. I asked someone who was new to Firefox to load up a PDF file. There was no problem!
    So now I'm going to check all my add-ons, hoping it is not Firebug.
    All the best,
    Pluys

  • What is the difference between PHP & BSP

    Hi,
    I am new to BSP and worked on PHP + MySQL around 1 year.
    1. Could anyone tell me what are the differences between BSP & PHP?
    2. How is SDN is designed? does it use BSP?
    Regards,
    Sukhbold

    BSP has nothing to do with PHP. It's more like JSP... for e.g. you can put ABAP codingin your html site. In addition you can implement the different event handlers for processing data.
    I don't think SDN is written in BSP.

  • Php connection error "unable to retrieve operations or entities from the file"

    Hey,
    I get the following error when i connect the php service in Flash Builder 4.
    how can i fix it? thanks!

    The Zend Framework is installed correctly and working fine.
    But it is not able to find Mail.php file or Mail class in the Main.php file (verify these, remember the names are case sensitive).
    If it does not help, try reimporting the file again.
    Also, can you attach the Mail.php file instead of test.php file, which is failing.
    Remember that the file name has to be same as the contained class name.

  • What is the default directory for the PHP uploads, i.e. upload_tmp_dir = ?

    I would like to know the default directory that is referenced in the php.ini file under the category of "upload_tmp_dir =" for the OS X server 10.5.8.

    This is the best info that I have found:
    http://bugs.php.net/52460
    Still, just wondering what the default for 10.5.8 is supposed to be before I go and change the php.ini entries.

Maybe you are looking for

  • How do I turn off part repeat in record?

    Hi this is probably very simple but it's driving me nuts. Every time I record a software instrument part it repeats that recorded part in loop mode until the end. How do I turn this function off? thanks for any help.

  • ITunes will not open with iOS 7 update

    iTunes will not open with iOS 7 update

  • How to identify validation errors

    if the validation process shows an error in a CSS file is there any way to identify what is causing the problem? I have the following response from the DW validation process quote: Found 1 errors in external css files Affects: Internet Explorer 6.0;

  • How to cancel membership?

    I can't get a hold of anyone from this company to cancel and now my membership auto-renewed!

  • Can JFileChooser file name field return all entered chars

    In JFileChooser, if I want to get all entered characters from file name field, is there a method I can call? I used method chooserUI.getFileName() or chooser.getSelectedFile(). These two methods returned texts which missed back slash and forward slas