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

Agave Group Design:
Running PHP and mySQL on OS X - missing php.ini and mySQL sockets
Feb 22, 2006 @ 13:06:10

On the blog of the Agave Group today, there's this new post showing how to correct an issue that a PHP/MySQL install has with the OS X version 10.4.

I recently upgraded my mac to OS 10.4. Overall I've been pleased. Recently I decided to fire up PHP and mySQL and ran into some trouble.

Everything was moving along nicely - until I tried to connect to my database from a PHP page. To make a (really) long story short, a bunch of research revealed that since OS 10.4, the PHP install tries to connect to mySQL via the socket: /var/mysql/mysql.sock, but mySQL uses /tmp/mysql.sock. So they won't talk to one another. The trick is to change your php.ini to point to /tmp/mysql.sock.

Included is also a mini-guide to getting PHP working on OS X, and how he solved his problem (where to find the php.ini and change the value it needed).

tagged: running OS X 10.4 mysql php.ini mysql.sock location running OS X 10.4 mysql php.ini mysql.sock location

Link:

Agave Group Design:
Running PHP and mySQL on OS X - missing php.ini and mySQL sockets
Feb 22, 2006 @ 13:06:10

On the blog of the Agave Group today, there's this new post showing how to correct an issue that a PHP/MySQL install has with the OS X version 10.4.

I recently upgraded my mac to OS 10.4. Overall I've been pleased. Recently I decided to fire up PHP and mySQL and ran into some trouble.

Everything was moving along nicely - until I tried to connect to my database from a PHP page. To make a (really) long story short, a bunch of research revealed that since OS 10.4, the PHP install tries to connect to mySQL via the socket: /var/mysql/mysql.sock, but mySQL uses /tmp/mysql.sock. So they won't talk to one another. The trick is to change your php.ini to point to /tmp/mysql.sock.

Included is also a mini-guide to getting PHP working on OS X, and how he solved his problem (where to find the php.ini and change the value it needed).

tagged: running OS X 10.4 mysql php.ini mysql.sock location running OS X 10.4 mysql php.ini mysql.sock location

Link:

PHPMac.com:
Building and Installing Apache 2.2.0 and PHP 5.1.2 on Mac OS X 10.4.4
Jan 16, 2006 @ 12:51:07

In this latest post on PHPMac.com today, there's a step-by-step guide on how to install Apache 2.2.0 and PHP 5.1.2 together on one of the latest versions of Mac OS X - 10.4.4.

For anyone that has been wishing to switch to Apache 2 on their Mac, this is the time to do it. PHP 5 has also recently been updated to 5.1.2 and this tutorial describes in detail, the best method to both build and install these programmes on your Mac.

Since Apple don't include Apache 2 with OS X yet I have felt it better to keep Apache 2 in its own directory, and to keep PHP for Apache 2, etc. confined the that directory too.

They tagged: install 5.1.2 apache 2.2.0 mac os x install 5.1.2 apache 2.2.0 mac os x

Link:


PHPMac.com:
Building and Installing Apache 2.2.0 and PHP 5.1.2 on Mac OS X 10.4.4
Jan 16, 2006 @ 12:51:07

In this latest post on PHPMac.com today, there's a step-by-step guide on how to install Apache 2.2.0 and PHP 5.1.2 together on one of the latest versions of Mac OS X - 10.4.4.

For anyone that has been wishing to switch to Apache 2 on their Mac, this is the time to do it. PHP 5 has also recently been updated to 5.1.2 and this tutorial describes in detail, the best method to both build and install these programmes on your Mac.

Since Apple don't include Apache 2 with OS X yet I have felt it better to keep Apache 2 in its own directory, and to keep PHP for Apache 2, etc. confined the that directory too.

They tagged: install 5.1.2 apache 2.2.0 mac os x install 5.1.2 apache 2.2.0 mac os x

Link:


Christian Stocker's Blog:
PHP 5, OS X, fink and iconv
Jan 06, 2006 @ 13:23:47

Christian Stocker has a quick new post with a solution for those Mac users out there that would like to use the iconv extension with fink.

If you want to get the iconv extension properly running with PHP 5 and fink on OS X, you need the following configure option

--with-iconv=/sw/

and then it should work.

Hope that helps others, too.

