Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

msharp

macrumors regular
Original poster
Jul 10, 2004
212
9
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?
 

Aztechian

macrumors member
Mar 2, 2006
37
0
Colorado
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 http://www.entropy.ch/software/macosx/php/ for somebody who has already made the php packages. Perhaps you can dissassemble thos packages to see what is going on.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.