Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Bard Farstad's Blog:
Optimizing Apache, PHP and APC for Intel based Mac
Apr 17, 2007 @ 16:38:00

In a new blog post today, Bard Farstad follows up a previous entry on getting Apache/PHP/APC working on an Intel Mac with some stats from his new try with the latest compiler version from Intel.

Now I have gotten the new soon to be released Intel C++ compiler version 10 from the guys at Intel and things are working much better now. I used the same machine and same setup as in my last post just with the new Intel compiler installed.

The installation itself is quite simple just click through the wizard and when you are done you need to export some environment variables and set the CC compiler variable [...] then you compile Apache, PHP and APC as normal

He includes some stats as well, showing about a 2 request per second jump with the new compile (21% difference for template processing too).

tagged: optimize apache apc intel macintosh compiler statistics optimize apache apc intel macintosh compiler statistics

Link:

Bard Farstad's Blog:
Optimizing Apache, PHP and APC for Intel based Mac
Apr 17, 2007 @ 16:38:00

In a new blog post today, Bard Farstad follows up a previous entry on getting Apache/PHP/APC working on an Intel Mac with some stats from his new try with the latest compiler version from Intel.

Now I have gotten the new soon to be released Intel C++ compiler version 10 from the guys at Intel and things are working much better now. I used the same machine and same setup as in my last post just with the new Intel compiler installed.

The installation itself is quite simple just click through the wizard and when you are done you need to export some environment variables and set the CC compiler variable [...] then you compile Apache, PHP and APC as normal

He includes some stats as well, showing about a 2 request per second jump with the new compile (21% difference for template processing too).

tagged: optimize apache apc intel macintosh compiler statistics optimize apache apc intel macintosh compiler statistics

Link:

Bard Farstad's Blog:
Optimizing PHP for Intel based Mac
Oct 19, 2006 @ 14:08:00

Bard Farstad has had trouble with ez publishthis new post on his blog.

Running PHP and eZ publish on PowerPC based Macs have been extreemly slow and now that I have eZ publish running on the Intel based Mac I tried to tune it to get maximum performance out of it when running eZ publish as I was not satistied with my previous tests.

