Début du message réexpédié :
De : N_Ox <[EMAIL PROTECTED]>
Date : 19 juin 2007 20:53:35 HAEC
À : Simon Ruderich <[EMAIL PROTECTED]>
Objet : Rép : Problem installing php5
Hi,
I think you are calling the OS X apachectl instead of the MacPorts'
one.
Try `which apachectl` to check that.
MacPorts apache bin path is /opt/local/apache/bin, you should add
that to your PATH.
On a side note, you should use launchctl apache service instead of
calling apachectl:
sudo launchctl load -w /Library/LaunchDaemons/
org.macports.apache.plist
For more information, `man launchctl`.
Le 19 juin 07 à 18:33, Simon Ruderich a écrit :
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Hi,
I'm trying to install php5. First I installed "apache" and then "php5
+apache +pear". But this doesn't work. After doing all the given
steps
If this is your first install, you might want
* enable php in apache :
cd /opt/local/libexec/apache
/opt/local/apache/bin/apxs -a -e -n "php5" libphp5.so
* copy /opt/local/etc/php.ini-dist to /opt/local/etc/php.ini
I get a warning from apache when I try to use "sudo apachectl start"
Syntax error on line 237 of /opt/local/etc/apache/httpd.conf:
API module structure `php5_module' in file
/opt/local/libexec/apache/libphp5.so is garbled - perhaps this is
not an
Apache module DSO?
/opt/local/sbin/apachectl start: httpd could not be started
What am I doing wrong?
But I noticed something which could be a problem. In the install
instructions (I posted them at the top) it says I should use this
path
for apxs: /opt/local/apache/bin/apxs, but apxs is in /opt/local/
sbin/apxs.
Thanks for your help,
Simon
- --
+ privacy is necessary
+ using http://gnupg.org
+ public key id: 0x6115F804EFB33229
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
iD8DBQFGeAVlYRX4BO+zMikRCocFAKCEKLXnfnKvjeNbRpPF7/JY+tmSmgCgtvOW
L/f7geGgoRod+QJujYBFhEU=
=oCXZ
-----END PGP SIGNATURE-----
--
Anthony Ramine, a lazy french student.
[EMAIL PROTECTED]
_______________________________________________
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo/macports-users