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-connect<http://localhost/function.oci-connect>]: OCIEnvNlsCreate() failed. There is something wrong with your system - please check that DYLD_LIBRARY_PATH includes the directory with Oracle Instant Client libraries in */Users/binte/Sites/testeOracle.php* on line *7* When I type in the terminal: bash-3.2# echo $DYLD_LIBRARY_PATH I got nothing! I guess I add to export that variable to the path where oci8.so is. Am I right? 2010/1/7 Celso Coutinho <[email protected]> > This may look like a noob question, but how do I turn Macports apache back > on? > > 2010/1/7 Ryan Schmidt <[email protected]> > > >> 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 httpd.conf? (Private mail is fine if you don't >> want your config archived on the list.) >> > >> > 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 >> > 120 ?? S 0:00.00 /opt/local/apache2/bin/httpd -k start >> > 121 ?? S 0:00.00 /opt/local/apache2/bin/httpd -k start >> > 122 ?? S 0:00.00 /opt/local/apache2/bin/httpd -k start >> > 123 ?? S 0:00.00 /opt/local/apache2/bin/httpd -k start >> > 1473 s000 S+ 0:00.00 grep httpd >> > >> > I am unable to unravel the secrets of this output... >> >> Looks like you have both Apple's apache an MacPorts apache running at the >> same time. Maybe on different ports? Maybe competing for the same port? >> Assuming you don't really want that, stop the MacPorts apache, stop the >> Apple apache (by turning off System Preferences > Sharing > Personal Web >> Sharing), then turn MacPorts apache back on and see what happens. >> >> >> >
_______________________________________________ macports-users mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