And, apparently, it does - given the one comment below it so far that has a positive response...

tagged: fink iconv extension 5 OS X fink iconv extension 5 OS X

Link:

Christian Stocker's Blog:
PHP 5, OS X, fink and iconv
Jan 06, 2006 @ 13:23:47

Christian Stocker has a quick new post with a solution for those Mac users out there that would like to use the iconv extension with fink.

If you want to get the iconv extension properly running with PHP 5 and fink on OS X, you need the following configure option

--with-iconv=/sw/

and then it should work.

Hope that helps others, too.

And, apparently, it does - given the one comment below it so far that has a positive response...

tagged: fink iconv extension 5 OS X fink iconv extension 5 OS X

Link:

Mike Naberezny's Blog:
Optimizing Zend Studio on Mac OS X
Dec 14, 2005 @ 13:31:57

In one of his latest posts today, Mike Naberezny talks about how he optimized Zend Studio on his Mac OS X installation.

Recently, I purchased a Mac mini and started using it as my home computer. Overall, it is a pretty nice little machine but its 1.42 GHz G4 processor isn’t the fastest thing out there. On some larger applications, such as Zend Studio, it is a little sluggish. Fortunately, there are two things that you can do with Zend Studio to get an immediate performance increase.

The first of the two is simply changing an option for the time on code completion. The other, however, it a bit more detailed - it requires you to assign more memory to the application by going through some of the system folders...

tagged: zend studio os x mac performance zend studio os x mac performance

Link:

Mike Naberezny's Blog:
Optimizing Zend Studio on Mac OS X
Dec 14, 2005 @ 13:31:57

In one of his latest posts today, Mike Naberezny talks about how he optimized Zend Studio on his Mac OS X installation.

Recently, I purchased a Mac mini and started using it as my home computer. Overall, it is a pretty nice little machine but its 1.42 GHz G4 processor isn’t the fastest thing out there. On some larger applications, such as Zend Studio, it is a little sluggish. Fortunately, there are two things that you can do with Zend Studio to get an immediate performance increase.

The first of the two is simply changing an option for the time on code completion. The other, however, it a bit more detailed - it requires you to assign more memory to the application by going through some of the system folders...

tagged: zend studio os x mac performance zend studio os x mac performance

Link:

PHPMac.com:
Building and Installing Apache 2 and PHP 5.1.1 on Mac OS X 10.4.3 Tiger
Nov 30, 2005 @ 13:11:52

On PHPMac.com today, they have this new tutorial posted to help you, the OS X (Tiger) user to get Apache 2 and PHP 5.1.1 installed on your system.

For anyone that has been wishing to switch to Apache 2 on their Mac, this is the time to do it. PHP 5 has also recently been updated to 5.1.1 and this tutorial describes in detail, the best method to both build and install these programmes on your Mac.

Since Apple don't include Apache 2 with OS X yet I have felt it better to keep Apache 2 in its own directory, and to keep PHP for Apache 2, etc. confined the that directory too.

As usual, they give you all of the commands and information to get it all unpacked, placed in the right locations, and configured for your setup. There are also a few "frequent issues" down near the end of the tutorial to watch out for during your process...

tagged: mac OS X Tiger apache 2 5.1.1 mac OS X Tiger apache 2 5.1.1

Link:

PHPMac.com:
Building and Installing Apache 2 and PHP 5.1.1 on Mac OS X 10.4.3 Tiger
Nov 30, 2005 @ 13:11:52

On PHPMac.com today, they have this new tutorial posted to help you, the OS X (Tiger) user to get Apache 2 and PHP 5.1.1 installed on your system.

For anyone that has been wishing to switch to Apache 2 on their Mac, this is the time to do it. PHP 5 has also recently been updated to 5.1.1 and this tutorial describes in detail, the best method to both build and install these programmes on your Mac.

Since Apple don't include Apache 2 with OS X yet I have felt it better to keep Apache 2 in its own directory, and to keep PHP for Apache 2, etc. confined the that directory too.

As usual, they give you all of the commands and information to get it all unpacked, placed in the right locations, and configured for your setup. There are also a few "frequent issues" down near the end of the tutorial to watch out for during your process...

tagged: mac OS X Tiger apache 2 5.1.1 mac OS X Tiger apache 2 5.1.1

Link:


Trending Topics: