i've installed php5 with the command :
sudo port install php5 +apache2 +mysql5 +sqlite +pear
afterwards i did :
$ cd /opt/local/apache2/modules
$ sudo /opt/local/apache2/bin/apxs -a -e -n php5 libphp5.so
$ sudo cp /opt/local/etc/php.ini-dist /opt/local/etc/php.ini
i've added also the following
On May 2, 2008, at 10:15 AM, Yvon Thoraval wrote:
LoadModule php5_module modules/libphp5.so
and between IfModule mime_module and /IfModule :
AddType text/html .php
but when loading my info.php file the browser want to download it
instead of viewing it.
You might also try
On 2008-05-02 , at 10:37 , William Siegrist wrote:
LoadModule php5_module modules/libphp5.so
and between IfModule mime_module and /IfModule :
AddType text/html .php
but when loading my info.php file the browser want to download it
instead of viewing it.
You might also try
On Apr 25, 2007, at 18:18, Thoraval Yvon wrote:
On Wed, 25 Apr 2007 21:51:47 +0100
Mark Hattam wrote:
In your httpd.conf file have you got the Server Root set correctly?
ServerRoot /opt/local/apache2
If putting the full (absolute) path fixes php5
module, then it probably means that Apache
On Thu, 26 Apr 2007 04:31:38 -0500
Ryan Schmidt [EMAIL PROTECTED] wrote:
LoadModule php5_module modules/libphp5.so should be sufficient. It
works fine for me.
YES i agree with you but...
Are you *sure* ServerRoot is set correctly? Perhaps you have defined
it twice? Perhaps not even in
Le 24 avr. 07 à 11:13, Ryan Schmidt a écrit :
Sounds like you're almost there. Let me see what I have in my
apache2 httpd.conf, which is working fine with php5.
Near the other LoadModule directives at the top, you'll need this:
LoadModule php5_module modules/libphp5.so
NO that was the
In your httpd.conf file have you got the Server Root set correctly?
ServerRoot /opt/local/apache2
If putting the full (absolute) path fixes php5
module, then it probably means that Apache isn't
find any of its other modules either ...
Mark
--
At 12:53 +0200 25/4/07, Yvon Thoraval wrote:
On Apr 24, 2007, at 03:37, Yvon Thoraval wrote:
i've installed Apache2 by :
$ sudo port install php5 +apache2 +mysql5
then, i did :
stop Apple's default Apache ;
chane firewall setup following http://edu.ca.edu/article72.html
in particular,adding :
http://edu.ca.edu/IMG/png/coupe-feu
Le 24 avr. 07 à 11:13, Ryan Schmidt a écrit :
Sounds like you're almost there. Let me see what I have in my
apache2 httpd.conf, which is working fine with php5.
Near the other LoadModule directives at the top, you'll need this:
LoadModule php5_module modules/libphp5.so
obviously i've
On Mar 30, 2007, at 22:07, Tom Brice wrote:
After a little reading I see that PHP5 comes with sqlite3. The
only conclusion that I can come to is that something is linking to
the supplied sqlite3 rather than MacPorts version and the supplied
sqlite3 fails on OS X 10.3.9 for some reason.
On Mar 31, 2007, at 5:28 AM, Ryan Schmidt wrote:
I have committed a new revision of the php5 port which disables
standard and pdo sqlite support, and adds a new +sqlite variant for
those who want to reenable it:
http://trac.macosforge.org/projects/macports/changeset/23410
This seems to
to come back to this today. I updated the MacPorts
1.4.0 and selfupdate/synced then reinstalled everything from
scratch. Unfortunately I had the same results as before, apache2
working without mod_php... no joy with php5/apache2.
I too have apache2 linked to the proper macports sqlite3
On Mar 14, 2007, at 9:59 PM, Eric Cronin wrote:
As another datapoint, I got bit with this last night after
rebooting a 10.3.9 server after applying the security update. My
apache2 was (and is) linked against the MacPorts sqlite:
/opt/local/lib/libsqlite3.0.dylib (compatibility
on
startup and served pages as expected.
$ sudo port install php5 +apache2 +darwin_7 +pear +mysql5
After this completed with no errors I get in error_log when trying
to start apache (/opt/local/apache2/bin/apachectl start):
dyld: /opt/local/apache2/bin/httpd Undefined symbols
yourself.
MacPorts is here to handle all this for you.
at this point I verified that Apache was functional. No errors on
startup and served pages as expected.
$ sudo port install php5 +apache2 +darwin_7 +pear +mysql5
After this completed with no errors I get in error_log when trying
is what I did on a new (empty) install of MacPorts:
$ sudo port install sqlite3
$ sudo port isntall libiconv +darwin_7
$ sudo port install apache2 +darwin_7
at this point I verified that Apache was functional. No errors on
startup and served pages as expected.
$ sudo port install php5 +apache2
On Jan 27, 2007, at 04:55, Mark Duling wrote:
Yes, I have /usr/lib/libsqlite3.0.dylib on my system. It is clean, no
manually installed software or anything removed.
I was about to say to heck with it and add sqlite3 as a dependency
of php5 when I read that the php 5 source is meant to
version 3.8.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0,
current version 88.1.7)
Note that sqlite has nothing to do with mysql.
So, both php5 and apache2 require sqlite3. So the question from my
last mail remains: Is /usr/lib/libsqlite3.0.dylib in existence
18 matches
Mail list logo