Results 1 to 2 of 2

Thread: run same version of PHP in Apache and NginX

  1. #1
    Join Date
    Jul 2011
    Location
    Tampere, Finland
    Beans
    5
    Distro
    Ubuntu 11.04 Natty Narwhal

    run same version of PHP in Apache and NginX

    sorry if I asked this question in wrong forum, as part of open source I hope some experienced people even in this forum can help me.

    I run LAMP in Ubuntu 11.04 but recently I am planning to switch to NginX instead of Apache. I know both can run in same machine with some tweaks with the configuration, my query is can I use the same PHP which was installed with LAMP to run in NginX server. Installing two versions of PHP may help but it doesn't look appealing to me, as I'd prefer to use the latest version. MySQL is not a problem cause I am planning to upgrade to MySQLi for new project, but I am just wondering how to configure same version of PHP to run in both web servers.

  2. #2
    Join Date
    Apr 2006
    Location
    Montana
    Beans
    Hidden!
    Distro
    Kubuntu Development Release

    Re: run same version of PHP in Apache and NginX

    Yes, you would use the same version of php with both apache and nginx
    There are two mistakes one can make along the road to truth...not going all the way, and not starting.
    --Prince Gautama Siddharta

    #ubuntuforums web interface

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •