If I write PHP (php5 if it matters) on Windows and Apache is the same as writing PHP on another OS and Apache? I do not mean things like file paths. Thank you.
Mostly, but you have a few things to watch out:
/. Under Windows it is \, but PHP translates / automatically. Either use the DIRECTORY_SEPARATOR constant or always use /.exec() or any other similar function, the commands won't be the same. Refer to your system documentation.About Apache:
You might hit some snags at some point in one server uses PHP as a module and the other one uses it via fcgi. Two Apache configured the same way will behave the same way.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With