3
gitpush
6y

PHP Devs quick question,
I have a project using PleskPHP5 (or that's the processor I found in config)

I'm a bit familiar with Laravel though I'm not sure, are they different? How to migrate to Laravel?

And the project was developed on Windows and I want to use it on Linux do I need to change anything?

I'm a complete noob in php but I want to learn with that project

Comments
  • 4
    PHP is platform independent, if it was bad programming maybe a few paths have to be fixed when there are hard-coded paths.

    Never heard of Plesk so can't help you with that. Laravel is really nice though
  • 1
    @Codex404 Thanks man, I'm setting up my environment now, if I try to run it on Laravel it will pinpoint all issues or how do I know if it is fully compatible?
  • 5
    Beyond file paths needing to be rewritten - mostly the whole “c:\path\to\file” becoming “/var/www/path/to/file” it should be alright.

    It’s been that long since I’ve done a cross platform migration I can’t remember the side affects, I think they were mostly going into windows though and not the other way.

    As for testing, this is where unit testing would be absolutely useful, otherwise you have a long few days ahead of you going over everything making sure it works as expected.
  • 4
    Laravel and Plesk are 2 entirely different things. Plesk is just a web host manager similar to cPanel.
  • 1
    @gitpush While I think Laravel is a great choice for learning proper PHP, I recommend you to upgrade PHP to version 7 or better 7.2. The performance increase is definitely worth the quick upgrade process and I hope the old code will still work. But then if it won't the rewrite is worth it.
  • 2
    @Wombat @200OK @C0D4 Thanks guys, I'll checkout what happens and see where it goes, I've completed setting up environment lets see what else could be done
  • 4
    Plesk 😬 all the luck my man, you'll need it πŸ˜…
  • 2
    @linuxxx why? Is it that bad 😨
  • 4
    @gitpush Most occurrences I've had with it were not the best nope πŸ˜…

    By the way, could you message me on signal again? I might have lost your number πŸ˜…
  • 2
    Laracasts.com is your friend
  • 2
    @rant1ng great thanks manπŸ˜€
    @linuxxx check your signal πŸ˜€
Add Comment