He tries three things - patching the eZ publish intsallation with the latest update, installing a patch for the PHP installation on a FreeBSD machine, and finally trying out the ICC compiler for OS X and see if it helped (it didn't). Unfortunately, he's still looking for a cure for his Mac/PHP woes and would love some input from anyone out there noticing the same issue.

tagged: optimize intel macintosh mac ezpublish patch update optimize intel macintosh mac ezpublish patch update

Link:

Bard Farstad's Blog:
Optimizing PHP for Intel based Mac
Oct 19, 2006 @ 14:08:00

Bard Farstad has had trouble with ez publishthis new post on his blog.

Running PHP and eZ publish on PowerPC based Macs have been extreemly slow and now that I have eZ publish running on the Intel based Mac I tried to tune it to get maximum performance out of it when running eZ publish as I was not satistied with my previous tests.

He tries three things - patching the eZ publish intsallation with the latest update, installing a patch for the PHP installation on a FreeBSD machine, and finally trying out the ICC compiler for OS X and see if it helped (it didn't). Unfortunately, he's still looking for a cure for his Mac/PHP woes and would love some input from anyone out there noticing the same issue.

tagged: optimize intel macintosh mac ezpublish patch update optimize intel macintosh mac ezpublish patch update

Link:

PHPMac.com:
XAMPP 0.5 on Intel Macs
Oct 10, 2006 @ 12:11:07

PHPMac.com has a quick new tutorial posted today showing Mac developers out there how to get the Xampp pakcage on their Intel-based system.

Xampp makes things easy - as easy as:

  • Download/install
  • change the httpd.conf
  • sudo into the root account
  • start up the application with a single command

You can get complete details for this package (as well as packages for other platforms) from the Xampp website.

tagged: xampp package install intel macintosh configure sudo xampp package install intel macintosh configure sudo

Link:

PHPMac.com:
XAMPP 0.5 on Intel Macs
Oct 10, 2006 @ 12:11:07

PHPMac.com has a quick new tutorial posted today showing Mac developers out there how to get the Xampp pakcage on their Intel-based system.

Xampp makes things easy - as easy as:

  • Download/install
  • change the httpd.conf
  • sudo into the root account
  • start up the application with a single command

You can get complete details for this package (as well as packages for other platforms) from the Xampp website.

tagged: xampp package install intel macintosh configure sudo xampp package install intel macintosh configure sudo

Link:

Ryan Malesevich's Blog:
iTunes Stats for Macintosh with PHP & MySQL Part 2
Aug 14, 2006 @ 15:55:41

Ryan Malesevich is back today with part two of his "iTunes Stats for Macintosh with PHP and MySQL" series, building on the groundwork laid in part one.

As promised I'm back again the second and should be the last part for the iTunes stats with PHP & MySQL. In the previous section I covered how to get your iTunes information from iTunes into a MySQL database. Since I didn't get any questions about it I can either assume that no one cares or no one had any troubles.

This part is not exclusive to a Mac, you can write your PHP scripts with any operating system that you want. So if you're not on a Mac but has a friend who does then you can send your friend your iTunes XML file and your friend can export the data for you. Let’s get stated shall we.

Since in the first part of the series, he showed how to put information into the database, he shows in this second part how to get things back out. There's code samples for connecting to the database, the SQL to grab all of the data out from the table and echo out the information inside. He also links to his stats as an example.

tagged: itunes stats part2 macintosh display database play count itunes stats part2 macintosh display database play count

Link:

Ryan Malesevich's Blog:
iTunes Stats for Macintosh with PHP & MySQL Part 2
Aug 14, 2006 @ 15:55:41

Ryan Malesevich is back today with part two of his "iTunes Stats for Macintosh with PHP and MySQL" series, building on the groundwork laid in part one.

As promised I'm back again the second and should be the last part for the iTunes stats with PHP & MySQL. In the previous section I covered how to get your iTunes information from iTunes into a MySQL database. Since I didn't get any questions about it I can either assume that no one cares or no one had any troubles.

This part is not exclusive to a Mac, you can write your PHP scripts with any operating system that you want. So if you're not on a Mac but has a friend who does then you can send your friend your iTunes XML file and your friend can export the data for you. Let’s get stated shall we.

Since in the first part of the series, he showed how to put information into the database, he shows in this second part how to get things back out. There's code samples for connecting to the database, the SQL to grab all of the data out from the table and echo out the information inside. He also links to his stats as an example.

tagged: itunes stats part2 macintosh display database play count itunes stats part2 macintosh display database play count

Link:

Bård Farstad's Blog:
Compiling Apache and PHP on Mac OS X
Apr 14, 2006 @ 23:15:32

In this new blog entry, Bård Farstad shares what he, a recent "switcher" to the OS X operating system, had to do to get Apache and PHP completely installed on his system.

Since my recent move to the Mac running OS X I have learnt some new stuff about PHP and Apache the hard way. OS X is shipped with Apache and PHP by default and if you compile Apache and PHP like you normally do under Linux you quickly get surprised.

HE notes that the default install of Aapche/PHP on an OS X system is a bit different than on others - the entire isntallation isn't in the directory defined by the "prefix" parameter. He worked around this kind of setup, and includes the configure lines in the post as an example.

tagged: apache osx macintosh mac compile default apache osx macintosh mac compile default

Link:

Bård Farstad's Blog:
Compiling Apache and PHP on Mac OS X
Apr 14, 2006 @ 23:15:32

In this new blog entry, Bård Farstad shares what he, a recent "switcher" to the OS X operating system, had to do to get Apache and PHP completely installed on his system.

Since my recent move to the Mac running OS X I have learnt some new stuff about PHP and Apache the hard way. OS X is shipped with Apache and PHP by default and if you compile Apache and PHP like you normally do under Linux you quickly get surprised.

HE notes that the default install of Aapche/PHP on an OS X system is a bit different than on others - the entire isntallation isn't in the directory defined by the "prefix" parameter. He worked around this kind of setup, and includes the configure lines in the post as an example.

tagged: apache osx macintosh mac compile default apache osx macintosh mac compile default

Link:


Trending Topics: