Questions on making packages, please help, thanks!

Discussion in 'Mac Programming' started by msharp, Apr 14, 2006.

  1. msharp macrumors regular


    Jul 10, 2004
    Hello everyone!

    I'm making an mpkg installer(using package maker) for my application these days. My application uses PHP 5 so I want to install PHP5 along with my app.

    I've tried to include the PHP5 package into my application installer, and the installer installed PHP5, but the php seemed to be not working at all(tested in the browser).

    Any help?

    I've added the codes to httpd.conf
    the Apache 1.3 bundled with Mac OS X is restarted after the installation, using scripts.

    thanks everyone!

    One more question:
    How can I add a dock icon after the installation?
  2. Aztechian macrumors member

    Mar 2, 2006
    There is a whole lot going on during installs using configure/make... be sure that you are getting everything - and in the right places.

    try make -n install to get an idea of what will be done. Also, the CLI version of packagemaker has a "snapshot" option that could be useful. I haven't been brave enough to try snapshotting the root directory.

    Finally, see for somebody who has already made the php packages. Perhaps you can dissassemble thos packages to see what is going on.

Share This Page