Re: php5-oracle (was: Port error, and php5+oracle issue)

2010-01-06 Thread Celso Coutinho
I installed this port but I'm having difficulties with this configuration. I followed this tutorial, after the section Configure Apache and php5: http://2tbsp.com/content/install_apache_2_and_php_5_macports But when I type localhost in the browser, it runs the code I have in index.php on the

Re: php5-oracle (was: Port error, and php5+oracle issue)

2010-01-06 Thread Ryan Schmidt
On Jan 6, 2010, at 09:35, Celso Coutinho wrote: I installed this port but I'm having difficulties with this configuration. I followed this tutorial, after the section Configure Apache and php5: http://2tbsp.com/content/install_apache_2_and_php_5_macports But when I type localhost in the

Re: php5-oracle (was: Port error, and php5+oracle issue)

2010-01-06 Thread Celso Coutinho
I edited this file /opt/local/apache2/conf/httpd.conf changing the line DocumentRoot /opt/local/apache2/htdocs to DocumentRoot /Users/binte/Sites I also changed the directory directive to the same path... And yes, I restarted Apache! 2010/1/6 Ryan Schmidt ryandes...@macports.org On Jan 6,

Re: php5-oracle (was: Port error, and php5+oracle issue)

2010-01-06 Thread Ryan Schmidt
On Jan 6, 2010, at 10:40, Celso Coutinho wrote: I edited this file /opt/local/apache2/conf/httpd.conf changing the line DocumentRoot /opt/local/apache2/htdocs to DocumentRoot /Users/binte/Sites I also changed the directory directive to the same path... And yes, I restarted Apache!

Re: php5-oracle (was: Port error, and php5+oracle issue)

2010-01-06 Thread Celso Coutinho
It's already without the angle brackets, that was a copy paste mistake... I rebooted and it still uses the old path! 2010/1/6 Ryan Schmidt ryandes...@macports.org On Jan 6, 2010, at 10:40, Celso Coutinho wrote: I edited this file /opt/local/apache2/conf/httpd.conf changing the line

Re: php5-oracle (was: Port error, and php5+oracle issue)

2010-01-06 Thread Ryan Schmidt
On Jan 6, 2010, at 11:38, Celso Coutinho wrote: It's already without the angle brackets, that was a copy paste mistake... I rebooted and it still uses the old path! If you look at ps axww | grep httpd in the Terminal, is /opt/local/apache2/bin/httpd running, or is it a different httpd, for

Re: php5-oracle (was: Port error, and php5+oracle issue)

2010-01-06 Thread Celso Coutinho
When I placed that command on a shell, I got this: 22 ?? Ss 0:00.99 /usr/sbin/httpd -D FOREGROUND 76 ?? S 0:00.00 /usr/sbin/httpd -D FOREGROUND 115 ?? Ss 0:00.77 /opt/local/apache2/bin/httpd -k start 119 ?? S 0:00.00 /opt/local/apache2/bin/httpd -k start

Re: php5-oracle (was: Port error, and php5+oracle issue)

2010-01-06 Thread Ryan Schmidt
On Jan 6, 2010, at 20:29, Celso Coutinho wrote: If you look at ps axww | grep httpd in the Terminal, is /opt/local/apache2/bin/httpd running, or is it a different httpd, for example /usr/sbin/httpd? If it really is the MacPorts httpd that's running, could you attach the complete

Re: php5-oracle (was: Port error, and php5+oracle issue)

2010-01-06 Thread Celso Coutinho
This may look like a noob question, but how do I turn Macports apache back on? 2010/1/7 Ryan Schmidt ryandes...@macports.org On Jan 6, 2010, at 20:29, Celso Coutinho wrote: If you look at ps axww | grep httpd in the Terminal, is /opt/local/apache2/bin/httpd running, or is it a different

Re: php5-oracle (was: Port error, and php5+oracle issue)

2010-01-06 Thread Celso Coutinho
It worked... I typed localhost on the browser and it now goes to where I want, but It can't connect to the Oracle database! I got this message: *Warning*: oci_connect() [function.oci-connecthttp://localhost/function.oci-connect]: OCIEnvNlsCreate() failed. There is something wrong with your

Re: php5-oracle (was: Port error, and php5+oracle issue)

2010-01-05 Thread Ryan Schmidt
On Jan 5, 2010, at 14:02, Celso Coutinho wrote: I'm having enormous issues while trying to have php accessing an oracle database. I know there's a port that does what I want (php5-oracle), but I wonder: the only thing I have to do, is to install that port? I tried pretty much everything

Re: php5-oracle (was: Port error, and php5+oracle issue)

2010-01-05 Thread Celso Coutinho
I'm getting this error when I try to install php5+oracle: bash-3.2# port install php5-oracle --- Computing dependencies for php5-oracle --- Verifying checksum(s) for oracle-instantclient Error: Checksum (md5) mismatch for instantclient-basic-10.2.0.4.0-macosx-x64.zip Error: Checksum (sha1)